RSS2HTML php script issue

Discussion in 'PHP' started by Meh 626, Mar 5, 2009.

  1. Meh 626

    Meh 626 Guest

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #21
    I have asked my webhost to turn on register_globals but hasn't made any difference to the original script. I would still like help with it.

    I changed it to my xml file but it's just a white page, nothing on it.

    The answer is "indexfeed.xml"

    Thanks
     
    Meh 626, Mar 10, 2009 IP
  2. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Does it work with any other rss feed in your server?
     
    Joak1m, Mar 10, 2009 IP
  3. salahsoftware.com

    salahsoftware.com Peon

    Messages:
    249
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #23
    so what is the output of $url?
     
    salahsoftware.com, Mar 10, 2009 IP
  4. Meh 626

    Meh 626 Guest

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #24
    The output of the $url is:
    If you want to make sure: http://meh626.com/dev2/feedtest.php

    And that is the only XML file on my server, the code in it at the moment is:
    <?xml version="1.0"?>
    <rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" >
      <channel>
        <title>Meh626.com Index Feed</title>
        <link>[Link]</link>
        <description>[Description]</description>
        <copyright>[Copyright notice]</copyright>
        <managingEditor>meh@meh626.com</managingEditor>
        <pubDate>Thu, 26 Feb 2009 22:03:26 EST</pubDate>
        <generator>FeedMe, by the Nowhere Man (http://thenowhereman.com/hacks)</generator>
        <item>
          <title>Meh626.com V2 Test</title>
          <pubDate>Thu, 26 Feb 2009 21:48:05 EST</pubDate>
          <link>[Link]</link>
          <guid isPermaLink="false">1235702885</guid>
          <description>Testing RSS feed. &lt;a href=&quot;http://meh626.com&quot;&gt;Meh626.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Meh.</description>
        </item>
      </channel>
    </rss>
    
    Code (markup):
     
    Meh 626, Mar 11, 2009 IP
  5. Meh 626

    Meh 626 Guest

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #25
    I have got the script working. It was a problem with the template. I still have one problem, the image and links codes are not working correctly: http://meh626.com/dev2/index.php

    As you can see the post is displayed but the link and image code aren't generated correctly.

    Thanks,

    Meh 626
     
    Meh 626, Mar 13, 2009 IP