|
Joined: Nov 2006
Posts: 173
member
|
member
Joined: Nov 2006
Posts: 173 |
i have a user who sent this in. he's right in that chrome chokes on this rss feed and perhaps other readers do as well. any comments? ========================= I'm having some trouble loading your RSS feed into a couple of different readers. I took a look at the code and I think that it is due to the "&" on line 7. I dont think xml likes "& " followed by a space and it needs & to parse correctly. A couple of readers let it slide, Firefox was OK, but Chrome and my android reader both choked on it. Anyway, hope that helps, great site, keep up the good work and let me know if there is anything I can do to help! ------------------------- here's the RSS feed: All Public Forums Feed URL: http://ambergriscaye.com/forum/cache/global_rss48.xml
Last edited by mcasado; 01/14/2011 2:46 PM.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
Here is a wild guess. Your board title has a ampersand. And that appears to be where it is choking. Firefox seems okay but chrome and IE don't like it. Just for thrills try deleting it for a test.
Okay this peeked my interest. So I checked the feeds on my site. Using IE, Firefox and Chrome. Chrome barks the most and firefox barks the least. But there is some type of problem. Between the three I either get a error or some or many posts are missing on the feed. Using v7.5.6
Last edited by Ruben; 01/14/2011 6:11 PM. Reason: added comment
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
It's definitely the &, it should be escaped with htmlspecialchars
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I thought so too Giz. I even had a feed with the ampersand and deleted it, still have a problem. Cleared cache via control panel. Did not manually delete though.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
I'm wondering if changing this line: <generator>{$config.COMMUNITY_TITLE} - UBB.threads(tm)</generator>
In templates/default/rss_xml.tpl To: <generator>{htmlspecialchars($config.COMMUNITY_TITLE)} - UBB.threads(tm)</generator>
Would work...
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
humm. I might try that on my site for a test.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Nov 2006
Posts: 173
member
|
member
Joined: Nov 2006
Posts: 173 |
keep me posted if you can.... i'll remove the ampersand =========== now i still have a different error in chrome. seems fine in safari still http://ambergriscaye.com/forum/cache/global_rss48.xmlThis page contains the following errors: error on line 8 at column 30: xmlParseEntityRef: no nameBelow is a rendering of the page up to the first error. Ambergris Caye Belize Message Board http://ambergriscaye.com/forum/ubbthreads.php Ambergris Caye Belize Message Board
Last edited by mcasado; 01/15/2011 3:45 AM.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Well, line 8 is that &: <generator>Ambergris Caye & Belize Message Board - UBB.threads(tm)</generator>
|
|
|
|
Joined: Nov 2006
Posts: 173
member
|
member
Joined: Nov 2006
Posts: 173 |
that "&" is gone tho. so how could something thats gone be causing a problem? there is no longer an "&" in the title of the board. now it really messes up.shows mass html. i don;'t think this feature is ready for prime time. it works in some browsers only apparently, it doesn't work in chrome. take a peek in chrome. big mess http://ambergriscaye.com/forum/cache/global_rss48.xml
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
that feed look great in Firefox and Chrome
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
that feed look great in Firefox and Chrome This is what I get in chrome: Ambergris Caye Belize Message Board http://ambergriscaye.com/forum/ubbthreads.php Ambergris Caye Belize Message Board Ambergris Caye Belize Message Board - UBB.threads(tm) Re: Volleyball Tournament, Food, & drinks http://ambergriscaye.com/forum/ubbthreads.php/topics/397403/Re_Volleyball_Tournament_Food_.html#Post397403 Sat, 15 Jan 2011 13:13:09 MST Re: Todays Weather IE and Firefox are fine.
Last edited by Ruben; 01/15/2011 3:49 PM. Reason: had to change from text quote to html quote to show tags
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Looks great now marty, looks like the cache hadn't cleared after your change.
BTW, it's just supposed to be a jumble of crap, you're supposed to use some sort of parser to read the feed data, not read it directly.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I got it now. Stupid chrome does not have a built in rss reader by default you need to install a extension for rss. So the error is gone and after installing the extension it now parses the page correctly. Here is the extension I added to chrome. https://chrome.google.com/extensions/detail/nlbjncdgjeocebhnmkbbbdekmmmcbfjdNow I will close chrome and probably never open it again. Piece of junk!
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Nov 2006
Posts: 173
member
|
member
Joined: Nov 2006
Posts: 173 |
you are good. thanks. i never use it either!
|
|
|
0 members (),
744
guests, and
147
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|