r21321 - htdocs/branches/beta - Test atom feed modification just to understand how it works.
Cristian Marchi
cmarchi at code.gnucash.org
Sat Sep 24 12:07:14 EDT 2011
Author: cmarchi
Date: 2011-09-24 12:07:14 -0400 (Sat, 24 Sep 2011)
New Revision: 21321
Trac: http://svn.gnucash.org/trac/changeset/21321
Modified:
htdocs/branches/beta/atom.php
Log:
Test atom feed modification just to understand how it works.
Modified: htdocs/branches/beta/atom.php
===================================================================
--- htdocs/branches/beta/atom.php 2011-09-24 16:05:38 UTC (rev 21320)
+++ htdocs/branches/beta/atom.php 2011-09-24 16:07:14 UTC (rev 21321)
@@ -12,7 +12,7 @@
$charset = "iso-8859-1";
header("Content-Type: $contentType; charset=$charset");
- $entry_count = 10;
+ $entry_count = 1;
$newsdir = "${top_dir}/news";
/**
@@ -68,7 +68,7 @@
<updated><?= date_convert_news_to_atom($update_date) ?></updated>
<content type="html">
<? for ($i=2; $i<$n; $i++) {
- print ($fa[$i]);
+ print htmlentities($fa[$i]);
} ?>
</content>
</entry>
More information about the gnucash-changes
mailing list