I am planning to use SimplePie to aggregate lots of RSS.
I was unable to find a way how I can display the list of invalid feeds. Those feeds where a actual rss/atom feed was not found or data could not be extracted.
Can you please help me?
I just want to know which of the feeds set in the set_feed_url are invalid.
Thank you in advance
I call $feed->error() after calling $feed->init(), which returns an array with any feeds that had errors. You can use that information to remove the feeds from your list.
Related
I'm trying to load the rss content provided by Yahoo Finance, for example, from http://finance.yahoo.com/rss/headline?s=yhoo (which actually seems to redirect toward (http://feeds.finance.yahoo.com/rss/2.0/headline?s=yhoo®ion=US&lang=en-US).
Anyway, the point is the url will only provide 20 <item> and I'd like to load more than that. Feedly doesn't seem to have any problem doing so, so maybe there's a query parameter I'm not aware of?
Services like Feedly store feed history, but feed publishers usually don't provide older feed entries. So your best bet is to use Feedly's api: https://developer.feedly.com/v3/streams/
See also: How to get more feeds from RSS url?
I am using the RSS river plugin for elasticsearch to index an RSS feed and it is working great with one exception, it does not store / index the "content" field produced by wordpress. From the source it doesn't look like there is a way to do this but I might be missing something.
Are there any suggestions on how to accomplish this? Or plans to add this to the plugin in the future?
This is the feed I am using: https://blog.mariadb.org/feed/
Could you create an issue in https://github.com/dadoonet/rssriver and I will look at it?
If you could also add some sample documents that would be awesome.
Thanks
I've been working with pipes for a while now, I am trying to output more than the basic structure of:
Item
title
link
description
guid
pubDate
I want to publish more data in the RSS feed under different fields but cannot figure out if this is even possible. Any ideas?
This post at the Yahoo Pipes blog goes through the basics of building a complex RSS feed with a couple examples.
http://blog.pipes.yahoo.net/2009/06/10/new-create-rss-and-rss-item-builder-modules/
I know this is not related to yahoo pipes, but if you are looking for etl tools, i found yahoo pipes very limiting. I have had the best luck with Open Kapow. Just in case you have not heard about/used it.
I admit to being a bit behind the times when it comes to understanding RSS/Atom feed issues.
All I know is, I want to have an Atom feed converted to an RSS feed inline. Meaning that I want to specify an option somewhere that says use this xsl or whatever to convert the Atom feed to an RSS feed.
Is there some way to accomplish this that doesn't require running a separate listener on my local box to do the translation? I.e. Instead of directly asking for the Atom feed, I get my 'service' to get the feed, transform it and give it to the real subscriber?
Sorry for the (probably) dumb question. Somehow I never got the memo on this stuff.
Thanks - Jon
Similar to Paul's answer... we use Feedburner for feeds - it's trivial to have it convert one type of feed to another.
Atom to RSS on the fly
Sounds like a Yahoo Pipes job to me..
http://pipes.yahoo.com/pipes/pipe.info?_id=Aj_YHfi62xGuBj4KkAtvUw
If you want to write your own, using C#. You would download the Atom and save it as RSS using the SyndicationFeed class. It's about 4 lines of code.
I need to have a complete list of feeds provided by all of sites or list of sites which have rss feeds on their site. Searched on google a lot, but couldn't find out how to get that list.
You'll never be able to get a complete list of all RSS feeds on the Internet. Such lists just do not exist. Your best bet would be to see if any of the big RSS aggregators offer lists of feeds they know about - but that is commercially important information, so I doubt they'll be giving it away, and certainly not for free!
You could use google: Results 1 - 10 of about 3,880,000,000 for *.rss. (0.23 seconds) Have fun