Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But on this particular feed, the title looks like this:$story_headline = $xml->{entry}->[0]->{title}->[0];
<entry> ... <title type='text'>My Title</title> ... </entry>
The extra "type='text'" is throwing things off. How do I modify my line of code above so that it grabs the data between the title tags?
Thank you!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP parsing - small question about tags
by ikegami (Patriarch) on Jun 18, 2009 at 19:02 UTC |