Templates&nbsp;-&nbsp;Template Tags
<p>
  BlogWorks Template Tags can be used in BigBlogTool and Blogger templates to 
  fill any gaps. The advantage of this is that you can download and use ready 
  made templates and then expand them at will.</p>
<h3>BlogWorks <small>XML</small> Template Tags</h3>
<table border="0" width="100%">
  <tr> 
    <td valign="top"><b>Tag</b></td>
    <td>&nbsp;</td>
    <td valign="top"><b>Description</b></td>
  </tr>
  <tr> 
    <td valign="top"><code>[+blog]<br>
      [-blog]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The tags that mark the beginning and end of the section of 
      the template in which you'd like your blog posts to appear.</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[+title]<br>
      [-title]</code></td>
    <td>&nbsp;</td>
    <td valign="top">These tags can be wrapped around the <code>[title]</code> 
      tag to remove extraneous formatting in the event that you decide not to 
      give a post a title. <br>
      <i>Ex:</i> <code>[+title]&lt;strong&gt;[title]&lt;/strong&gt;&lt;br&gt;[-title]</code> 
      would stop an extra linebreak appearing if there was no title.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[title]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The posts's title.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[body]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The main text of the post - can include HTML, Javascript 
      etc. </td>
  </tr>
  <tr> 
    <td valign="top"><code>[lasttitle]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The most recent post's title. Best used in a page's &lt;title> tags</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[+dateheader]<br>
      [-dateheader]</code></td>
    <td>&nbsp;</td>
    <td valign="top"> 
      <p>Enables the grouping of a day's posts under a common date header.<br>
        <i>Ex:</i> <code>[+dateheader]&lt;em&gt;&lt;strong&gt;[date]&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;[-dateheader]</code> 
      </p>
    </td>
  </tr>
  <tr> 
    <td valign="top"><code>[date]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The post's date, format as determined in the 'Date Header' 
      setting.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[time]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The post's time, format as determined by the 'Time Format' 
      setting. </td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[postid]</code></td>
    <td>&nbsp;</td>
    <td valign="top"> 
      <p>The unique identifying number for a post. made up of a Unix Timestamp 
        and the Blog ID number.<br>
      </p>
    </td>
  </tr>
  <tr> 
    <td valign="top"><code>[posturl]</code></td>
    <td>&nbsp;</td>
    <td valign="top"> 
      <p>The complete URL for a post in it's archive.<br>
        <i>Ex:</i> <code>&lt;a href=&quot;[posturl]&quot;&gt;[time]&lt;/a&gt;</code> 
        turns the post's time into a link to that post's place in the archives.</p>
    </td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[blogname]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The blog's name as defined in the 'Blog Name' setting.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[blogdescription]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The blog's description as defined in the 'Blog Description' 
      setting.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[blogurl]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The complete URL to the blog's main page.</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[authorname]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The author's name as defined in the 'First Name' and 'Last 
      Name' settings.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[authornickname]</code> </td>
    <td>&nbsp;</td>
    <td valign="top">The author's nickname as defined in the 'Nickname' setting.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[authormail]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The author's e-mail address as defined in the 'E-mail Address' 
      setting. </td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[archivelist]</code></td>
    <td>&nbsp;</td>
    <td valign="top">A list of links to all of the available archive files. This 
      tag can be used in either the Archive Index Page template or the Main Blog 
      Page template.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[archiveindex]</code> </td>
    <td>&nbsp;</td>
    <td valign="top">The complete URL of the Archive Index page.</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[rssfeed]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The complete URL of the RSS XML feed.</td>
  </tr>
