BlogSpot Blogger Template Tags: defined - Blogger Help

Thursday, August 27, 2009

BlogSpot Blogger Template Tags: defined - Blogger Help

by Mich De 0 comments


Template Tags: defined - Blogger Help: "Template Tags: defined"

BlogSpot Blogger Template Tags Jump Start List

Blogger tags look a lot like HTML. One difference between them and HTML is that case is important.

<$BlogSiteFeedLink$> - Outputs your site feed's URL inside a <link> tag:

<link rel="service.feed" type="application/atom+xml" title="Your Blog's Title" href="http://yourblog.blogspot.com/atom.xml" />

<$BlogEncoding$> - Inserts the encoding setting from the Settings | Formatting tab into a content-type declaration, like so:

<meta http-equiv="Content-Type" 
content="text/html; charset=<$BlogEncoding$>" />


<$BlogLanguageDirection$> - Outputs either "ltr" (left-to-right) or "rtl" (right-to-left) based on the blog's language setting. E.g. Hebrew and Arabic blogs will be right-to-left.



<html dir="<$BlogLanguageDirection$>">



<BlogSiteFeed><$BlogSiteFeedUrl$></BlogSiteFeed> - Displays the blog's site feed URL, if it has one.



<$BlogMetaData$> - Inserts all blog metadata (including the above tags) via one tag. here's sample output:



<meta http-equiv="Content-Type" 
    content="text/html; charset=UTF-8" />
<meta name="MSSmartTagsPreventParsing"
content="true" />
<meta name="generator" content="Blogger" />
<link rel="service.feed" type="application/atom+xml"
    title="DanoTestMule"
    href="http://testmule.blogspot.com/atom.xml" />
<link rel="service.post" type="application/atom+xml"
    title="DanoTestMule"
    href="http://www.blogger.com/atom/6602135" />
<link rel="EditURI" type="application/rsd+xml"
title="RSD"
href="http://www.blogger.com/rsd.pyra?blogID=6602135" />
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW" />


(This last tag will appear if your blog is set to unlisted.)



<$BlogPageTitle$> - Gives your published blog pages smart titles ("Blog Name" for the index page, "Blog Name: Date" for archive pages, and "Blog Name: Post Title" for post pages). Best used in a template's <head>, in between <title> and </title>.


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


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



<Blogger> & </Blogger> - These tags contain the content that will be output for every post on the page. Most of the following tags should be inside these to work properly.



<BlogDateHeader>


<$BlogDateHeaderDate$>


</BlogDateHeader> - These output date headers, which display once per date, regardless of how many posts were made on that date.



<BlogItemTitle>


<BlogItemURL>


<a href="<$BlogItemURL$>">


</BlogItemURL>


<$BlogItemTitle$></a>


</BlogItemTitle> - These output each post's Title, linked to their associated URLs if you're using the link field feature. Remove the second, third and fourth lines to unlink the titles.



<$BlogItemBody$> - The content of a post.


<$BlogItemAuthor$> - The author of a post, using both the first and last names (as specified in the author's profile).


<$BlogItemAuthorNickname$> - The display name 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 of the post


<$BlogItemControl$> - The Quick Edit link of the post



<BlogDateFooter>


</BlogDateFooter> - Similar to the date headers, content between these tags will be displayed once per date, regardless of the number of posts on that date.



Sidebar archive list tags, explained in the archive links article:



<BloggerArchives>
<a href='<$BlogArchiveURL$>'><$BlogArchiveName$></a>
</BloggerArchives>


Conditional tags, explained in the conditional tag article:



<MainPage></MainPage>


<ArchivePage></ArchivePage>


<ItemPage></ItemPage>


<MainOrArchivePage></MainOrArchivePage>



Previous post code, explained in the previous posts article.



<BloggerPreviousItems>
<a href="<$BlogItemPermalinkURL$>">
<$BlogPreviousItemTitle$>
</a><br />
</BloggerPreviousItems>


Comment code, explained in the comment tags article.



<BlogItemCommentsEnabled>


<$BlogItemCommentCount$>


<$BlogItemCommentCreate$>


<$BlogItemCommentFormOnClick$>


<BlogItemComments>


<a name="<$BlogCommentNumber$>"></a>


<$BlogCommentBody$>


<$BlogCommentPermalinkURL$>


<$BlogCommentAuthor$>


<$BlogCommentDateTime$>


<$BlogCommentDeleteIcon$>


<$BlogItemCreate$>


</BlogItemComments>


</BlogItemCommentsEnabled>



Backlinks code, explained in the backlinks tags article.



<BlogItemBacklinksEnabled>

<BlogItemBacklinks>


<$BlogBacklinkControl$>


<$BlogBacklinkURL$>


<$BlogBacklinkTitle$>


<$BlogBacklinkDeleteIcon$>


<$BlogBacklinkSnippet$>


<$BlogBacklinkAuthor$>


<$BlogBacklinkDateTime$>


</BlogItemBacklinks>


<$BlogItemBacklinkCreate$>


</BlogItemBacklinksEnabled>



Profile code, further in the profile tags article:



<$BlogOwnerNickname$>
<$BlogOwnerFirstName$>
<$BlogOwnerLastName$>
<$BlogOwnerFullName$>
<$BlogOwnerEmail$>
<$BlogOwnerLocation$>
<$BlogOwnerAboutMe$>
<$BlogOwnerPhotoUrl$>
<$BlogOwnerProfileUrl$>



 





 





 



del.icio.us Tags: ,,,,


 





 



blog comments powered by Disqus

Mich De L'Orme - @MichDe
I am Mich De Lorme I work in new media & research. My life is filled with family learning & technology, what more could I want or need in life?

Join me on the New Digg Follow MichDe on Twitter

Be seen on this site Featured links

Facebook Stuff

Mich De L'Orme|Create Your Badge

Featured Video

Categories

Labels

Sponsored Links

Related Posts with Thumbnails

My Photos on flickr