diff options
Diffstat (limited to 'simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0')
-rw-r--r-- | simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php | 22 | ||||
-rw-r--r-- | simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php new file mode 100644 index 000000000..ded856a72 --- /dev/null +++ b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Image_URL_Test_RSS_091_Netscape_Atom_10_Icon extends SimplePie_Feed_Image_URL_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://www.w3.org/2005/Atom"> + <channel> + <a:icon>http://example.com/</a:icon> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php new file mode 100644 index 000000000..1e4bdabb8 --- /dev/null +++ b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Image_URL_Test_RSS_091_Netscape_Atom_10_Logo extends SimplePie_Feed_Image_URL_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://www.w3.org/2005/Atom"> + <channel> + <a:logo>http://example.com/</a:logo> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |