Bug 588 : YaBB discourse / recent posts RSS feed needs fixes
Last modified: 2009-10-21 06:49




Status:
ASSIGNED
Resolution:
-
Priority:
P2
Severity:
normal

 

Reporter:
fjen
Assigned To:
fjen

Attachment Type Created Size Actions

Description:   Opened: 2007-06-27 02:39
owd:
I'm having problems to parse the rss feed with the Microsoft's XML Parser. And IE 7 cannot
read it.
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fprocessing.org%2Fdiscourse%
2Fyabb_beta%2FYaBB.cgi%3Faction%3Drss

http://processing.org/discourse/yabb_beta/YaBB.cgi?
board=WebsiteBugs;action=display;num=1182858575

it's valid now, but warnings remain:
- title should not contain HTML
- description contains bad characters

F
Additional Comment #1 From owd 2007-06-28 08:06
(In reply to comment #0)
> Description:  [reply] Opened: 2007-06-27 02:39

Error while parsing (crash): "An invalid character was found in text content".
Info: http://www.w3schools.com/xml/xml_encoding.asp (Error Messages section).
I think that the code which generates the feed uses an encoding different from the
XML declaration (Western European) "iso-8859-1".



Additional Comment #2 From fjen 2007-06-28 08:22
no, i tested different encodings. the problem is that the messages / posts to the forum are
not encoded correctly or differently. so there's no way to really know how they were
encoded in the first place, which makes it a real pain to find a solution for ... especially in
perl which the forum is written in.

i think the best solution would be to:
- add an target encoding (iso-8859-1) to the form-fields for future posts
- reencode the old posts with that encoding
- set the feed to that encoding

thanks for looking into it!

F
This bug is now being tracked here.