template tags


tag

description

<$BlogOwnerProfile$>

creates an About Me section with About Me as the header, followed by <$BlogOwnerPhotoUrl$> wrapped with the text that follows: the word Name:, followed by either <$BlogOwnerFullName$> or <$BlogOwnerNickname$> (the latter is used if First Name and Last Name are not entered in the profile), followed by the word Location:, followed by <$BlogOwnerLocation$>, followed by <$BlogOwnerAboutMe$>, followed by the words View my complete profile, linked to <$BlogOwnerProfileUrl$>.

If any of the fields are empty, the spacing and titles that would have gone with them are quietly omitted.


template tags for the blog body

The tags described below are used to output the main body of your blog page, including the blog entries themselves.

tag

description

<$BlogTitle$>

outputs the contents of the Title field from the Settings | Basic page (page 38)

<$BlogURL$>

outputs the URL of the blog's main page, e.g., http://knowingbeans.blogspot.com (page 4)

<$BlogDescription$>

outputs the contents of the Description field from the Settings | Basic page (page 38)

<Blogger>...</Blogger>

anything that should repeat for each entry in your blog must be contained within these tags

<BlogDateHeader>...</BlogDateHeader>

a conditional tag whose contents only appear with the first (and only the first) of each day's blog posts

<$BlogDateHeaderDate$>

generates the date of the post; its format is determined by the selection made in the Date Header Format field on the Settings | Format page; must be enclosed in opening and closing <BlogDateHeader> tags;

<BlogDateFooter>...</BlogDateFooter>

a conditional tag whose contents only appear with the last (and only the last) of each day's blog posts

<BlogItemTitle>...</BlogItemTitle>

a conditional tag whose contents are output only if the post has a title; should be used to contain the <$BlogItemTitle$>

<$BlogItemTitle$>

outputs the title of an individual post; must be contained in opening and closing <BlogItemTitle> tags

<BlogItemURL>...</BlogItemURL>

a conditional tag whose contents are output only if the <$BlogItemURL$> is not empty; is useful if there are other formatting instructions that should be hidden when no <$BlogItemURL$> is present

<$BlogItemURL$>

outputs the contents of the Link field from the Post | Create page, which contains an external URL to which the post is presumably related

<$BlogItemBody$>

outputs the body of the post

<$BlogItemAuthor$>

outputs the contents of the First Name and Last Name fields from the profile of the blogger who wrote the post

<$BlogItemAuthorNickname$>

outputs the contents of the Display Name field from the profile of the blogger who wrote the post

<$BlogItemAuthorEmail$>

outputs the contents of the Email Address field from the profile of the blogger who wrote the post

<$BlogItemAuthorURL$>

outputs the contents of the Homepage URL field from the profile of the blogger who wrote the post

<$BlogItemDateTime$>

outputs the date and/or time that the post was written; the format, and indeed whether or not the date and/or time are included, is determined by the selection in the TimestampFormat field on the Settings | Formatting page

<$BlogItemNumber$>

outputs the post's unique id number; is useful as the target of a permalink when you're not using individual post pages

<$BlogItemArchiveFileName$>

outputs the archive file name for the individual post

<$BlogItemPermalinkURL$>

outputs the URL of an individual post's permalink; note that this URL will change if you change the setting for Enable Post Pages on the Settings | Archives page

<$BlogItemControl$>

creates a QuickEdit link on your blog page that brings you directly to the Posting | Edit Posts page for an individual blog; only appears to the author of the blog post or to the owner of the blog and only if they're logged into their Blogger account

also creates the Email Post link icon that allows visitors to email your posts to others (see page 111)




Publishing a Blog with Blogger
Publishing a Blog with Blogger: Visual QuickProject Guide (2nd Edition)
ISBN: 0321637526
EAN: 2147483647
Year: 2004
Pages: 135

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net