The simplepie tag has no wiki summary.
3
votes
2answers
143 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 . ...
2
votes
1answer
101 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 ...
1
vote
1answer
182 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
92 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
156 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 ...
2
votes
1answer
133 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
1answer
167 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
318 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 ...
0
votes
6answers
614 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 ...
0
votes
2answers
1k 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 ...
0
votes
3answers
362 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 ...
2
votes
1answer
841 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 ...
1
vote
2answers
476 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 ...