Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Parse headlines to HTML file

by Arunbear (Parson)
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).


Comment on Re: Parse headlines to HTML file
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-07-13 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (244 votes), past polls