RSS from MHonArc

Recently a number of people have been asking me for the MRC file I use to generate the RSS feeds on the midrange.com mailing list archives … so, here it is.

[tags]rss, mhonarc[/tags]


<!--
This is a MHonArc rcfile, which is designed to
generate RDF output. RDF is format designed for
computer to computer communications of data, and
might be used for providing information produced
on one web site for display or links on another.
RDF contains content information -- and absolutely no
information regarding how to render that content.
I used http://www.slashdot.org/slashdot.rdf
and http://www.w3.org/RDF/Implementations/SiRPAC/
for reference when writing this rcfile.

This rcfile depends on a variable $X-MAILLIST$ which
must be defined in the MHonArc call (using -definevar)
Additionally, this rcfile has many hardcoded references
to mail-archive.com.

Jeff Breidenbach, jeff@jab.org, Aug 26, 1999, v. 1.0

midrange.com specific enhancements.
David Gibbs, david@midrange.com, v.1.1
-->

<!-- ------------------------------------ -->
<!-- Section 0: Configuration adjustments -->
<!-- ------------------------------------ -->

<nodoc>
<nomultipg>
<main>
<sort>
<reverse>

<!-- How many messages do we want on the RDF index? -->
<idxsize>
20
</idxsize>

<!-- What file shall we write the RDF index to? -->
<idxfname>
../maillist.rdf
</idxfname>

<!-- ----------------------------- -->
<!-- Section 1: Specify RDF markup -->
<!-- ----------------------------- -->

<ssmarkup>
<?xml version="1.0"?><rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/"
xmlns:dc="http://purl.org/dc/elements/1.1/">

</ssmarkup>

<idxpgbegin>

<channel>
<title>$X-MAILLIST$ mailing list</title>
<link>http://archive.midrange.com/$X-MAILLIST$</link>
<description>Mailing list archive for $X-MAILLIST$ at midrange.com</description>
<dc:language>en-us</dc:language>
<dc:creator>david@midrange.com (David Gibbs)</dc:creator>
<dc:rights>Copyright (c) 1997-$LOCALDATE(%Y)$ midrange.com and David Gibbs as a
compilation work</dc:rights>
<dc:publisher>david@midrange.com (David Gibbs)</dc:publisher>
<dc:date>$LOCALDATE(%Y-%m-%dT%H:%M:%S)$$X-ZONE$:00</dc:date>
</channel>

<image>
<title>midrange.com</title>
<url>http://archive.midrange.com/images/logo.jpg</url>
<link>http://www.midrange.com</link>
</image>

</idxpgbegin>

<litemplate>
<item>
<title>$SUBJECTNA$</title>
<link>http://archive.midrange.com/$X-MAILLIST$/$X-YYYYMM$/$MSG$</link>
<dc:creator>$FROMNAME$</dc:creator>
<dc:date>$MSGLOCALDATE(CUR;%Y-%m-%dT%H:%M:%S)$$X-ZONE$:00</dc:date>
<description>$X-MSG-PREVIEW$</description>
</item>
</litemplate>

<idxpgend>

</rdf:RDF>

</idxpgend>

<!-- ----------------------------------------------------- -->
<!-- Section 2: Remove any HTML left from default settings -->
<!-- ----------------------------------------------------- -->

<listbegin>
</listbegin>

<listend>
</listend>

<AuthorBegin>
</AuthorBegin>

<AuthorEnd>
</AuthorEnd>

<!-- --- -->
<!-- End -->
<!-- --- -->

Related posts ...
If you're seeing a lot of messages about untrusted TLS connections in your mail log
We all agree that email is crucial to modern life. But what email should you
As part of my migration to the cloud, I terminated the Comcast Business internet service
With my recent migration of servers from my basement to Amazon cloud servers, I had

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.