Anyone a guru when it comes to this?
I'm looking at creating a site that ideally I would like to have serve as a sort of "portal" for lack of a better term. I would like to scrape as many news items from as many sources as I can that pertain to a very small niche idea and small geographic area.
I've had a bit of a play with google news widgets etc and they seem decent enough but would like to know of other methods that someone has experience with as well.
Ideally these feeds would "show" the content on the site so the site can benefit from SEO and searches etc.
Hope someone can clue me in on this... extremely grateful for any help.
Thanks
I've used this before:
I've used this before: http://www.aarondunlap.com/index.php?content=rss_get
That was long, long ago when I used to like PHP. IIRC, it's just for headlines though.
Rolling your own: jQuery json
Rolling your own:
jQuery json
SimpleXML functions PHP5 (not suitable for Vershwindende as he's a .nit kind of guy)
A class library for PHP (don't look Versh)
Rolling your own is the best
Rolling your own is the best choice.
... SimpleXML functions PHP5 (not suitable for Vershwindende as he's a .nit kind of guy) ...
Of course .NET has libraries for this. Linq to XML makes it a snap.
No I lost it somewhere in the
No I lost it somewhere in the first paragraph, too much techno babble, typical MSDN
So the only answer is a
So the only answer is a neutral common language so jquery json functions are probably simplest to use?
Rolling my own might be the
Rolling my own might be the best solution... but one that is probably over my head as well!
Headlines only could be an option also. I'm a raw newbie with regards to RSS so my learning curve is the steepest possible.
Drupal has this feature built
Drupal has this feature built in, by default it shows the full feed.
I use it for the news page with slightly modified output to only show a teaser and link to the original article.
It's built into WordPress as
It's built into WordPress as well.
http://codex.wordpress.org/Function_Reference/fetch_feed
Deuce wrote: It's built into
It's built into WordPress as well.
http://codex.wordpress.org/Function_Reference/fetch_feed
Cool. I had no idea. When was that added?
It used to be a function
It used to be a function called fetch_rss, was implemented in version 1.5, but was deprecated in favor of fetch_feed in 2.8
Deuce wrote: It used to be a
It used to be a function called fetch_rss, was implemented in version 1.5, but was deprecated in favor of fetch_feed in 2.8
Though I've used it for years I suppose I just didn't delve into it deep enough.
It's funny because I've
It's funny because I've gotten pretty deep into WordPress and there is still tons of stuff I am still finding out there are easier built in ways of doing things.
Deuce wrote: It used to be a
It used to be a function called fetch_rss, was implemented in version 1.5, but was deprecated in favor of fetch_feed in 2.8
Nothing clever though I suspect.
class-feed.PHP class file shows that WP are using simplePie class libraries as I mentioned above