XML errors
Paul <[email protected]> Sun, 24 Oct 2004 11:38:45 +0800
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, After getting fed up with Moin's RSS problems (previous email), I traced the problem as such: use wget or whatever to get these pages: http://www.python.org/cgi-bin/moinmoin/RecentChanges?action=rss_rc http://moinmoin.wikiwikiweb.de/RecentChanges?action=rss_rc Now use Mozilla Thunderbird, attempt to subscribe to those two pages in the RSS accounts. I also tried saving those URLs as python.xml and moin.xml (respectively), and subscribe to those files. What happened: python.xml works fine, moin.xml does not. I edited moin.xml, and on the 3rd line it reads: <rdf:RDF xmlns:None="http://purl.org/rss/1.0/" xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/"><!-- Note the very start: "xmlns:None=". This is different in python.xml. I changed this to "xmlns=" and finally thunderbird can subscribe to moin.xml !! So, what is going on here? How do Python.org and moinmoin.wikiwikiweb.de differ? What versions of python and moin do they run? Has python.org hacked their version of moin so it works? I tried figuring out how to fix this, but I'm not very experienced in python so I didn't have much luck. I believe the problem lies in /usr/lib/python2.3/site-packages/MoinMoin/wikixml/util.py lines 24,27,57 Thats on my debian-testing installation. I thought it might work with python 2.4, but I doubt it since moinmoin's website doesn't work correctly! Hope someone can help, this is really irritating me as it screws up both thunderbird and feedreader. thanks Paul ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl