The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
15 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 ...
0
votes
1answer
84 views

RSS feed request URL being corrupted

I have 2x websites. Website one has lots of user profile information and website two is used to reference this information, to avoid duplication of work. To achieve this, I use a custom RSS feed. ...
1
vote
0answers
68 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) { ...
1
vote
1answer
93 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 ...
2
votes
1answer
549 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 ...
3
votes
1answer
454 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( ...
0
votes
2answers
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 ...
3
votes
2answers
429 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 . ...
0
votes
6answers
1k 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 ...
1
vote
1answer
573 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: ...
1
vote
2answers
243 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'); ?> ...
0
votes
1answer
316 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 ...
0
votes
1answer
451 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 ...
0
votes
3answers
419 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 ...
0
votes
3answers
420 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 ...
1
vote
2answers
630 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 ...
2
votes
1answer
1k 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 ...