我試圖讓從RSS源全光照perl的,XML DOM ::和XML SOM信息::分析器。 我有一個困難時期對XML越來越SOM文檔:: DOM和XML解析器:: :(Perl的XML :: DOM解析器::
這是RSS提要支出。
<rss version="2.0">
<channel>
<item>
<title>The title numer 1</title>
<link>
http://www.example.com/link1.php?getfile=1&sha=1234567890
</link>
<description>
File 1
</description>
</item>
<item>
<title>The title numer 2</title>
<link>
http://www.example.com/link1.php?getfile=2&sha=0192837465
</link>
<description>
File 2
</description>
</item>
<item>
<title>The title numer 3</title>
<link>
http://www.example.com/link1.php?getfile=1&sha=0987654321
</link>
<description>
File 3
</description>
</item>
</channel>
所以我想獲得「冠軍」,並從這個RSS提要的「鏈接」。
我不能使用XML ::的libxml或XML ::簡單或XML :: RSS
爲什麼downvote? – ikegami