aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_content/SPtests/rss
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_content/SPtests/rss')
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/content.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/summary.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/content.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/summary.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.90/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-netscape/description.php24
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/0.92/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/content.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/summary.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/summary.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/1.0/description.php21
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_content/SPtests/rss/2.0/description.php23
42 files changed, 945 insertions, 0 deletions
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/content.php
new file mode 100644
index 000000000..ee5a6226c
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_Atom_03_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:a="http://purl.org/atom/ns#">
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/summary.php
new file mode 100644
index 000000000..f1d8a56eb
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/0.3/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_Atom_03_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:a="http://purl.org/atom/ns#">
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/content.php
new file mode 100644
index 000000000..4c12dcb54
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_Atom_10_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:a="http://www.w3.org/2005/Atom">
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/summary.php
new file mode 100644
index 000000000..cc6de11ea
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/atom/1.0/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_Atom_10_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:a="http://www.w3.org/2005/Atom">
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.0/description.php
new file mode 100644
index 000000000..26c18ca29
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_DC_10_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.1/description.php
new file mode 100644
index 000000000..495efcba0
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_DC_11_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.90/description.php b/simplepie/test/first_item_content/SPtests/rss/0.90/description.php
new file mode 100644
index 000000000..cbf6096f5
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.90/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_090_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/">
+ <item>
+ <description>Item Description</description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = NULL;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php
new file mode 100644
index 000000000..9ddd30750
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_03_Content extends SimplePie_First_Item_Content_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>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php
new file mode 100644
index 000000000..1833d359f
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_03_Summary extends SimplePie_First_Item_Content_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>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php
new file mode 100644
index 000000000..7a4ac164e
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_10_Content extends SimplePie_First_Item_Content_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>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php
new file mode 100644
index 000000000..e90f938e8
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_10_Summary extends SimplePie_First_Item_Content_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>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php
new file mode 100644
index 000000000..9606684c8
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_DC_10_Description extends SimplePie_First_Item_Content_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>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php
new file mode 100644
index 000000000..5b9a2aede
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_DC_11_Description extends SimplePie_First_Item_Content_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>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/description.php
new file mode 100644
index 000000000..0b1e8e618
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php
new file mode 100644
index 000000000..4287801e7
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_03_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php
new file mode 100644
index 000000000..690a0eced
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_03_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php
new file mode 100644
index 000000000..cab5aa6e9
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_10_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php
new file mode 100644
index 000000000..f0f50d0a0
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_10_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php
new file mode 100644
index 000000000..4a63d5e4f
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_DC_10_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php
new file mode 100644
index 000000000..d745953fb
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_DC_11_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php
new file mode 100644
index 000000000..70353eeb9
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_091_Userland_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/content.php
new file mode 100644
index 000000000..728dfb2d5
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_Atom_03_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/summary.php
new file mode 100644
index 000000000..195ef3601
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_Atom_03_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/content.php
new file mode 100644
index 000000000..f24278523
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_Atom_10_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/summary.php
new file mode 100644
index 000000000..4f6c31450
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_Atom_10_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.0/description.php
new file mode 100644
index 000000000..8e5519261
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_DC_10_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.1/description.php
new file mode 100644
index 000000000..831b7c5a3
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_DC_11_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.92/description.php b/simplepie/test/first_item_content/SPtests/rss/0.92/description.php
new file mode 100644
index 000000000..eacb8ccfd
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/0.92/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_092_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/content.php
new file mode 100644
index 000000000..bbb324a6e
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Atom_03_Content extends SimplePie_First_Item_Content_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://purl.org/atom/ns#">
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/summary.php
new file mode 100644
index 000000000..522508bf9
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/0.3/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Atom_03_Summary extends SimplePie_First_Item_Content_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://purl.org/atom/ns#">
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php
new file mode 100644
index 000000000..6d63fd157
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Atom_10_Content extends SimplePie_First_Item_Content_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">
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/summary.php
new file mode 100644
index 000000000..7d252362f
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/atom/1.0/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Atom_10_Summary extends SimplePie_First_Item_Content_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">
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.0/description.php
new file mode 100644
index 000000000..8e7ea6a91
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_DC_10_Description extends SimplePie_First_Item_Content_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:dc="http://purl.org/dc/elements/1.0/">
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.1/description.php
new file mode 100644
index 000000000..b648349b5
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_DC_11_Description extends SimplePie_First_Item_Content_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:dc="http://purl.org/dc/elements/1.1/">
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/1.0/description.php
new file mode 100644
index 000000000..c38cb6a4d
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_10_Description extends SimplePie_First_Item_Content_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/">
+ <item>
+ <description>Item Description</description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/content.php
new file mode 100644
index 000000000..9d8d7a436
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_Atom_03_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/summary.php
new file mode 100644
index 000000000..3964ec9b3
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_Atom_03_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/content.php
new file mode 100644
index 000000000..fac5d7d8f
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_Atom_10_Content extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/summary.php
new file mode 100644
index 000000000..13e8b7318
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_Atom_10_Summary extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.0/description.php
new file mode 100644
index 000000000..a4844832e
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_DC_10_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.1/description.php
new file mode 100644
index 000000000..27eae4f7a
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_DC_11_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_content/SPtests/rss/2.0/description.php b/simplepie/test/first_item_content/SPtests/rss/2.0/description.php
new file mode 100644
index 000000000..bdbb248b0
--- /dev/null
+++ b/simplepie/test/first_item_content/SPtests/rss/2.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Content_Test_RSS_20_Description extends SimplePie_First_Item_Content_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file