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.91-userland/atom/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_date/SPtests/rss/0.91-userland/atom/1.0')
-rw-r--r-- | simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php | 23 | ||||
-rw-r--r-- | simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php new file mode 100644 index 000000000..452dc2f90 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </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.91-userland/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php new file mode 100644 index 000000000..14acc746f --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |