This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.1 has been updated
       via  54feec7398eb790e3cf9b44e14f7480a50b9a206 (commit)
      from  ad5ddd9cd1097255b6a5e864b52733a28d026c73 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=54feec7398eb790e3cf9b44e14f7480a50b9a206

commit 54feec7398eb790e3cf9b44e14f7480a50b9a206
Author: Franck Villaume <[email protected]>
Date:   Sat May 26 11:23:33 2018 +0200

    RSS export header: add missing img & generator

diff --git a/src/www/export/rss20_activity.php 
b/src/www/export/rss20_activity.php
index d0b6c28..fc9fcf4 100644
--- a/src/www/export/rss20_activity.php
+++ b/src/www/export/rss20_activity.php
@@ -68,6 +68,13 @@ if ($group_id) {
        print "  <lastBuildDate>".rss_date(time())."</lastBuildDate>\n";
        print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
        print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
+       print "  <image>\n";
+       print "    <url>".util_make_url('/images/icon.png')."</url>\n";
+       print "    <title>".forge_get_config('forge_name')."</title>\n";
+       print "    <link>".util_make_url()."</link>\n";
+       print "    <width>124</width>\n";
+       print "    <heigth>32</heigth>\n";
+       print "  </image>\n";
 
        $res = db_query_params('SELECT * FROM activity_vw WHERE activity_date 
BETWEEN $1 AND $2
                AND group_id=$3 ORDER BY activity_date DESC',
diff --git a/src/www/export/rss20_docman.php b/src/www/export/rss20_docman.php
index 067bfbf..49b665c 100644
--- a/src/www/export/rss20_docman.php
+++ b/src/www/export/rss20_docman.php
@@ -97,6 +97,13 @@ function beginFeed($groupname = "", $link = "") {
        print "  <lastBuildDate>".rss_date(time())."</lastBuildDate>\n";
        print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
        print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
+       print "  <image>\n";
+       print "    <url>".util_make_url('/images/icon.png')."</url>\n";
+       print "    <title>".forge_get_config('forge_name')."</title>\n";
+       print "    <link>".util_make_url()."</link>\n";
+       print "    <width>124</width>\n";
+       print "    <heigth>32</heigth>\n";
+       print "  </image>\n";
 }
 
 function writeFeed($d_arr, $limit) {
diff --git a/src/www/export/rss20_forum.php b/src/www/export/rss20_forum.php
index c96c24e..1e88aeb 100644
--- a/src/www/export/rss20_forum.php
+++ b/src/www/export/rss20_forum.php
@@ -303,6 +303,7 @@ function beginForumFeed($feed_title, $feed_link, 
$feed_desc) {
        print "  <webMaster>".forge_get_config('admin_email')."</webMaster>\n";
        print "  <lastBuildDate>".gmdate('D, d M Y G:i:s',time())." 
GMT</lastBuildDate>\n";
        print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
+       print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
        print "  <image>\n";
        print "    
<url>http://".forge_get_config('web_host')."/images/bflogo-88.png</url>\n";
        print "    <title>".forge_get_config('forge_name')." 
Developer</title>\n";
diff --git a/src/www/export/rss20_newreleases.php 
b/src/www/export/rss20_newreleases.php
index 2c312f3..f0bdd07 100644
--- a/src/www/export/rss20_newreleases.php
+++ b/src/www/export/rss20_newreleases.php
@@ -71,6 +71,14 @@ print "  <copyright>Copyright ".date("Y")." 
".forge_get_config ('forge_name')."<
 print "  <webMaster>$webmaster</webMaster>\n";
 print "  <lastBuildDate>".rss_date(time())."</lastBuildDate>\n";
 print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
+print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
+print "  <image>\n";
+print "    <url>".util_make_url('/images/icon.png')."</url>\n";
+print "    <title>".forge_get_config('forge_name')."</title>\n";
+print "    <link>".util_make_url()."</link>\n";
+print "    <width>124</width>\n";
+print "    <heigth>32</heigth>\n";
+print "  </image>\n";
 
 $res = db_query_params ('SELECT groups.group_name AS group_name,
        frs_package.group_id AS group_id,
diff --git a/src/www/export/rss20_tasks.php b/src/www/export/rss20_tasks.php
index 1d90b92..a110247 100644
--- a/src/www/export/rss20_tasks.php
+++ b/src/www/export/rss20_tasks.php
@@ -203,6 +203,14 @@ function beginTaskFeed($feed_title, $feed_link, 
$feed_desc) {
        print "  <webMaster>".forge_get_config('admin_email')."</webMaster>\n";
        print "  <lastBuildDate>".gmdate('D, d M Y G:i:s',time())." 
GMT</lastBuildDate>\n";
        print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
+       print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
+       print "  <image>\n";
+       print "    <url>".util_make_url('/images/icon.png')."</url>\n";
+       print "    <title>".forge_get_config('forge_name')."</title>\n";
+       print "    <link>".util_make_url()."</link>\n";
+       print "    <width>124</width>\n";
+       print "    <heigth>32</heigth>\n";
+       print "  </image>\n";
 }
 
 function writeTaskFeed($msg, $item_cat){
diff --git a/src/www/export/rss20_tracker.php b/src/www/export/rss20_tracker.php
index 338dd32..1ba7ecb 100644
--- a/src/www/export/rss20_tracker.php
+++ b/src/www/export/rss20_tracker.php
@@ -88,6 +88,7 @@ function beginFeed($groupname = "", $link = "") {
        print "  <webMaster>".forge_get_config('admin_email')."</webMaster>\n";
        print "  <lastBuildDate>".rss_date(time())."</lastBuildDate>\n";
        print "  <docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
+       print "  <generator>".forge_get_config ('forge_name')." RSS 
generator</generator>\n";
        print "  <image>\n";
        print "    <url>".util_make_url('/images/icon.png')."</url>\n";
        print "    <title>".forge_get_config('forge_name')."</title>\n";

-----------------------------------------------------------------------

Summary of changes:
 src/www/export/rss20_activity.php    | 7 +++++++
 src/www/export/rss20_docman.php      | 7 +++++++
 src/www/export/rss20_forum.php       | 1 +
 src/www/export/rss20_newreleases.php | 8 ++++++++
 src/www/export/rss20_tasks.php       | 8 ++++++++
 src/www/export/rss20_tracker.php     | 1 +
 6 files changed, 32 insertions(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to