aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_image_title/SPtests/rss/1.0/title.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_image_title/SPtests/rss/1.0/title.php')
-rw-r--r--simplepie/test/feed_image_title/SPtests/rss/1.0/title.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_title/SPtests/rss/1.0/title.php b/simplepie/test/feed_image_title/SPtests/rss/1.0/title.php
new file mode 100644
index 000000000..a0f167e76
--- /dev/null
+++ b/simplepie/test/feed_image_title/SPtests/rss/1.0/title.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Image_Title_Test_RSS_10_Title extends SimplePie_Feed_Image_Title_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/">
+ <image>
+ <title>Image Title</title>
+ </image>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Image Title';
+ }
+}
+
+?> \ No newline at end of file