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

Can't parse RSS feed

How Do I?

Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil

I am trying to get the feed parser plugin to work with EE 3.0.5. I have installed the module with no problems via the add-on manager and I am using the sample code provided in the docs. I have a template consisting of nothing but

{exp:rss_parser url="https://ellislab.com/blog/rss-feed" limit="10"}
<ul>
    {feed_items}
        <li><a href="http://{item_link}">{item_title}</a></li>
    {/feed_items}
</ul>
{/exp:rss_parser}

The feed is valid, but EE returns an empty page, i.e. nothing at all. Any bright ideas? Logs I should check? Has anybody managed to get the plugin to work with EE 3?

I get no obvious errors, just no feed.

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil

Update: Looks like the parser can’t handle https feeds, including EllisLab’s own and fails silently. Feature request or bug report, what do you say?

Update 2: Looking at the code of the plugin, I learned about

{if feed_error}{feed_error}{/if}

(which probably should be in the docs as well). Adding this, I get

RSS Parser Error: cURL error 60: SSL certificate problem: unable to get local issuer certificate

Does that mean there’s an issue with my setup?

Update 3:

It’s all good. I just had to install a bunch of public keys that should have been there in the first place, basically following this advice.

       

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.