Author: sanda
Date: Fri Jun 10 23:42:52 2016
New Revision: 41063
URL: http://www.lyx.org/trac/changeset/41063

Log:
* slowly increment last news

(preceding items were out of sync)

Modified:
   www-user/trunk/misc/rss/lyx_rss_gen_data.sh

Modified: www-user/trunk/misc/rss/lyx_rss_gen_data.sh
==============================================================================
--- www-user/trunk/misc/rss/lyx_rss_gen_data.sh Fri Jun 10 23:30:06 2016        
(r41062)
+++ www-user/trunk/misc/rss/lyx_rss_gen_data.sh Fri Jun 10 23:42:52 2016        
(r41063)
@@ -13,7 +13,7 @@
 EOF
 
 echo -n '    '
-cat $NEWS |grep ^news_item|sed 
's/.*\"\(.*\)\".*\"\(.*\)\".*\"\(.*\)\".*/RSSItem(title=\"\1\",link=\"http:\/\/www.lyx.org\/News\",description=\"\2\",guid=Guid(\"LyX
 news feed \3\"),pubDate=\"\3\"),/'|grep -v news_item| sed 
's:pubDate=\"\(...\).\(.*\),.\(....\)\":pubDate=\"\2 \1 \3 00\:00\:00 
GMT\":'|head -n 3
+cat $NEWS |grep ^news_item|sed 
's/.*\"\(.*\)\".*\"\(.*\)\".*\"\(.*\)\".*/RSSItem(title=\"\1\",link=\"http:\/\/www.lyx.org\/News\",description=\"\2\",guid=Guid(\"LyX
 news feed \3\"),pubDate=\"\3\"),/'|grep -v news_item| sed 
's:pubDate=\"\(...\).\(.*\),.\(....\)\":pubDate=\"\2 \1 \3 00\:00\:00 
GMT\":'|head -n 4
 echo '    ])'
 
 echo 'rss.write_xml(open("lyx_news_feed.rss.tmp", "w"))'

Reply via email to