[Gardeners] The Common Lisp Directory now has RSS feeds

H Duerer h.duerer at gmail.com
Wed Jan 11 09:00:13 CST 2006


On 03/01/06, Marc Battyani <marc.battyani at fractalconcept.com> wrote:
>
> Each tag has its own RSS feed. So that people can subscribe only to their
> area of interest
> (and miss all the exciting stuff that is added in other Common Lisp
> Directory parts ;-)
>
> http://www.cl-user.net
>

Note that this feed seems to have some encoding problem.
It gets served without an encoding, mentions no encoding in the "<?XML"
header, so it is by default utf-8.
However, at least at the moment it is latin-1:
holgerd at cpu132:~/tmp > wget -O lispdir.xml
http://www.cl-user.net/asp/Qwzu/sdataWw5GCXr28xqk8yBX8yBX8oQ5/b/mod-items.xml
...
holgerd at cpu132:~/tmp > xmlpp lispdir.xml
Traceback (most recent call last):
  File "/home/holgerd/bin/xmlpp", line 17, in ?
    if __name__ == "__main__": main()
  File "/home/holgerd/bin/xmlpp", line 11, in main
    doc = FromXmlFile(f)
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py",
line 159, in FromXmlFile
    saxHandlerClass, parser)
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py",
line 143, in FromXmlStream
    return reader.fromStream(stream, ownerDocument)
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py",
line 134, in fromStream
    self.parser.parseFile(stream)
  File
"/usr/lib/python2.3/site-packages/_xmlplus/sax/drivers/drv_pyexpat.py", line
68, in parseFile
    if self.parser.Parse(buf, 0) != 1:
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 4,
column 6201
holgerd at cpu132:~/tmp > recode latin1..utf8 lispdir.xml
holgerd at cpu132:~/tmp > xmlpp lispdir.xml
<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
  <channel>
    <title>The Common Lisp Directory/Root</title>
    <link>
http://www.cl-user.net/asp/G$hp/sdataRGA98HBX8yBX8yAvDM==/sdataQu3F$sS
...

Also:
Any idea why thunderbird thinks that on each fetch that all items have been
updated?

    Holger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lispniks.com/pipermail/gardeners/attachments/20060111/469b2917/attachment-0001.html


More information about the Gardeners mailing list