Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Parse headlines to HTML file

by Arunbear (Prior)
on Sep 20, 2013 at 15:48 UTC ( #1055049=note: print w/replies, xml ) Need Help??

in reply to Parse headlines to HTML file

By "Headlines" do you mean <h1> tags, <title> tags, or something else?

There are a number of examples that you may be able to modify to do what you need (I have a vague memory of these being included in ActivePerl about a decade ago).

Replies are listed 'Best First'.
Re^2: Parse headlines to HTML file
by Chris Micken (Initiate) on Sep 20, 2013 at 16:27 UTC
    Sorry. i mean headline news. A script that will grab some headlines every hour or so and create a clean html file or even text file.

      Are you expecting to get the news from an XML feed or by scraping an HTML page? And from which web site?

      Given the large number of ways that a news headline could be represented in terms of HTML out in the wild, it's unlikely that such a script exists (for parsing HTML at least).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055049]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2018-05-25 02:31 GMT
Find Nodes?
    Voting Booth?