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_date/SPtests/rss/0.92/atom/0.3 | |
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_date/SPtests/rss/0.92/atom/0.3')
3 files changed, 69 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php new file mode 100644 index 000000000..1b2a87185 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php new file mode 100644 index 000000000..bf891fc8d --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php new file mode 100644 index 000000000..652cdb883 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |