The branch, master has been updated
       via  f903bb0 genereated_news.sh: add feed header for PubSubHubbub/WebSub
      from  44996a0 Add Samba 4.12.5.

https://git.samba.org/?p=samba-web.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f903bb0edfcd4a961c1694a4f9fa59dffcf949dc
Author: Björn Jacke <b...@sernet.de>
Date:   Wed Jul 8 21:03:17 2020 +0200

    genereated_news.sh: add feed header for PubSubHubbub/WebSub

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

Summary of changes:
 generated_news.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/generated_news.sh b/generated_news.sh
index e0dc7bb..b4be94d 100755
--- a/generated_news.sh
+++ b/generated_news.sh
@@ -54,7 +54,8 @@ generate_feed() {
                echo '<?xml version="1.0" encoding="utf-8"?>'
                echo '<feed xmlns="http://www.w3.org/2005/Atom";>'
                echo '<id>https://www.samba.org/samba/news.atom</id>'
-               echo '<link href="https://www.samba.org/samba/news.atom"; 
rel="self"/>'
+               echo '<link href="https://pubsubhubbub.appspot.com/"; rel="hub" 
/>'
+               echo '<link href="https://www.samba.org/samba/news.atom"; 
rel="self" />'
                echo '<title>Samba - News</title>'
                echo '<updated>'`date +%Y-%m-%dT%H:%m:%SZ`'</updated>'
                echo
@@ -65,7 +66,7 @@ generate_feed() {
                        echo '<entry>'
                        MY_UPDATED=`echo $f | sed 
's/^\(....\)\(..\)\(..\)-\(..\)\(..\).*/\1-\2-\3T\4:\5:00Z/'`
                        echo 
"<id>https://www.samba.org/samba/news.atom#$MY_UPDATED</id>"
-                       echo "<link rel='alternate' 
href='https://www.samba.org/samba/latest_news.html'/>"
+                       echo "<link rel='alternate' 
href='https://www.samba.org/samba/latest_news.html' />"
                        echo '<author><name>Samba 
Team</name><email>webmas...@samba.org</email></author>'
                        echo "<updated>$MY_UPDATED</updated>"
 


-- 
Samba Website Repository

Reply via email to