Getting a list of the day's headlines?

Discussion in 'Web Design and Development' started by jonpeter, Dec 28, 2013.

  1. jonpeter macrumors member

    Sep 19, 2013
    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)?

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

  2. Dunmail macrumors regular

    Mar 27, 2009
    Skipton, UK
    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

Share This Page