Jump to content

RSS feed bug


Rhomal

Recommended Posts

I am trying to syndicate the nwn2 blog on my site here: http://www.nwn2worlds.net/RSSNews/tabid/71/Default.aspx

 

As you can see there is some coding error as you can see the HTML in the feed. FYI

 

Anything I can do to help you correct/test it let me know ;)

Admin of World of Darkness Online News

News/Community site for the WoD MMORPG

http://www.wodonlinenews.net

---

Jericho sassed me so I broke into his house and stabbed him to death in his sleep. Problem solved. - J.E. Sawyer

---

"I cannot profess to be a theologian; but it seems to me that Christians who believe in a super human Satan have got themselves into a logical impasse with regard to their own religion. For either God can not prevent the mischief of Satan, in which case he is not omnipotent; or else He could do so if he wished, but will not, in which case He is not benevolent. Fortunately, being a pagan witch, I am not called upon to solve this problem."

- Doreen Valiente

---

Expecting "innovation" from Bioware is like expecting "normality" from Valve -Moatilliatta

Link to comment
Share on other sites

I know jack about RSS, so hopefully I'm not completely wrong...but Googling and looking at your page source I'd say the feed has some xml issues - ie, your server/software/whatever is having problems with the forum feeds entity definitions - or lack thereof ... or something ... I don't know terminology. :thumbsup: So you have all those

 

< /b > < br etc.

being written in your pagesource rather than the actual symbol < br > that's in the XML feed, and so on; thus your page "sees" entity names and to it that means "draw a < " instead of recognizing it as a codetag to make a line break or bold or () symbols, if that made any sense at all.

 

If something like that's actually the case, it's possible you won't be able to fix it on your end, but there I don't really know.

Your portal software may have an idea/solution from past users having similar problems with linking to outside feeds.

“Things are as they are. Looking out into the universe at night, we make no comparisons between right and wrong stars, nor between well and badly arranged constellations.” – Alan Watts
Link to comment
Share on other sites

I am trying to syndicate the nwn2 blog on my site here: http://www.nwn2worlds.net/RSSNews/tabid/71/Default.aspx

 

As you can see there is some coding error as you can see the HTML in the feed. FYI

 

Anything I can do to help you correct/test it let me know :sweat:

It is not a bug, but a feature. RSS feed is XML, and HTML cannot go actual summary data inside RSS feed because HTML is (somewhat) a subset of XML.

 

Wrong:

 <channel rdf:about="...">
  <title>Some title</title>
  <link>http://some.link.tld/article</link>
  <description>
 <b>Bold text</b>
  </description>
  ...
</channel>

Can't do it, "b" is not part of RSS feed XML schema.

 

Right:

 <channel rdf:about="...">
  <title>Some title</title>
  <link>http://some.link.tld/article</link>
  <description>
 <b>Bold text</b>
  </description>
  ...
</channel>

Last one is OK, because angle brackets are escaped and they are not treated as part of RSS feed structure. Otherwise it would confuse the parser and validator, and besides, HTML is not always well-formed XML, so XML parser could choke on it.

 

You need to unescape XML tag content to get actual HTML out of it. I'm sure .NET has some utilities to help you out.

Edited by Diamond
Link to comment
Share on other sites

I see, thanks to everyone for the input and help! I'll see what I can dig up for a work around on the RSS plugins forum. :)

Admin of World of Darkness Online News

News/Community site for the WoD MMORPG

http://www.wodonlinenews.net

---

Jericho sassed me so I broke into his house and stabbed him to death in his sleep. Problem solved. - J.E. Sawyer

---

"I cannot profess to be a theologian; but it seems to me that Christians who believe in a super human Satan have got themselves into a logical impasse with regard to their own religion. For either God can not prevent the mischief of Satan, in which case he is not omnipotent; or else He could do so if he wished, but will not, in which case He is not benevolent. Fortunately, being a pagan witch, I am not called upon to solve this problem."

- Doreen Valiente

---

Expecting "innovation" from Bioware is like expecting "normality" from Valve -Moatilliatta

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...