Spread the Word

Site Feed



Powered by FeedBlitz

There was an error in this gadget

Subscribe with ...

  • Add this blog to my Technorati Favorites!
  • Subscribe in Bloglines
  • Subscribe in NewsGator Online
  • Subscribe in Rojo
  • Add Random 

Bytes (WebLens Blog) to Newsburst from CNET News.com
  • Add to Google
  • Add to My AOL
  • Subscribe in FeedLounge
  • Add to netvibes

Translate This Post

Burn a Feed

Ping the World

Thursday, January 12, 2006

Blogger Template Hacks: Auto Embed Links

A couple of days ago, I wrote about some of the changes I have been making to the Blogger template. One of these took minor effort but has already produced big results.

The Blogger default template is designed to generate basic information for each item you post: title, the post itself, date, permalink, and various other footer-type fields. Blogger lets you insert images and format text easily enough, but that's about it.

One of my goals for this blog is to support WebLens and to introduce people to the resources there, and I was quickly getting tired of hand-coding links. Fortunately, it's easy to embed a link in the template that gets inserted automatically into each new post. You see the result at the top of this post, and the WebLens stats are already confirming that it's working.

Your auto-content could be anything: a link, a photo, a small piece of text. I used a web badge in this case, made with Luca Zappa's Brilliant Button Maker.

The key is to put the code in the right place in the template. For it to appear below the date, place your code after the <⁄BlogDateHeader> tag.

This little tweak creates all kinds of possibilities, especially for anyone concerned with blog traffic or site promotion. Hope you find this helpful. Stay tuned for another template hack later today. Even better, subscribe to my feed and get it automatically.

2 comments:

arun said...

Can we go for link exchange? I am a new blogger and growing consistently.
you can check
alexa ranking
of my blog.

Pam said...

Hi Arun,
There's not a real tight fit between the subject matter of our respective blogs, so I'd suggest looking into Blogrolling.com or other similar services.