Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Extracting HTML content between the h tags

by vagabonding electron (Chaplain)
on Aug 05, 2012 at 14:09 UTC ( #985529=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @solution_2 = $content->findvalues( './h2[4]/preceding-sibling::*' 
    +);
    unless ( @solution_2 )
    {
       @solution_2 = $content->findvalues( '//hr/preceding-sibling::*' );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985529]
help
Chatterbox?
[Corion]: Meh. I need to find myself a better "programming" feed than r/programming (which is just HackerNews reposts and advertisements, very little code). Maybe I should select a list of links that I liked on r/programming and then google for ...
[Corion]: ... an aggregator site that also listed (ideally) all of these links once. And maybe also have an exclude list to blacklist some of the most spammy links that the site may have never mentioned at all

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-07-24 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (354 votes). Check out past polls.