diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/first_item_id/SPtests/rss/1.0 | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss/1.0')
4 files changed, 84 insertions, 0 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php new file mode 100644 index 000000000..095302d0f --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_10_Atom_03_ID extends SimplePie_First_Item_ID_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:id>http://example.com/</a:id> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php new file mode 100644 index 000000000..65fb43c45 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_10_Atom_10_ID extends SimplePie_First_Item_ID_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:id>http://example.com/</a:id> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php new file mode 100644 index 000000000..e9194ca29 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_10_DC_10_Identifier extends SimplePie_First_Item_ID_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:identifier>http://example.com/</dc:identifier> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php new file mode 100644 index 000000000..be2907fcb --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_10_DC_11_Identifier extends SimplePie_First_Item_ID_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:identifier>http://example.com/</dc:identifier> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |