gnucash-htdocs master: A few more tweaks in the rss feed generator

Geert Janssens gjanssens at code.gnucash.org
Sat Dec 2 04:23:12 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/2400375a (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/3c045c39 (commit)



commit 2400375a5c0a25602d6dfdc082c9fc0bb395177d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Dec 2 10:23:05 2017 +0100

    A few more tweaks in the rss feed generator
    
    - use https everywhere
    - news has moved to a separate page

diff --git a/atom.php b/atom.php
index 2eff88d..bfe9019 100644
--- a/atom.php
+++ b/atom.php
@@ -36,10 +36,10 @@
 <feed xmlns="http://www.w3.org/2005/Atom">
   <title>GnuCash News</title>
   <subtitle>GnuCash is personal and small-business financial-accounting software, freely licensed under the GNU GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.</subtitle>
-  <generator>GnuCash htdocs/trunk/atom.php 1.0 <gnucash-devel at gnucash.org></generator>
-  <logo>http://www.gnucash.org/images/icons/gnc-icon.png</logo>
-  <link rel="alternate" href="http://www.gnucash.org/" />
-  <link rel="self" href="http://www.gnucash.org/atom.php" />
+  <generator>GnuCash htdocs/master/atom.php 1.0 <gnucash-devel at gnucash.org></generator>
+  <logo>https://www.gnucash.org/images/icons/gnc-icon.png</logo>
+  <link rel="alternate" href="https://www.gnucash.org/" />
+  <link rel="self" href="https://www.gnucash.org/atom.php" />
   <id>https://www.gnucash.org/</id>
   <?php
   $news_items = get_news($newsdir, $newsdir);
@@ -60,7 +60,7 @@
   <entry>
     <id>urn:x-gnucash:news:<?= urlencode($key) ?></id>
     <title><?= $title ?></title>
-    <link rel="alternate" href="http://www.gnucash.org/#n-<?=generate_anchor($key);?>" />
+    <link rel="alternate" href="https://www.gnucash.org/news.phtml/#n-<?=generate_anchor($key);?>" />
     <author>
       <name>GnuCash Developers</name>
       <email>gnucash-devel at gnucash.org</email>



Summary of changes:
 atom.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)



More information about the gnucash-changes mailing list