r21333 - htdocs/branches/beta - Test again atom feed modifications just to understand how it works.

Cristian Marchi cmarchi at code.gnucash.org
Sat Sep 24 13:12:19 EDT 2011


Author: cmarchi
Date: 2011-09-24 13:12:19 -0400 (Sat, 24 Sep 2011)
New Revision: 21333
Trac: http://svn.gnucash.org/trac/changeset/21333

Modified:
   htdocs/branches/beta/atom.php
Log:
Test again atom feed modifications just to understand how it works.

Modified: htdocs/branches/beta/atom.php
===================================================================
--- htdocs/branches/beta/atom.php	2011-09-24 16:55:34 UTC (rev 21332)
+++ htdocs/branches/beta/atom.php	2011-09-24 17:12:19 UTC (rev 21333)
@@ -29,13 +29,23 @@
     return substr($semi_atom_date, 0, $len-2) . ":" . substr($semi_atom_date, $len-2);
   }
 ?>
-<?="<?xml version=\"1.0\" encoding=\"$charset\"?>"?>
+
 <?php
   include("$top_dir/news/news-script.php");
 ?>
 
-<feed version="2.0" xmlns="http://www.w3.org/2005/Atom">
-  <channel>
-    <title>GnuCash News</title>
-  </channel>
-</feed>
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<rss version="2.0">
+
+<channel>
+  <title>W3Schools Home Page</title>
+  <link>http://www.w3schools.com</link>
+  <description>Free web building tutorials</description>
+  <item>
+    <title>RSS Tutorial</title>
+    <link>http://www.w3schools.com/rss</link>
+    <description>New RSS tutorial on W3Schools</description>
+  </item>
+</channel>
+
+</rss>



More information about the gnucash-changes mailing list