• Hi,

    I’m trying to import and display an external RSS feed from an site that publishes houses for sale, in sweden its called hemnet.se .

    The rss code that hemnet publishes looks like this (example item):

    <item>
             <image>
               <title>asd</title>
               <link>https://blablalba</link>
               <url>https://bilder.hemnet.se/images/itemgallery_S/da/9/da9d8cc1dbef09d0a956de08cb66c8f5.jpg</url>
             </image>
             <title>asd</title>
             <description>beskrivning</description>
             <pubDate>Tue, 22 May 2012 13:41:14 +0200</pubDate>
             <link>https://blah...</link>
             <guid>https://blah...</guid>
           </item>

    I’ve tried various plugins but they all use the built in RSS reader to interpret the xml, and it’s getting it wrong. The <item> -> <image> -> <title> is interpreted as if it was the <item> -> <title> and when presented in a list both elements are added into one string.

    The xml above is considered valid by feedvalidator so I can’t complain with that .. but does anyone know of any plugins that utilize their own RSS-interpreter that can interpret this correctly?

    The end result I’m looking for is something like:

    <ul>
    <li><a href".."><img src=image url>item title</a></li>
    </ul

    Any suggestions on how to achieve this outside of rewriting rss.php in wp myself?

    regards,
    Tobias

    PS. If you want to see the full xml, try
    https://www.hemnet.se/mitt_hemnet/sparade_sokningar/4175765.xml

  • The topic ‘WP RSS interpreter problem’ is closed to new replies.