mhonarc-users

rcfile confusion?

1999-09-27 03:50:34

Hi all,

I finally sat down and tried to make MHonArc produce RDF output rather
than HTML. Things are almost working. I want only 5 messages to show
up on a single RDF index. Howver, after I get things working, I still
want to produce longer date and thread indexes from the same
.mhonarc.db.  So I tried using <IDXSIZE>, but That didn't work very well.
Running the appended rcfile on seven messages, it produces an
RDF index page with 7 - 5 = 2 blank entries. 

Any suggestions? 

Cheers,
Jeff

PS It's way cool how easy it is to use MHonArc for non-HTML output.

                      --------------

$ mhonarc -v
  MHonArc v2.4.3 (Perl 5.00503)

$ uname -a
Linux gabor 2.2.10 #2 Sun Aug 8 05:09:48 PDT 1999 i586 unknown

$ cat /etc/issue
Debian GNU/\s potato \n \l



---------------------

<!-- 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 on another. RDF 
     contains content information -- and absolutely no 
     information regarding how to render that content.
     I used http://www.slashdot.org/slashdot.rdf
     for reference when writing this rcfile.

     Jeff Breidenbach, jeff(_at_)jab(_dot_)org, Aug 26, 1999
                                                         -->


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

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

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

<idxpgbegin>

<?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/";>

  <channel>
    <title>Mail-Archive</title>
    <link>http://www.mail-archive.com</link>
    <description>Public mailing list archives.</description>
  </channel>

  <image>
     <title>Mail-Archive</title>
     <url>http://www.mail-archive.com/logo.gif</url>
     <link>http://www.mail-archive.com</link>
  </image>

</idxpgbegin>

<litemplate>
  <item>
    <title>$SUBJECTNA$</title>
    <link>$A_HREF$</link>
  </item>

</litemplate>

<idxpgend>

</rdf>
 
</idxpgend>

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

<listbegin>
 
</listbegin>

<listend>
 
</listend>

<nodoc>


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


<Prev in Thread] Current Thread [Next in Thread>