FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 2.5.0RC3 basic mode RDF not validating as RSS...
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.5.0RC3 basic mode RDF not validating as RSS... [message #10316] Tue, 27 May 2003 22:00 Go to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
Things are refusing to parse it because its not validating as RSS....

http://feeds.archive.org/validator/check?<url to check>

is a good reference for this... basically, its some unchecked <body> tags from some posts that are causing the trouble...

Oh, and I had a rather strange error when upgrading to RC3... It seemed to get stuck in an infinite loop at line 775, and eventually spat out an url with dozens of trailing ////s... It may be time for me to do a clean install of the forum again, but transfering posts has always been an issue for me in the past.
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10321 is a reply to message #10316] Wed, 28 May 2003 12:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmmm the upgrade error seems strange, do you have symlinks to directories?

As for RSS validity I have checked it with many pages and it had worked fine perphaps you could show me the exact message(s) that caused it to fail.


FUDforum Core Developer
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10368 is a reply to message #10321] Thu, 29 May 2003 04:26 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
Nope, no symlinks. Straight directory install... I thought it was odd too...

I can't give the exact message now, but my forum (which I'll send in PM since it's a private one, tonight continues to fail to parse.)

Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10580 is a reply to message #10368] Thu, 05 June 2003 04:51 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
I'm still having problems/validation errors that prevent the RDF provider from being used straight by an aggregator (I'm testing with GrapeVine NewsDesk) or a simple RSS->Mozilla Sidebar converter.

First, for testing purposes, I'm wgetting the file to a static xml file because more than a few aggregators seem to have problems with query strings.

A common error I run into is:
"description should not contain relative URL references"

and another is the "not well-formed (invalid token)" error...
(one place I got it was this snippet)
"amp;zipcode=&a&#32;mp" (the &a&#32; specifically)...

It seems like maybe the tokenizer for text has some bugs in it yet. Either that or the validator does...
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10581 is a reply to message #10580] Thu, 05 June 2003 04:59 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
Interestingly, one of the problem seems to be a problem in the storage of the message itself in the "messages" file... Where one &amp; got turned in there into
"&a mp;"...

The other one (the relative) seems more confusing, since I can't see how it's parsing the body, but it seems to be snippets like these (where things like smileys appear)
&#60;img&#32;src=&#34;images&#47;smiley_icons&#47;icon_ confused&#46;gif&#34;&#32;border=0&#32;alt=&#34;Confuse d&#34;&#62;&#32;
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10591 is a reply to message #10581] Thu, 05 June 2003 12:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I know there are a few more problems left with RSS (basic mode) I'll be looking at those shortly.

FUDforum Core Developer
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10674 is a reply to message #10591] Fri, 06 June 2003 18:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The bug you've described has been fixed in CVS. So, once RC5 comes out a these problems should go away.

FUDforum Core Developer
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10814 is a reply to message #10674] Tue, 10 June 2003 20:06 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
RC5 still had this token error:

line 72, column 512: XML Parsing error: :72:512: not well-formed (invalid token) [help]

The snippet in question:
ViewItem&amp ;item=241

It's the &amp ;
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10815 is a reply to message #10814] Tue, 10 June 2003 20:15 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
OK, I got a piece that was able to validate by just specifying recent messages, and only a few (thinking that perhaps it was something about the storage of old messages)

The rdf string: /forums/rdf.php?mode=m&basic=1&n=5&l=1

Seems to work OK this one time... but the message descriptions include smiley img references which are relative, which causes a little bit of ugliness in things that attempt to render it (basically just missing image placeholders)
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10818 is a reply to message #10815] Tue, 10 June 2003 20:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The fixes that were made only apply to NEW messages, meaning that only messages posted after the 2.5.0RC5 releases would (should Wink) not be prone to the XML parse error you've described.

FUDforum Core Developer
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10819 is a reply to message #10818] Tue, 10 June 2003 20:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
For example:
http://fud.prohost.org/forum/rdf.php?mode=m&l=1&n=20&basic=1

This passes your validator with only a warning about relative urls (smilies) . As far as relative URLs go, that's already up to the displaying code to handle.


FUDforum Core Developer
Re: 2.5.0RC3 basic mode RDF not validating as RSS... [message #10820 is a reply to message #10819] Tue, 10 June 2003 20:54 Go to previous message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
No problem. I'm already having to have a cron job to wget the query string to a file anyhow. I can just extend it with a bit of Perl to turn all the "src="images" into "src=&#34http://www.foo.com/images".

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Forum Consistency error
Next Topic: RC5: goto links
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 00:27:34 GMT 2024

Total time taken to generate the page: 0.02551 seconds