Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jonpeter

macrumors member
Original poster
Sep 19, 2013
42
0
MI
So I'm basically a newborn web-developer/designer.

I was wondering if there is a way to get a list of all the day's headlines (pure article title) in a list format (say from a site such as macrumors or engadget)?

Also.
Way to take a selected title and then "expand" the article as though looking at the article without going to the actual site?

Thanks!
 
For your first request, I'd look at something like SimplePie which is a PHP library that scrapes RSS feeds. Obviously this relies on your source having an RSS feed but most of the major news channels do. Since this is a PHP option, it's run server side. I have used Yahoo Pipes to do a similar thing on the client side but I'm not sure if it's still in active development - it still works. One advantage Pipes has over RSS is that you can scrape any page to get what you want.

The only way I can think of (having just risen here in the UK) is if the site(s) offer an API through which you could get the article using AJAX
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.