Re: Heads postings on front page

dvanhorn <[email protected]> Sun, 18 Jan 2004 23:34:07 -0500
Newsgroups gmane.org.ballistichelmet.devel
Message-ID <[email protected]>
dvanhorn wrote:
> 5 minutes of coding:

There is a small bug I just noticed.  The PLT XML parser will parse the following:

   <title>Jan 19 pdx video screening at Lewis &amp; Clark</title>

into:

   (title () "Jan 19 pdx video screening at Lewis " "&" " Clark")

Notice the list of subelements of title, rather than single subelement.  I had:

   (match-lambda
     (('item _
       ('title _ title) ...)))

Which will fail to match the above case.

Changing it to:

   (match-lambda
      (('item _
        ('title _ . titles) ...)))

And then saying (apply string-append titles) in the ... will fix it.  IYI.

David