We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to RSS parser

How Do I?

Wessel's avatar
Wessel
32 posts
4 years ago
Wessel's avatar Wessel

Hi All,

Just want to retrieve some data from XML / RSS feed: this feed

The data I want to parse:

<stand:ranking>
<stand:nummer>1</stand:nummer>
<stand:team id="7160DS 2">
<![CDATA[ Peelpush DS 2 ]]>
</stand:team>
<stand:wedstrijden>4</stand:wedstrijden>
<stand:punten>16</stand:punten>
<stand:setsvoor>12</stand:setsvoor>
<stand:setstegen>4</stand:setstegen>
<stand:puntenvoor>381</stand:puntenvoor>
<stand:puntentegen>329</stand:puntentegen>
</stand:ranking>

The data form the <item></item> I can parse with this code. But how to retrieve the <stand:ranking>?

{exp:rss_parser url="https://api.nevobo.nl/export/poule/nationale-competitie/{volleybal_rss_code}/stand.rss" limit="10" refresh="720"}
    {feed_items}
        <h3>{item_title}</h3>
        {item_description}
    {/feed_items}
{/exp:rss_parser}
       
Rob Allen's avatar
Rob Allen
2,950 posts
4 years ago
Rob Allen's avatar Rob Allen

There is an addon https://brandnewbox.co.uk/products/details/feed_parser that can parse XML data but it only supports up to EE4. It might work on EE6, but it might not, worth trying it?

Alternatively you might want to try a javascript solution, I’ve seen Jquery plugins that may work.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.