Jump to content
Sashaz

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

Share this post


Link to post

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.

Share this post


Link to post
2 minutes ago, Sashaz said:

Are they hard to make?

 

Depends on the site. If they have a structured list we can grab (like an RSS feed), it makes it easier. Generally they aren’t hard to make if you can code. I already have a Workflow that does something similar so I’ll reuse code if I can.

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post

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.

Share this post


Link to post
On 10/31/2018 at 6:51 PM, Bhishan said:

 

Every transfer.sh link is broken. They only last 14 days and the service will be discontinued at the end of the month. I’ll revive those Workflows as people ask, but since this was only a variation of another Workflow of mine, I doubt it’s worth it.

Share this post


Link to post

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
×