xml feed issue

xsivforce

Prodigal Son
Joined
11 Feb 2002
Messages
8,557
There is a small issue with the xml news feed. The first article in the feed also contains the site url.

For instance, instead of "Whizlabs Launches MCP Exam Simulator" it shows "OSNNWhizlabs Launches MCP Exam Simulator" with a url of "http://www.osnn.nethttp//www.osnn.net/comments.php?shownews=10384" instead of "http//www.osnn.net/comments.php?shownews=10384"
 
Ewww, wierd, odd, etc... 😀

I just posted that news bit.
 
And of corse ya click the link and ya get yer typical "page load error". 🙁
 
Ahhh. Yeah, that is taken straight from the feed. Just a small issue.
 
Code:
- <channel>
  <title>OSNN</title> 
  <link>http://www.osnn.net</link> 
  <description>OSNN Backend</description> 
  </channel>
- <image>
  <title>OSNN</title> 
  <link>http://www.osnn.net</link> 
  </image>

I guess your code is not parsing that part quite right?
I think I need to tidy that part up a little, will do it when I get home.
 
ok I have removed the <image bits, let me know if that sorts it.
 
excellent, dunno what that bit of code did anyway, so deleting it was even more satisfying.

Don't try that at home kids!
 
Not sure as you and I use the same software for our xml feed. I am using an image in mine. Odd *shrugs* Well, it works fine now so it's all good. 😎
 
Well mine is fairly funked, and there are still a few glitches, I will get em sorted eventually. It doesn't like some characters and it can knock it all over... tho some pages can still parse it correctly.
 
Electronic Punk said:
It doesn't like some characters and it can knock it all over... tho some pages can still parse it correctly.
Yeah, I've run into that as well. " ' and & are among them...
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,641
Latest member
cpomd
Back
Top