<tr> 
    <td valign="top"><code>[version]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Current version of BlogWorks XML being used.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[image:rssfeed]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The orange "XML" logo with link to the complete URL of the RSS XML feed.</td>
  </tr>
 <tr> 
    <td valign="top"><code>[image:userland]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The "Radio UserLand XML" logo with link to the subscription page for the RSS XML feed.</td>
  </tr>
 <tr> 
    <td valign="top"><code>[image:amphetadesk]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The "Amphetadesk XML" logo with link to the subscription page for the RSS XML feed.</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[createdwith]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Text link to BlogWorks.com</td>
  </tr>
  <tr> 
    <td valign="top"><code>[image:createdwith]</code></td>
    <td>&nbsp;</td>
    <td valign="top">BWXML button with link to BlogWorks.com</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top"><code>[imageurl]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The complete URL of the image directory</td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top" colspan="3">BlogWorks version 1.2 integrates TrackBacks, PingBacks and Comments in such a way that everything is available from one place - via a page called "incoming.asp". More information is available on the <a href="help.asp?page=commentapi">Comment API</a> page. Tags that previously used <code>[tb:]</code> now use <code>[rx:]</code> instead.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[rx:url]</code></td>
    <td>&nbsp;</td>
    <td valign="top">An individual post's URL for TrackBack and Comment API access</td>
  </tr>
  <tr> 
    <td valign="top"><code>[rx:displayurl]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The URL of the page used to display TrackBacks, PingBacks and Comments for readers. Works with the <code>[rx:script]</code> tag.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[rx:include]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Automatically add the functions BlogWorks uses to dynamically count items received at <code>[rx:url]</code>.</td>
  </tr>
<tr> 
    <td valign="top"><code>[rx:paths]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Add the information from the <i>paths.asp</i> file to your blog. For use with <code>[rx:include]</code>. <br /><b>NOTE:</b> This tag must appear before the <code>[rx:include]</code> tag.</code>.</td>
  </tr>
  <tr> 
    <td valign="top"><code>[rx:script]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Automatically add a pop-up window Javascript to your page for use with Comments and TrackBack.<br />Links using the script need to be in the form:<br />
<code>&lt;a href="http://<i>URL to Link</i>" onClick="OpenWindow(this.href); return false"></code></td>
  </tr>
  <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top" colspan="3">There are still a number of tags specific to <a href="help.asp?page=trackback">TrackBack</a> and <a href="help.asp?page=pingback">PingBack</a>.</td>
  </tr>
<tr> 
    <td valign="top"><code>[tb:rdf]</code></td>
    <td>&nbsp;</td>
    <td valign="top">TrackBack RDF for auto-discovery of a post's TrackBack URL</td>
  </tr>
<tr> 
    <td valign="top"><code>[pb:header]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Adds a small piece of ASP code that creates the "X-Pingback" HTTP header that can be used to find the PingBack server's URL. Only works on ASP pages!<br /><b>NOTE:</b> This tag, if used, must appear at the very top of the template.</td>
  </tr>
<tr> 
    <td valign="top"><code>[pb:link]</code></td>
    <td>&nbsp;</td>
    <td valign="top">URL of the PingBack server to be used in a <code>&lt;link></code> tag. Used in conjunction with <code>[pb:header]</code> for PingBack clients that don't recognise the PingBack HTTP header. </td>
  </tr>
 <tr> 
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top" colspan="3">The new RSS template makes use of some new RSS specific tags.</td>
  </tr>
<tr> 
    <td valign="top"><code>[rss:description]</code></td>
    <td>&nbsp;</td>
    <td valign="top">Entity encoded HTML.</td>
  </tr>
<tr> 
    <td valign="top"><code>[rss:contentencoded]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The body of a post with all HTML left in, entities encoded and wrapped in an XML CDATA tag. Suitable for use with <code>&lt;content:encoded&gt;</code> tags.</td>
  </tr>

<tr> 
    <td valign="top"><code>[rss:pubdate]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The post's date in RFC822 format i.e. Fri, 06 Jun 2003 11:14:16 GMT</td>
  </tr>
<tr> 
    <td valign="top"><code>[rss:dcdate]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The post's date in ISO-8601 format i.e. 2003-06-06T11:14:16Z</td>
  </tr>
<tr> 
    <td valign="top"><code>[rss:lastbuilddate]</code></td>
    <td>&nbsp;</td>
    <td valign="top">The date the RSS feed was created. If the feed is re-published, even if there are no new posts this date reflects the re-publish date. Format is RFC822 to meet with RSS 2.0 spec.</td>
  </tr>
</table>
