[Gnucash-changes] r14292 - htdocs/trunk - validation issues

Joshua Sled jsled at cvs.gnucash.org
Thu Jun 1 21:27:14 EDT 2006


Author: jsled
Date: 2006-06-01 21:27:13 -0400 (Thu, 01 Jun 2006)
New Revision: 14292
Trac: http://svn.gnucash.org/trac/changeset/14292

Modified:
   htdocs/trunk/atom-feed.php
   htdocs/trunk/news/060514-1-9-6.news
Log:
validation issues

Modified: htdocs/trunk/atom-feed.php
===================================================================
--- htdocs/trunk/atom-feed.php	2006-06-02 01:10:59 UTC (rev 14291)
+++ htdocs/trunk/atom-feed.php	2006-06-02 01:27:13 UTC (rev 14292)
@@ -12,7 +12,6 @@
   }
   $charset = "iso-8859-1";
   header("Content-Type: $contentType; charset=$charset");
-
 ?>
 <?="<?xml version=\"1.0\" encoding=\"$charset\"?>"?>
 <?php
@@ -33,7 +32,6 @@
   reset($news_items);
   $most_recent = null;
   ?>
-  <updated><?=$most_recent?></updated>
 
   <?php for (reset($news_items); $key = key($news_items); next($news_items))
   {
@@ -49,7 +47,7 @@
   <entry>
     <id>urn:x-gnucash:news:<?= $key ?></id>
     <title><?= $title ?></title>
-    <updated><?= $update_date ?></updated>
+    <updated><?= str_replace($update_date, ' ', 'T') ?>-08:00</updated>
     <content type="xhtml">
       <div xmlns="http://www.w3.org/1999/xhtml">
         <? for ($i=2; $i<$n; $i++) {
@@ -60,5 +58,5 @@
   </entry>
   <?php } ?>
 
-  <updated><?= $most_recent ?></updated>
+  <updated><?= str_replace($most_recent, ' ', 'T') ?>-08:00</updated>
 </feed>

Modified: htdocs/trunk/news/060514-1-9-6.news
===================================================================
--- htdocs/trunk/news/060514-1-9-6.news	2006-06-02 01:10:59 UTC (rev 14291)
+++ htdocs/trunk/news/060514-1-9-6.news	2006-06-02 01:27:13 UTC (rev 14292)
@@ -65,11 +65,11 @@
 </li></ul>
 
 
-<br><br>
+<br /><br />
 Available at the usual places! 
 
-<br><br>
+<br /><br />
 <b><a href="http://www.gnucash.org/pub/gnucash/">http://www.gnucash.org</a></b>
 
-<br><br>
+<br /><br />
 <b><a href="http://download.sourceforge.net/gnucash/">http://download.sourceforge.net/gnucash</a></b>



More information about the gnucash-changes mailing list