I need to filter an XML/RSS so it only displays all items with a specific variable.
Here is the Feed:
Here is the variable I need filtering:
I require the entire finished coding for it to work.
I hope to have it as an rss feed to paste into a plugin.
Gabriel Reguly answers:
Does it look good to you?
Edit: Indeed, it just shows the feed URL.
After I wrote you the answer something has changed at the feed source, I suspect the feed content become has become too big for my server.
Anyway I have added an error message, which was missing because the code was just working when I wrote the answer.
I have added a local copy at my server and it seems to work. So perhaps the issue is that it was just too slow to get the data from the feed source.
Please have a look and tell me what you think about it.
Question is expired, please extend it clicking on Extend Question by 1 Day? link, else other experts won't be albe to participate.
Regarding your reply, "/home/localhost/" means your are testing your code at your server, but the issue is pretty same the one I described before: Feed content is too big to be processed by your server.
Possible solution, add this line to your wp-config.php file:
All I see is the URL.,
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 9 bytes) in /home/localhost/wp-includes/SimplePie/Parser.php on line 324