gnucash-htdocs beta: Add content tag to atom feed entries.

John Ralls jralls at code.gnucash.org
Mon Jul 8 19:28:52 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/e1454cb3 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/51ca894a (commit)



commit e1454cb3f11b3bd9c37498db412ee640ff627dc2
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Jul 8 16:28:41 2024 -0700

    Add content tag to atom feed entries.

diff --git a/atom.php b/atom.php
index 7a90fc1..2e8421f 100644
--- a/atom.php
+++ b/atom.php
@@ -63,7 +63,8 @@ include("$newsdir/news-script.php");
         <entry>
             <id>urn:x-gnucash:news:<?= urlencode($key) ?></id>
             <title><?= $title ?></title>
-            <link rel="alternate" href="<?=\DEFAULT_URL?>news.phtml#n-<?=generate_anchor($key);?>" />
+            <content src="<?=\DEFAULT_URL?>news.phtml#n-<?=generate_anchor($key);?>"/>
+                <link rel="alternate" href="<?=\DEFAULT_URL?>news.phtml#n-<?=generate_anchor($key);?>" />
             <author>
                 <name>GnuCash Developers</name>
                 <email>gnucash-devel at gnucash.org</email>



Summary of changes:
 atom.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list