diff options
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0')
-rw-r--r-- | simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php new file mode 100644 index 000000000..693b10ec7 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_091_Netscape_DC_10_Identifier extends SimplePie_First_Item_ID_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:identifier>http://example.com/</dc:identifier> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |