The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
25 views

How to get SimplePie fetch_feed without stripping iframe code?

I'm grabbing a remote feed in my plugin and some entries have iframe code I want to keep. However, SimplePie keeps stripping it out. Here is my code and what I've tried already: ...
0
votes
3answers
145 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 ...
0
votes
0answers
15 views

RSS Feed Notifications

I'm creating a site that pulls RSS feeds from various blogs & displays their latest posts. On the category/archive pages, I'd like to show a small notification on each post whenever there is a new ...
1
vote
1answer
69 views

How to delete transients written by fetch_feed()?

I'm using fetch_feed() to cache external rss sources displayed in a widget. in case the widget (or, more likely, the whole plugin) is deleted/deactivated, i want to manually delete all related ...
1
vote
1answer
113 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
45 views

fetch_feed works on localhost but not on server

There is one similar question, but I can't seem to get round to what's going on. So any help appreciated... The following code works just fine on localhost, but when on the live site I get the ...
0
votes
1answer
47 views

Check if feed is fetched successfully

I am trying to fetch specific post feed from my one side to another one. every thing works fine, only thing I need to check is that if the feed is not successfully fetched by custom field, it should ...
0
votes
0answers
8 views

Fetch specific post from anothere wordpress installation

I have two separate WordPress installation with different databases. mysite.com and second is a sub-domain ar.mysite.com the 2nd site is a Arabic translated version of site one, the ...
0
votes
0answers
24 views

WordPress fetch_feed returning only one (latest) item

I am trying to get feed details, using fetch_feed function, from a input field populated by users. I followed the code snippet from here. It gets the items nicely, but the problem is, it is returning ...
0
votes
0answers
110 views

WP_Remote_Get feed from .php file

I have a bunch of wordpress sites which sit on different domains, and I want to track all the user data on one central site. I wrote a simple file for each wordpress site to display user counts in an ...
0
votes
1answer
68 views

Using fetch_feed to retrieve items with non common titles

I'm trying to fetch some feeds using fetch_feed, however, into the for foreach, as the documentation says, I can access to values with common titles like title, permalink, etc using the get-> ...
1
vote
1answer
134 views

fetch_feed returning rss feeds on same server as empty

I'm trying to use fetch_feed to pull a feed that is hosted on the same server (but uses a different domain name). So, my site is, for example, bullfrogs.com and I'm trying to pull an RSS feed of ...
0
votes
0answers
21 views

Is there a method to get a RSS element that is not covered by fetch_feed

