Need to pull the item content from RSS feeds into new file in PERL -
i beginner perl.. item's listed under channel different output file.
<rss version="2.0"> <channel> <title>xyz</title> <item> <title>item1</title> </item> <item> <title>item1</title> </item> </channel> <rss>
in output file want item content listed within tag.
like below :
<items> <item> <title>item1</title> </item> <item> <title>item1</title> </item> </items>
please or suggest ?
i tried match operator well. match item , pull. nothing works.. please help
use xml::feed
(docs here) parse rss , item-elements , whatever want it.
Comments
Post a Comment