Practical Web Programming

Sunday, August 05, 2007

Blogger Tag Definitions

To really customize your blogs in blogger, you should understand the tags that the Blogger engine use. In this way, you can really harness the power of Blogger and make your own Blogger templates.

Blogger tags are called meta tags, because they represent data stored in the Blogger database about your blog. For example, the tag <BlogItemAuthorEmail> is the email address of the author of a post, as stored in the Profile section.

Below is a list of the Blogger meta tags that you will find in your default Blogger template, with their explaination:

<$BlogEncoding$> - The encoding setting used in a content-type declaration

<BlogSiteFeed> - Start of site feed section
<$BlogSiteFeedUrl$> - URL of blog site feed
</BlogSiteFeed> - End of site feed section

<$BlogTitle$> - The title of the blog.
<$BlogDescription$> - The description of the blog.

<$BlogOwnerFirstName$> - Blog owner firstname
<$BlogOwnerLastName$> - Blog owner lastname
<$BlogOwnerEmail$> - Blog owner email address
<$BlogOwnerFullName$> - Blog owner fullname
<$BlogOwnerPhone$> - Blog owner phone

<Blogger> - Start of blog contents
<BlogDateHeader> - Start of date header section
<$BlogDateHeaderDate$> - Date header
</BlogDateHeader> - End of date header section

<BlogItemTitle> - Start of item title section
<$BlogItemTitle$> - Item title text
</BlogItemTitle> - End of item title section

<$BlogItemBody$> - The text of a post
<$BlogItemAuthor$> - The author of a post
<$BlogItemAuthorNickname$> - The nickname of the author of a post
<$BlogItemAuthorEmail$> - The email address of the author of a post
<$BlogItemAuthorURL$> - The homepage URL of the author of a post
<$BlogItemDateTime$> - The Date and/or Time of a post
<$BlogItemNumber$> - The unique ID number of the post
<$BlogItemArchiveFileName$> - The archive filename of the post
<$BlogItemPermalinkURL$> - The permalink or URL of the item

<BlogDateFooter> - Start of footer section
</BlogDateFooter> - End of footer section
</Blogger> - End of blog contents

<BloggerArchives> - Start of archive
<$BlogArchiveURL$> - Archive URL
<$BlogArchiveName$> - Archive name or text
</BloggerArchives> - End of blog archive

0 comments:

Recent Post