Skip to main content

Questions tagged [simplepie]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
143 views

WordPress Plugins Feed Error, but I'm not asking for a plugins feed

I'm getting this error on dozens of my sites: PHP Notice: A feed could not be found at http://wordpress.org/plugins/rss/browse/popular/. A feed with an invalid mime type may fall victim to this ...
Works for a Living's user avatar
0 votes
1 answer
61 views

Feed cache fallback - A feed could not be found

Trying to refactor a feed plugin to fallback on cache if source is unavailable (ex: for maintenance). Started using fetch_feed($url); which affords more flexibility in terms of cache. But unsure of ...
MediaFormat's user avatar
0 votes
1 answer
176 views

RSS Feed Shows NULL When Asking For Thumbnail

I am pulling in posts from separate WP installs on separate URLs. I have everything I want except for the thumbnail. My theme supports thumbnails but when I ask for the thumbnail it is showing me NULL....
Taylor Foster's user avatar
1 vote
2 answers
248 views

How to Update SimplePie

The installed SimplePie is outdated. I need the current version. The directory and files in WordPress are different, so I don't know if I can just overwrite the files with the current SimplePie.org's ...
IAmAlta's user avatar
  • 11
1 vote
1 answer
519 views

How do I fetch feed info from cache instead of directly from feed?

I have been using SimplePie to fetch items from a feed and display them on an aside section on my site. I didn't notice before, but this was increasing the load time of the site by over 10 seconds. ...
turtledropbomb's user avatar
0 votes
0 answers
165 views

Is there any harm in using RSS.php (or other deprecated features)?

I'm using RSS.php to parse RSS feeds on my site because I haven't got my head around SimplePie yet. Functionally, it works exactly as I want it to, but with error reporting on, I of course get the "...
SinisterBeard's user avatar
-3 votes
1 answer
5k views

anyone know what does simplepie do on my wordpress site? [closed]

using the next wordpress version: 4.2.2 plugins on my site: Complementos instalados: LayerSlider WP por Kreatura Media versión 5.2.0 CodeStyling Localization por Heiko Rabe ...
renato's user avatar
  • 11
5 votes
4 answers
3k views

Why does Simplepie return feed items in a wrong order?

I have this feed from picasa (correct but arbitrary, desired order). The result is messed up Also, with this feed, for example. It's fine in regular, sorted by date feeds, but not these. In the ...
Firsh - justifiedgrid.com's user avatar
2 votes
1 answer
1k views

How to get more than 25 items via Simplepie RSS Feeds?

I have a feed with 50 items but seemingly no matter what I do, it always returns just 25. $feed->set_item_limit(50); or $rss_items = $rss->get_items(0,50); none of these have any effect nor do ...
Firsh - justifiedgrid.com's user avatar
3 votes
0 answers
2k views

Getting Post Thumbnail from RSS feed with SimplePie

I am trying to pull the post thumbnail from an RSS feed to output on an external site. I am using the following function to add the post thumbnail to the site: function rss_post_thumbnail($content) { ...
Andrew's user avatar
  • 249
1 vote
1 answer
440 views

Custom query AFTER rss fetch_feed not working

I'm trying to do a custom query after an rss fetch_feed but for some reason nothing shows up. The code I'm using to fetch the feed is: <?php // Get RSS Feed(s) include_once( ABSPATH . WPINC ....
Josef Ulander's user avatar
3 votes
1 answer
1k views

WordPress SimplePie modifications

I am using the fetch_feed() function provided in WordPress to build a SimplePie feed object. The code from WP is the following: function fetch_feed($url) { require_once (ABSPATH . WPINC . '/class-...
urok93's user avatar
  • 4,034
2 votes
1 answer
2k views

fetch_feed: retrieve entries in the appearing order, not chronologically

I'm using WP function fetch_feed to retrieve a feed and display its items. <?php /* include the required file */ include_once(ABSPATH . WPINC . '/feed.php'); /* specify the source ...
MultiformeIngegno's user avatar
1 vote
2 answers
2k views

combine multiple feeds with fetch_feed and display blog titles for each item?

I'm trying to display multiple feeds using the fetch_feed function. Its working well thus far except I can't figure out why the title for each individual rss feed will not show up. Here is my code: &...
Jordan Shipman's user avatar
2 votes
2 answers
535 views

How to prepare SimplePie_Item's get_date() for l10n?

I'm trying to improve the localization of the Bones theme. On the admin side it provides an RSS widget which uses the following code: <?php echo $item->get_date('j F Y @ g:i a'); ?> This ...
Scorchio's user avatar
  • 121
1 vote
1 answer
927 views

Where does WordPress default SimplePie save cache data?

Where does WordPress default SimplePie save cache data? I could only find relevant info about cache durations but not the location. SimplePie has a method called set_cache_location() but I cannot find ...
Teno's user avatar
  • 183
4 votes
1 answer
1k views

How to use cache with simplepie

According to the docs, if you want to cache results for a fetch of RSS feeds with simplepie, you do this: add_filter( 'wp_feed_cache_transient_lifetime' , 'return_7200' ); $feed = fetch_feed( $...
Allen's user avatar
  • 173
1 vote
1 answer
2k views

Give extra post-meta to RSS feeds

I'm trying to extend an RSS feed to output some post-meta from my website. I have an 'event_date' meta-key and I need to order by this as opposed to the RSS standard publish date, which I know how to ...
David Gard's user avatar
  • 3,300
0 votes
3 answers
680 views

Unable to display favicon using get_favicon()?

I'm using fetch_feed (based on Simplepie) to display an array of RSS feeds (favicon & headlines only). Documentation on the simplepie website says to use get_favicon in the stylesheet. And I'm ...
Adam's user avatar
  • 477
0 votes
6 answers
6k views

How to reorder and display a feed to be chronological?

I have a feed from an events calendar that once put in the WordPress RSS widget displays the feed items in reverse chronological order. So the events that are farthest in the future display first, and ...
Joshua Lynch's user avatar
0 votes
2 answers
2k views

WP HTTP Error: couldn't connect to host for RSS feeds on same domain

I'm having trouble reading RSS feeds created by WP3 on the same domain. When I do a print_r($rss); at the part of my plugin where it does the RSS parsing, I get the following output: WP_Error ...
aendra's user avatar
  • 1,045
0 votes
3 answers
616 views

Passing feed URLs with "&" to fetch_feed()?

How do I pass feed URLs with & in the URL to fetch_feed()? The feed is not parsed correctly if there is a & in the feed URL. Actually it works in the example I gave, but now I'm populating ...
mike23's user avatar
  • 5,981
3 votes
2 answers
3k views

Troubleshooting fetch_feed and SimplePie

I've got a very basic solution using fetch_feed() and SimplePie to pull in RSS items which is working on my localhost, but for some reason is_wp_error() persists as true on the live server. Is there ...
Sampson's user avatar
  • 2,949
1 vote
2 answers
860 views

How to set the cache for the built-in SimplePie feed parser?

I'm using the built-in SimplePie, AKA fetch_feed(), to retrieve a feed, and I want to be able to adjust the cache time from an admin menu. SimplePie itself is well documented, but not so much the ...
Dan Gayle's user avatar
  • 6,116