Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Technical tips on blogging

  1. #21
    just me duncan drennan's Avatar
    Join Date
    Jun 2006
    Location
    Cape Town
    Posts
    2,642
    Thanks
    119
    Thanked 94 Times in 77 Posts
    Yay! Blogger has finally added a blog.pageName tag so that you can have better SEO by placing your posts name before your blog name in your page titles (without any crazy hacks).

    You can do something like this,

    Code:
      <b:if cond='data:blog.pageType == &quot;item&quot;'>
        <title><data:blog.pageName/> - YOUR BLOG NAME</title>
      <b:else/>
        <b:if cond='data:blog.pageType == &quot;archive&quot;'>
          <title>Archives <data:blog.pageName/> - YOUR BLOGS NAME</title>
          <meta CONTENT='Archives of YOUR BLOGS NAME.' name='Description'/>
        <b:else/>
          <title><data:blog.pageTitle/></title>
          <meta CONTENT='YOUR DESCRIPTION META CONTENT' name='Description'/>
        </b:if>
      </b:if>
    Replace the <title><data:blog.pageTitle/></title> code with this code above, and change the names to your blog's names. You can add (and take away) whatever you like.

    With blogger and 'item' is a single post, 'archive' are archive pages. In the example above it always falls through to the default Blog Name page title.

    The example above places post pages title first, followed by the blog's name. It also places different meta content description tags on the different types of pages.

    @Chatmaster: is it better to have no description meta content, or lots of duplicate description meta content across pages?
    Last edited by duncan drennan; 13-May-08 at 08:31 PM. Reason: made a whoops in the code...
    [SIGPIC]Engineer Simplicity[/SIGPIC]
    Turn ideas into products | The Art of Engineering blog

  2. Thanks given for this post:

    Dave A (13-May-08)

  3. #22
    Site Caretaker Dave A's Avatar
    Join Date
    May 2006
    Location
    Durban, South Africa
    Posts
    22,648
    Thanks
    3,304
    Thanked 2,676 Times in 2,257 Posts
    Blog Entries
    12
    It seems a little ironic that one needs to do SEO mods on Blogger
    Quote Originally Posted by duncan drennan View Post
    is it better to have no description meta content, or lots of duplicate description meta content across pages?
    Google webmaster tools warns you of duplicate description META content, so I would think it better not to have too many repeats. I'll be interested in Chatmaster's take on this too.
    Last edited by Dave A; 13-May-08 at 09:27 PM.

  4. #23
    just me duncan drennan's Avatar
    Join Date
    Jun 2006
    Location
    Cape Town
    Posts
    2,642
    Thanks
    119
    Thanked 94 Times in 77 Posts
    Quote Originally Posted by Dave A View Post
    Google webmaster tools warns you of duplicate description META content, so I would think it better not to have too many repeats. I'll be interested in Chatmaster's take on this too.
    That is exactly the reason that I changed it to only generate the description meta content on the archive and index pages! I decided Google's webmaster info messages should be taken to heart.
    [SIGPIC]Engineer Simplicity[/SIGPIC]
    Turn ideas into products | The Art of Engineering blog

  5. #24
    Site Caretaker Dave A's Avatar
    Join Date
    May 2006
    Location
    Durban, South Africa
    Posts
    22,648
    Thanks
    3,304
    Thanked 2,676 Times in 2,257 Posts
    Blog Entries
    12
    Duncan - have you got a link to the list of Blogger data variables? There must be one for content. A little trim job and that would make a great description META generator.

    I'm working on coding something like that as a stand-alone mod for vB at the moment.

  6. #25
    just me duncan drennan's Avatar
    Join Date
    Jun 2006
    Location
    Cape Town
    Posts
    2,642
    Thanks
    119
    Thanked 94 Times in 77 Posts
    Quote Originally Posted by Dave A View Post
    Duncan - have you got a link to the list of Blogger data variables? There must be one for content. A little trim job and that would make a great description META generator.
    Unfortunately not quite as simple as that. The Layout Tags are only valid for certain parts of the page. For example, the content is only available in the blog post part of the layout. In the case of the header the only tags available are the Global and Page Header data tags.

    I don't see it as too big an issue (my SERPS are fair I think), just wondering what is best - leave it out for post pages, or just insert the generic one.
    [SIGPIC]Engineer Simplicity[/SIGPIC]
    Turn ideas into products | The Art of Engineering blog

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Telkom technical joke?
    By Dave A in forum General Business Forum
    Replies: 21
    Last Post: 02-Jun-06, 10:01 AM

Tags for this Thread

Did you like this article? Share it with your favourite social network.

Did you like this article? Share it with your favourite social network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •