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/feed_copyright | |
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/feed_copyright')
27 files changed, 561 insertions, 0 deletions
diff --git a/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php new file mode 100644 index 000000000..fc3058b0d --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_03_DC_10 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php new file mode 100644 index 000000000..65a26725c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_03_DC_11 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php new file mode 100644 index 000000000..6b1cd5dd1 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_DC_10 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php new file mode 100644 index 000000000..98bcde948 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_DC_11 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php new file mode 100644 index 000000000..3e0b7f6f0 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <rights>Example Copyright Information</rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.90/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.90/atom/1.0/rights.php new file mode 100644 index 000000000..c45fb268c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.90/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_090_Atom_10_Rights extends SimplePie_Feed_Copyright_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"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.0/rights.php new file mode 100644 index 000000000..b5b5df1a3 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_090_DC_10_Rights extends SimplePie_Feed_Copyright_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/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.1/rights.php new file mode 100644 index 000000000..528d5b56d --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.90/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_090_DC_11_Rights extends SimplePie_Feed_Copyright_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/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/atom/1.0/rights.php new file mode 100644 index 000000000..718aa8862 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/atom/1.0/rights.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Netscape_Atom_10_Rights extends SimplePie_Feed_Copyright_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:rights>Example Copyright Information</a:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/copyright.php new file mode 100644 index 000000000..cceec1f2d --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/copyright.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Netscape_Copyright extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91"> + <channel> + <copyright>Example Copyright Information</copyright> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.0/rights.php new file mode 100644 index 000000000..7422cde33 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.0/rights.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Netscape_DC_10_Rights extends SimplePie_Feed_Copyright_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:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.1/rights.php new file mode 100644 index 000000000..5506ee84f --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-netscape/dc/1.1/rights.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Netscape_DC_11_Rights extends SimplePie_Feed_Copyright_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:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php new file mode 100644 index 000000000..32a1efa80 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Userland_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php new file mode 100644 index 000000000..2da3ceb0b --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Userland_Copyright extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <copyright>Example Copyright Information</copyright> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php new file mode 100644 index 000000000..44daa979e --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Userland_DC_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php new file mode 100644 index 000000000..aaa13264b --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_091_Userland_DC_11_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.92/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.92/atom/1.0/rights.php new file mode 100644 index 000000000..8b70888ea --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.92/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_092_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.92/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/0.92/copyright.php new file mode 100644 index 000000000..f364e7b3c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.92/copyright.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_092_Copyright extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.92"> + <channel> + <copyright>Example Copyright Information</copyright> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.0/rights.php new file mode 100644 index 000000000..68a8a5c9a --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_092_DC_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.1/rights.php new file mode 100644 index 000000000..6607d1674 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/0.92/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_092_DC_11_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php new file mode 100644 index 000000000..4f8a2f343 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_Atom_10_Rights extends SimplePie_Feed_Copyright_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"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php new file mode 100644 index 000000000..efa34b39b --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_DC_10_Rights extends SimplePie_Feed_Copyright_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/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php new file mode 100644 index 000000000..803f5e024 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_DC_11_Rights extends SimplePie_Feed_Copyright_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/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php new file mode 100644 index 000000000..cd2e63764 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/2.0/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/copyright.php new file mode 100644 index 000000000..273424bf4 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/copyright.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_Copyright extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <copyright>Example Copyright Information</copyright> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php new file mode 100644 index 000000000..e866e6708 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_DC_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php new file mode 100644 index 000000000..9c251592c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_DC_11_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file |