This project is read-only.

Table Of Contents BlogEngine 1.3 Extension

Topics: ASP.NET 2.0
Mar 11, 2008 at 4:03 PM
My post!---Who-is-There---XOXO.aspx introduces a BlogEngine 1.3 extension that automatically generates a Table Of Contents based on h1-h6 heading tags that are found in the body of posts and pages. The TOC is going to be rendered as either a <ul> or <ol> html list of anchors (links) to the corresponding heading tags. If the post or page is being saved for the first time then the TOC will be placed where the tag { t o c a u t o g e n } is located. Updating the post will look for <div id="tocautogen"></div> html construct and it replace it with the updated version of the TOC. The html that renders the TOC uses the xoxo class id pattern that specifies the Microformats XOXO Outline.