klenwell information services : Bloggerstack

Bloggerstack Blogger Stack

The blogger stack refers to the html code found between the <blogger> tags in the classic blogger template. This code forms the markup for each individual blog entry and gets repeated for each blog entry on the blog's main page.

The bloggerstack project attempts to organize this important and somewhat complex chunk of code as coherently as possible. It organizes the stack into two key sections: the entry stack and the endnote stack. The entry stack is what is shown on both the main page and the item page. The endnote stack appears only on item pages. The basic outline goes:

div#blogger_stack > div.child
The code below represents the most recent update of the blogger stack:

<!-- BLOGGER STACK -->
<div id="blogger_stack"><div id="blogger_stack_child" class="child">
<Blogger> <!-- NOTE: anything between Blogger tags will be repeated for every post on page -->
<!-- entry stack -->
<div class="entry_stack" id="item_<$BlogItemNumber$>"><div class="child">
<!-- item header -->
<div class="item_header_stack">
<BlogDateHeader>
<div class="date_header_block" id="date_header_block_<$BlogItemNumber$>">
<$BlogDateHeaderDate$>
</div>
</BlogDateHeader>
</div>
<!-- item core stack -->
<div class="item_core_stack">
<!-- item title -->
<BlogItemTitle>
<div class="item_title_block">
<BlogItemURL><a href="<$BlogItemURL$>"></BlogItemURL>
<$BlogItemTitle$>
<BlogItemURL></a></BlogItemURL>
</div>
</BlogItemTitle>

<!-- item body -->
<div class="item_body_block">
<$BlogItemBody$>
</div>
</div>
<!-- end item core stack -->
<!-- item footer -->
<div class="item_footer_stack">
<!-- comment trigger -->
<MainOrArchivePage><BlogItemCommentsEnabled>
<a class="comment_trigger" href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnClick$

add comment
</a>
(<$BlogItemCommentCount$>)
</BlogItemCommentsEnabled></MainOrArchivePage> |
<!-- backlink trigger -->
<MainOrArchivePage><BlogItemBacklinksEnabled>
<a class="backlink_link" href="<$BlogItemPermalinkUrl$>#backlink_stack">
links to this post
</a>
(<span class="backlink_trigger"><$BlogItemBacklinkCreate$></span>)
</BlogItemBacklinksEnabled></MainOrArchivePage> |
<!-- datetime / permalink -->
<a class="permalink" href="<$BlogItemPermalinkURL$>" title="permalink">
<$BlogItemDateTime$>
</a>
</div>
<!-- end item footer -->
</div></div>
<!-- end entry stack -->

<!-- endnote stack -->
<ItemPage>
<div id="endnote_stack">
<!-- endnote header -->
<div id="endnote_header_stack">
<!-- home trigger -->
<div class="endnote_trigger">
<a class="home_trigger" href="<$BlogURL$>">Ω home</a>
</div>

<!-- comment trigger -->
<BlogItemCommentsEnabled><div class="endnote_trigger">
<a class="comment_trigger" href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnClick$

♥ add a comment
</a>
</div></BlogItemCommentsEnabled>

<!-- backlink trigger -->
<BlogItemBacklinksEnabled><div class="endnote_trigger">
<div class="backlink_trigger">
<$BlogItemBacklinkCreate$>
</div>
</div></BlogItemBacklinksEnabled>
</div>
<!-- end endnote header -->
<!-- comment stack -->
<BlogItemCommentsEnabled>
<div id="comment_stack">
<BlogItemComments> <!-- NOTE: this tag cycles through comments -->
<!-- comment block -->
<div class="comment_block">
<div class="comment_header_block" id="<$BlogCommentNumber$>">
<span class="comment_author"><$BlogCommentAuthor$></span> comments:
</div>
<div class="comment_body_block">
<$BlogCommentBody$>
</div>
<div class="comment_footer_block">
<a href="<$BlogCommentPermalinkURL$>">
<$BlogCommentDateTime$>
</a>
<$BlogCommentDeleteIcon$>
</div>
</div>
</BlogItemComments>
</div>
</BlogItemCommentsEnabled>
<!-- end comment stack -->
<!-- backlink stack -->
<BlogItemBacklinksEnabled>
<div id="backlink_stack">
<BlogItemBacklinks> <!-- NOTE: this tag cycles through backlinks -->
<!-- backlink block -->
<div class="backlink_block">
<div class="backlink_header_block">
<$BlogBacklinkControl$>
<a href="<$BlogBacklinkURL$>" rel="nofollow">
<$BlogBacklinkTitle$>
</a>
<$BlogBacklinkDeleteIcon$>
</div>

<div class="backlink_body_block">
<$BlogBacklinkSnippet$>
</div>
<div class="backlink_footer_block">
<span class="backlink_author">
posted by <$BlogBacklinkAuthor$>
</span>
at
<span class="backlink_datetime">
<$BlogBacklinkDateTime$>
</span>
</div>
</div>
</BlogItemBacklinks>
</div>
</BlogItemBacklinksEnabled>
<!-- end backlink stack -->
<!-- endnote footer stack -->
<div id="endnote_footer_stack">
<!-- comment trigger -->
<BlogItemCommentsEnabled>
<div class="endnote_trigger">
<a class="comment_trigger" href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnClick$

♥ add a comment
</a>
</div>
</BlogItemCommentsEnabled>
<!-- backlink trigger -->
<BlogItemBacklinksEnabled>
<div class="endnote_trigger">
<div class="backlink_trigger">
<$BlogItemBacklinkCreate$>
</div>
</div>
</BlogItemBacklinksEnabled>
<!-- home trigger -->
<div class="endnote_trigger">
<a class="home_trigger" href="<$BlogURL$>">Ω home</a>
</div>
</div>
<!-- END endnote footer stack -->
</div>
</ItemPage>
<!-- end ENDNOTE STACK -->

</Blogger>
</div></div>
<!-- end BLOGGER STACK -->



CategoryBloggerstack