blogger adsense inside fullposts

Discussion in 'Blogging' started by vurdlak, Feb 7, 2006.

  1. #1
    anyone knows how can i implement adsense to my fullposts on blogger?

    so that add shows only if you clik on article under read more?
     
    vurdlak, Feb 7, 2006 IP
  2. Jarodboy

    Jarodboy Prominent Member

    Messages:
    7,233
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    330
    #2
    Is it possible the use the Read More with blogger??
    I had no idea :|
     
    Jarodboy, Feb 7, 2006 IP
  3. vurdlak

    vurdlak Active Member

    Messages:
    119
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    yes go to blogger help: help.blogger.com/bin/answer.py?answer=898&query=fullpost&topic=0&type=f
    it has disatvantage that it always gives you read more link, but you can show it or hide it (exmple: lordofnet.blogspot.com) one post has it others dont

    if you use fullpost tag twice, it doesnt show ;)
     
    vurdlak, Feb 7, 2006 IP
    Jarodboy likes this.
  4. miked

    miked Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Place the adsense code inside of the <ItemPage> tags, like so:
    <ItemPage>
    google script....
    </ItemPage>

    You can see it implemented on my games on the web blog (see sig). When you click on the read more link, you go to the item page, so this should work.
     
    miked, Feb 7, 2006 IP
  5. Jarodboy

    Jarodboy Prominent Member

    Messages:
    7,233
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    330
    #5
    Thanks mate ;)
     
    Jarodboy, Feb 7, 2006 IP
  6. miked

    miked Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No problem. I had the same question a short while ago and someone had to help me find the solution.
     
    miked, Feb 8, 2006 IP
  7. vurdlak

    vurdlak Active Member

    Messages:
    119
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #7
    I tried with item page insertion but it doesnt work, i have this in the beginning of template:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
      <title><$BlogPageTitle$></title>
    
      <$BlogMetaData$>
    
      <style type="text/css">
    
    <MainOrArchivePage> 
       span.fullpost {display:none;}
    </MainOrArchivePage>
    
    [COLOR="DarkRed"]<ItemPage> 
       span.fullpost {display:inline;} 
    </ItemPage>[/COLOR]
    Code (markup):
    but when i insert adsense under span.fullpost inside itempage it doesnt show, just messes up my page when i clikc on read more??

    any soultions??
     
    vurdlak, Feb 8, 2006 IP
  8. miked

    miked Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You don't want to put your adsense code under the span.fullpost code. You want to put it where you want your code to appear. If you're asking me how to insert the adsense code into a post at blogger, I haven't seen it done, yet.

    If you want to insert it between the title of your post and your blog, then put the google code there, but just put it inside itempage tags.
     
    miked, Feb 8, 2006 IP
  9. vurdlak

    vurdlak Active Member

    Messages:
    119
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #9
    yes i ment inside the post (or not acctualy since yu put it in template)
    but not on main pae, but when you click permalink....
     
    vurdlak, Feb 8, 2006 IP
  10. ghosthost

    ghosthost Peon

    Messages:
    524
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    insert this code between <style> and </style> :

    <MainOrArchivePage>
    span.fullpost {display:none;}
    </MainOrArchivePage>

    <ItemPage>
    span.fullpost {display:inline;}
    </ItemPage>


    then

    put this code after <$BlogItemBody> :

    <MainOrArchivePage>
    <a href="<$BlogItemPermalinkURL$>">Read more!</a>
    </MainOrArchivePage>


    so, every time you post, put :
    <span class="fullpost"> the rest of article </span>
     
    ghosthost, Mar 4, 2006 IP
  11. Emperor

    Emperor Guest

    Messages:
    4,821
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Do you want to do something like I have here on my blog.
    www.bloggerSmart.blogspot.com

    Don’t forget that you may only have three Adsence ads per page. So you’ll have to do something like I did.
     
    Emperor, Mar 5, 2006 IP