]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php
Add simplepie
[friendica.git] / simplepie / test / first_item_content / SPtests / rss / 1.0 / atom / 1.0 / content.php
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php
new file mode 100644 (file)
index 0000000..6d63fd1
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Atom_10_Content extends SimplePie_First_Item_Content_Test
+{
+       function data()
+       {
+               $this->data = 
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom">
+       <item>
+               <a:content>Item Description</a:content>
+       </item>
+</rdf:RDF>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Item Description';
+       }
+}
+
+?>
\ No newline at end of file