Jump to content

Workflow to get the headlines from news website?


Recommended Posts

Posted (edited)

Hi,

I am new to workflows but wanted to know if there is a template or a workflow I can alter to type Bbcnews and get a list of the headlines on the BBC news website (or Cnn or whatever)?

 

Sort of like the product hunt one that gives the latest hunts as a list.

 

Thank you for your help.

Edited by Sashaz
Posted

It can’t be done with a template because the method will be site-specific. Doing it for every news site would be a bit laborious, but if you make a specific request, I can take a stab at it.

Posted
17 minutes ago, Sashaz said:

Are they hard to make?

 

It's pretty simple if the site provides RSS feeds, which the BBC does.

 

In particular, you can then use the workflow with basically any site that provides RSS feeds just by changing the feed URL.

Posted (edited)

There you go.


Other RSS feeds might work right out of the box. The only thing you need to do is copy the Script Filter, change it’s Keyword and Placeholder Title for whatever you need, then on the Script box put the feed’s URL between the quotes.

Edited by vitor
Posted

Updated the link for the download. Use that one instead. The code is a bit more complex but it caches results for one hour, so you don’t end up hammering their servers every time you run it.

  • 4 months later...
  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...