aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/SPtests/rss/0.91-netscape
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_title/SPtests/rss/0.91-netscape')
-rw-r--r--simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php22
-rw-r--r--simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php22
-rw-r--r--simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php22
-rw-r--r--simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php22
-rw-r--r--simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php22
5 files changed, 110 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php
new file mode 100644
index 000000000..51e0ef749
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Title_Test_RSS_091_Netscape_Atom_03_Title extends SimplePie_Feed_Title_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://purl.org/atom/ns#">
+ <channel>
+ <a:title>Feed Title</a:title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Feed Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php
new file mode 100644
index 000000000..2daf561f6
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Title_Test_RSS_091_Netscape_Atom_10_Title extends SimplePie_Feed_Title_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:title>Feed Title</a:title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Feed Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php
new file mode 100644
index 000000000..c95fcd4d8
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Title_Test_RSS_091_Netscape_DC_10_Title extends SimplePie_Feed_Title_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.0/">
+ <channel>
+ <dc:title>Feed Title</dc:title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Feed Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php
new file mode 100644
index 000000000..b5c9c5211
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Title_Test_RSS_091_Netscape_DC_11_Title extends SimplePie_Feed_Title_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>
+ <dc:title>Feed Title</dc:title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Feed Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php
new file mode 100644
index 000000000..928bbbe81
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Title_Test_RSS_091_Netscape_Title extends SimplePie_Feed_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91">
+ <channel>
+ <title>Feed Title</title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Feed Title';
+ }
+}
+
+?> \ No newline at end of file