]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php
Add simplepie
[friendica.git] / simplepie / test / first_item_id / SPtests / rss / 0.91-netscape / atom / 0.3 / id.php
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php
new file mode 100644 (file)
index 0000000..0d2396f
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_091_Netscape_Atom_03_ID 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:a="http://purl.org/atom/ns#">
+       <channel>
+               <item>
+                       <a:id>http://example.com/</a:id>
+               </item>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'http://example.com/';
+       }
+}
+
+?>
\ No newline at end of file