At first I was using this article as an example atom feed for producing the atom template, but it was too simple/limited in scope. A bigger spec for atom feeds is found here, and the code that I was working from before seems to have been copied from there.

Below is the example atom feed given in the previous link. It contains lots of rich metadata, and I'm unsure how I should fill this in. Permalinks, for instance, have me a bit worried. I'm wondering whether I might be able to get assistance with filling in the gaps from the folks in the TiddlyWiki Google group.

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="">
  <title type="text">dive into mark</title>
  <subtitle type="html">
    A &lt;em&gt;lot&lt;/em&gt; of effort
    went into making this effortless
  <link rel="alternate" type="text/html" 
   hreflang="en" href=""/>
  <link rel="self" type="application/atom+xml" 
  <rights>Copyright (c) 2003, Mark Pilgrim</rights>
  <generator uri="" version="1.0">
    Example Toolkit
    <title>Atom draft-07 snapshot</title>
    <link rel="alternate" type="text/html" 
    <link rel="enclosure" type="audio/mpeg" length="1337"
      <name>Mark Pilgrim</name>
      <name>Sam Ruby</name>
      <name>Joe Gregorio</name>
    <content type="xhtml" xml:lang="en" 
      <div xmlns="">
        <p><i>[Update: The Atom draft is finished.]</i></p>