Plugin Support
Shawn
(@shawnogordo)
Are you re-importing the same feed multiple times? If so, that’s not really how the import function in PowerPress is designed to work.
Still, make sure when you copy/paste the feed URL from SoundCloud that there isn’t any white space before or after the pasted URL, as this may cause issues.
Hello @hgetrost,
Thanks for being a PowerPress user!
I just imported your feed into our sandbox and did not have any issues. Mine did find 46 items (not 45) in the feed. It is possible that SoundCloud’s content delivery network closest to where your server is located is serving the older version of your podcast feed, which would explain why it is not picking up the new episode. I would try it again now that it has been more than 12 hours since you last tried the import to see if it now works.
If it still does not work, try changing the URL to the feed slightly by adding a question mark followed by some junk that way it bypasses any caching on SoundCloud’s servers. e.g. http://feeds.soundcloud.com/users/soundcloud:users:276417567/sounds.rss?this=that
Please let us know if you got the issue resolved or are still having issues.
Thanks,
Angelo
Hi Angelo,
You would have found 46 instead of 45 because I set the new episode to show in RSS Feed after my testing. I have restricted it from the feed in case it was something to do the latest Ep.
We migrated to new servers last week and the nginx log files show the following error, looks like we might not have an xml parser in our new environment? Am waiting to hear back from our server guy but just thought to update you on what we’re looking at here.
2017/07/10 12:00:15 [error] 5425#5425: *5885749 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /DATA/public_html/upliftconnect.com/wp-content/plugins/powerpress/powerpressadmin-rss-import.php:1413
Stack trace:
#0 /DATA/public_html/upliftconnect.com/wp-content/plugins/powerpress/powerpressadmin-rss-import.php(722): PowerPress_RSS_Podcast_Import->_parse_enclosure(‘<enclosure typ…’, ‘\n <guid is…’, ”)
#1 /DATA/public_html/upliftconnect.com/wp-content/plugins/powerpress/powerpressadmin-rss-import.php(962): PowerPress_RSS_Podcast_Import->import_item(‘\n <guid is…’, Array, false, ”, ”, ”, ”, ”, false, ‘publish’)
#2 /DATA/public_html/upliftconnect.com/wp-content/plugins/powerpress/powerpressadmin-rss-import.php(1108): PowerPress_RSS_Podcast_Import->import_episodes(Array, false, 0, ”, ”, ”, ”, false, ‘publish’)
#3 /DATA/public_html/upliftconnect.com/wp-content/plugins/powerpress/powerpressadmin-rss-import.php(1201): PowerPress_RSS_Podcast_Import->import()
#4 /DATA/public_html/upliftco” while reading upstream, client: 192.88.134.18, server: upliftconnect.com, request: “POST /wp-admin/admin.php?import=powerpress-soundcloud-rss-podcast HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “upliftconnect.com”, referrer: “http://upliftconnect.com/wp-admin/admin.php?import=powerpress-soundcloud-rss-podcast”
Hello @hgetrost,
The error messages are very helpful. Yes please contact your hosting provider to enable PHP’s XML extension. We will be adding such a message in our import tool as well. I never thought an administrator would disable the XML library like that but obviously they have. It is used in a number of other areas of WordPress, though if you never import feeds or other XML data you would never run into this problem.
Hi Angelo,
Thank you for your advice, I have forwarded to our server administrator, I am sure it will be helpful to him.
Yes great idea to catch the error to report to the end user, there’s always scenarios you can’t think of when developing but do happen!
Thanks for your attention as always.
Heide
Hello Heide,
Just following up, was your web host able to enable PHP’s XML extension.so you can import your feed?
Thanks,
Angelo