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... :D

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. :cool:
 
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.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back