]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php
Add simplepie
[friendica.git] / simplepie / test / first_item_author_name / SPtests / rss / 0.91-netscape / dc / 1.1 / creator.php
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php
new file mode 100644 (file)
index 0000000..8e07922
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Netscape_DC_11_Creator extends SimplePie_First_Item_Author_Name_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.1/">
+       <channel>
+               <item>
+                       <dc:creator>Item Author</dc:creator>
+               </item>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Item Author';
+       }
+}
+
+?>
\ No newline at end of file