BlogMax: Blogging in Emacs
A great way to maintain a blog
Home

License

Download

Docs

Blogs

   
RSS
Macros | Contents | Defining New Macros

This page tells you how to configure the template for creating RSS for your site. RSS is a news syndication standard. BlogMax creates RSS that is similar to that created by Radio Userland. By my limited understanding, this is not quite up to the standard, but it appears to work.

Copy the rss-template.xml file from this site to your site's root directory, and edit it to describe your site. Here's that file:

<?xml version="1.0"?>
<rss version="0.91">
  <channel>
    <!-- You need to customize this information -->
    <title>weblog.el: Blogging in Emacs</title>
    <link>http://billstclair.com/weblog.el/</link>
    <description>A wonderful tool for maintaining a weblog</description>
    <language>en-us</language>
    <docs>http://billstclair.com/weblog.el/</docs>
    <managingEditor>bill@billstclair.com</managingEditor>
    <webMaster>bill@billstclair.com</webMaster>
    <!-- These are just examples. They will be filled in on generation -->
    <pubDate>Thu, 31 May 2001 04:00:00 GMT</pubDate>
    <lastBuildDate>Thu, 31 May 2001 17:18:53 GMT</lastBuildDate>
    <item>
      <!-- The items are all automatically generated. Don't change this -->
      <title>blogmax.el</title>
      <link>http://billstclair.com/blogmax/blogmax.el</link>
      <description>I maintain my weblogs with blogmax.el</description>
    </item>
  </channel>
</rss>
The part that you edit is the text of the tags below the comment, "You need to customize this information". BlogMax will fill in the "pubDate", "lastBuildDate", and "item" tag information when it generates RSS. Currently, no macro expansion is done during RSS file creation. I'll likely change this at some point to allow for creation of different versions of RSS.

Macros | Contents | Defining New Macros


emacs Copyright © 2001 by Bill St. Clair <bill@billstclair.com> source