aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php')
-rw-r--r--simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php b/simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php
new file mode 100644
index 000000000..2da182f56
--- /dev/null
+++ b/simplepie/test/feed_language/SPtests/rss/0.91-netscape/language.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_Feed_Language_Test_RSS_091_Netscape_Language extends SimplePie_Feed_Language_Test
+{
+ function data()
+ {
+ $this->data =
+'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91">
+ <channel>
+ <language>en-GB</language>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'en-GB';
+ }
+}
+
+?> \ No newline at end of file