Is there a method to get a RSS element that is not covered by current methods, for example: $item->get_title() when using fetch_feed? Thanks Kaiser, I found the solution: if ($enclosure = ...
1
vote
1answer
104 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 ...
0
votes
1answer
295 views

How can I get url from image tag in feed with fetch_feed?

I used this piece of code in functions.php to add featured image in <image> tag in feed add_action('rss2_item', 'add_my_rss_node'); function add_my_rss_node() { global $post; ...
0
votes
1answer
135 views

fetch_feed function works on template index.php but not in plugin/wp-admin

I am using fetch_feed and basically have the same code as the great example provided here but I am creating new posts from the content instead of displaying it afterwards. The errors I am seeing are: ...
0
votes
1answer
104 views

fetch_feed showing only first item

I'm trying to import a feed from a WordPress site to another using fetch_feed(). All is good except for the fact I can get only the first item of the feed. Here's the code I'm using ...
0
votes
1answer
283 views

get_item_quantity() Error When Fetching Feed

I'm using this script in two places on the same page to output some RSS feeds: <?php include_once(ABSPATH . WPINC . '/feed.php'); $rss = ...
0
votes
2answers
206 views

How do I use fetch_feed() to pull in a large number of posts?

When I use fetch_feed() to pull in posts from a feed, even if I set the maximum posts variable to a very high number, it will only pull in 10 posts. I want to pull in all the posts and then paginate ...
2
votes
1answer
607 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 ...
0
votes
1answer
551 views

Aspx/Rss feed - failed to open stream: Redirection limit reached

I have this issue ive been stuck with now. Its when i load a page that have a feed. I put the feed in wp-admin , this usually work with other feeds but not sure why its not working with this kind of ...
1
vote
1answer
91 views

How do I get link URLs from the Wordpress links backend into an array?

I'm currently running a blogroll on a site I'm working on by defining a variable with an array that has all the rss feed urls I want to pull from. Like this for example: <?php // Get RSS Feed(s) ...
1
vote
1answer
642 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
1answer
675 views

Combining RSS Feeds and Sorting with fetch_feed

I'm trying to create a feed of the most recent 10 posts from 5 different feeds all combined into one list. I found a way to combine the feeds but have not been able to easily limit them to 10 and sort ...
1
vote
1answer
283 views

wp_remote_get vs. fetch_feed ? which is the better for performance?

I m trying to share my web site contents for other web sites using by external loop file or rss file. when i asked some questions about wp_remote_get function ; @Serkan suggest to me , using ...
1
vote
1answer
1k views

Add a Post Thumbnail to an RSS Feed with custom size

I have two different blogs on the same domain and my goal is to get the 3 latest posts from blog1 to show on the home page of blog2. Everything goes well following these instructions: ...
0
votes
1answer
2k views

Getting Thumbnail in fetch_feed from custom field

i have setuped showing rss from my network site using fetch_feed(); include_once(ABSPATH . WPINC . '/feed.php'); $rss = fetch_feed('rss link here'); $maxitems = $rss->get_item_quantity(5); ...
0
votes
1answer
189 views

Need correct results from 6 rss (fetch_feed)

I Just need some correct results from 6 rss feed I am fetching 6 feeds and maked a news ticker bar at http://thehoopdoctors.com/online2/newfeed/ I am getting results from 6 rss feeds like First ...
0
votes
3answers
448 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 ...
2
votes
1answer
252 views

Scheduled event does not run at midnight

I have an event scheduled to fetch feeds from different sources at midnight. I believe for some reason it is not being triggered. I use Core Control plugin for testing. When I 'Run Now' through it, ...
0
votes
2answers
300 views

Disable Outbound Web Requests

I've setup wordpress on AWS. I want to reduce as much network traffic as possible. What services/jobs do I need to disable in Wordpress?
2
votes
2answers
8k views

How to get a post content from another wordpress blog/site?

I have a situation where i need to display posts from a specific category from another wordpress site into my wordpress site. Both are my sites and i thought of creating a page specially for this in ...
0
votes
2answers
367 views

Showing RSS feed via fetch_feed. How to show the site title of the feed?

Question is simple. Can i get the title and main url of the site from where the posts are loading? Actually i want to linked to the main site. The url can be found by wordpress function esc_url(); ...
0
votes
3answers
428 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
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 ...
1
vote
1answer
285 views

placement of wp_error with fetch_feed

This might be really simple, but I'm pretty hopeless when it comes to rss and WP. Where should I put the if ( is_wp_error( $feed ) ) { in a code like this: <?php $rss = ...
3
votes
3answers
593 views

Refresh external feeds only in cron?

Is there an easy way to ensure that external feeds (via fetch_feed()) are only fetched via cron, and not when a regular user visits the site? This is for performance reasons, I want to minimize the ...
2
votes
1answer
2k views

Combining multiple RSS feeds using fetch_feed

I'm using fetch_feed to display an rss feed on a theme i'm working on. I think the documentation implies that you can combine multiple feeds, can anyone confirm this, ideally with an example. Thanks ...
0
votes
2answers
170 views

Using links (link_rss field) as the source for fetch_feed

I am trying to display feeds from a couple of my blogs using the build in function fetch_feed() however I stumbled across a few problems. I am storing the rss urls in the links section and will be ...
1
vote
2answers
646 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 ...