xml feed issue

Discussion in 'Site Problems & Feedback' started by xsivforce, May 20, 2004.

  1. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    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"
     
  2. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    I'll check it out mate.
     
  3. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
  4. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
  5. gonaads

    gonaads Beware the G-Man Political User Folding Team

    Ewww... that's a strange one.
     
  6. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
  7. gonaads

    gonaads Beware the G-Man Political User Folding Team

    Ewww, wierd, odd, etc... :D

    I just posted that news bit.
     
  8. gonaads

    gonaads Beware the G-Man Political User Folding Team

    And of corse ya click the link and ya get yer typical "page load error". :(
     
  9. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    Ahhh. Yeah, that is taken straight from the feed. Just a small issue.
     
  10. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    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.
     
  11. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    Cool. Not sure why it is showing the way it is.
     
  12. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    ok I have removed the <image bits, let me know if that sorts it.
     
  13. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    Yes Sir, that did it. Thank you.
     
  14. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    excellent, dunno what that bit of code did anyway, so deleting it was even more satisfying.

    Don't try that at home kids!
     
  15. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    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:
     
  16. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    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.
     
  17. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Moved to fixed :)
     
  18. xsivforce

    xsivforce Prodigal Son Folding Team

    Messages:
    8,547
    Location:
    Texas, USA
    Yeah, I've run into that as well. " ' and & are among them...