Moveable Type OCS Production

Moveable Type allows you to create multiple templates for archives and content pages. I've used this capability to produce RSS 1.0 and RSS 0.92 feed for each of the categories I'm using. I've also created a template to build an OCS file listing all the various syndication channels that I've now got available.

Here's the template I've been using:

<?xml version="1.0"?> <rdf:RDF
  xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:ocs = "http://InternetAlchemy.org/ocs/directory#"
  xmlns:dc  = "http://purl.org/metadata/dublin_core#">

  <rdf:description about="http://InternetAlchemy.org/ocs.rdf">
    <!-- This section contains information about the channel directory listing -->
    <dc:title>Internet Alchemy OCS Directory</dc:title>
    <dc:creator>Ian Davis (mailto:iand@blog.iandavis.com)</dc:creator>
    <dc:description>This is a list of channels available at Internet Alchemy</dc:description>

    <rdf:description about="<$MTBlogURL$>">
      <dc:title><$MTBlogName encode_xml="1"$></dc:title>
      <dc:creator>Ian Davis (mailto:iand@blog.iandavis.com)</dc:creator>
      <dc:description><$MTBlogDescription encode_xml="1"$></dc:description>

      <rdf:description about="<$MTBlogURL$>index.rss">
        <dc:language>en</dc:language>
        <ocs:format>http://purl.org/rss/1.0/</ocs:format>
        <ocs:updatePeriod>hourly</ocs:updatePeriod>
        <ocs:updateFrequency>2</ocs:updateFrequency>
        <ocs:updateBase>1999-05-30T00:00</ocs:updateBase>
      </rdf:description>

      <rdf:description about="<$MTBlogURL$>index.rss91">
        <dc:language>en</dc:language>
        <ocs:format>http://my.netscape.com/publish/formats/rss-0.91.dtd</ocs:format>
        <ocs:updatePeriod>hourly</ocs:updatePeriod>
        <ocs:updateFrequency>2</ocs:updateFrequency>
        <ocs:updateBase>1999-05-30T00:00</ocs:updateBase>
      </rdf:description>
    </rdf:description>

    <MTCategories>
    <rdf:description about="<$MTBlogURL$>categories/<$MTCategoryLabel dirify="1"$>.html">
      <dc:title>Archives for <$MTArchiveTitle encode_xml="1"$> at Internet Alchemy</dc:title>
      <dc:creator>Ian Davis (mailto:iand@blog.iandavis.com)</dc:creator>
      <dc:description><$MTCategoryDescription encode_xml="1"$></dc:description>

      <rdf:description about="<$MTBlogURL$>categories/<$MTCategoryLabel dirify="1"$>.rss">
        <dc:language>en</dc:language>
        <ocs:format>http://purl.org/rss/1.0/</ocs:format>
        <ocs:updatePeriod>hourly</ocs:updatePeriod>
        <ocs:updateFrequency>2</ocs:updateFrequency>
        <ocs:updateBase>1999-05-30T00:00</ocs:updateBase>
      </rdf:description>

      <rdf:description about="<$MTBlogURL$>categories/<$MTCategoryLabel dirify="1"$>.rss91">
        <dc:language>en</dc:language>
        <ocs:format>http://my.netscape.com/publish/formats/rss-0.91.dtd</ocs:format>
        <ocs:updatePeriod>hourly</ocs:updatePeriod>
        <ocs:updateFrequency>2</ocs:updateFrequency>
        <ocs:updateBase>1999-05-30T00:00</ocs:updateBase>
      </rdf:description>
    </rdf:description>
    </MTCategories>
  </rdf:description>
</rdf:RDF>

Permalink: http://blog.iandavis.com/2002/07/moveable-type-ocs-production/


Other posts tagged as ocs, projects

Earlier Posts