]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php
Add simplepie
[friendica.git] / simplepie / test / first_item_date / SPtests / rss / 0.91-netscape / atom / 1.0 / published.php
diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php
new file mode 100644 (file)
index 0000000..4de5d2a
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_10_Published extends SimplePie_First_Item_Date_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:published>2007-01-11T16:00:00Z</a:published>
+               </item>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 1168531200;
+       }
+}
+
+?>
\ No newline at end of file