xml feed issue

xsivforce

Prodigal Son
Joined
11 Feb 2002
Messages
8,547
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"
 

gonaads

Beware the G-Man
Political Access
Joined
31 Mar 2002
Messages
18,474
Ewww, wierd, odd, etc... :D

I just posted that news bit.
 

gonaads

Beware the G-Man
Political Access
Joined
31 Mar 2002
Messages
18,474
And of corse ya click the link and ya get yer typical "page load error". :(
 

xsivforce

Prodigal Son
Joined
11 Feb 2002
Messages
8,547
Ahhh. Yeah, that is taken straight from the feed. Just a small issue.
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
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.
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
ok I have removed the <image bits, let me know if that sorts it.
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
excellent, dunno what that bit of code did anyway, so deleting it was even more satisfying.

Don't try that at home kids!
 

xsivforce

Prodigal Son
Joined
11 Feb 2002
Messages
8,547
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:
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
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.
 

xsivforce

Prodigal Son
Joined
11 Feb 2002
Messages
8,547
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

Latest profile posts

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,592
Latest member
Rhilani