]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php
Add simplepie
[friendica.git] / simplepie / test / feed_image_url / SPtests / rss / 1.0 / atom / 1.0 / logo.php
diff --git a/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php
new file mode 100644 (file)
index 0000000..a66cbd8
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Image_URL_Test_RSS_10_Atom_10_Logo extends SimplePie_Feed_Image_URL_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">
+       <channel>
+               <a:logo>http://example.com/</a:logo>
+       </channel>
+</rdf:RDF>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'http://example.com/';
+       }
+}
+
+?>
\ No newline at end of file