Commit 667fef76 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

More work on the RSS feed

parent 9810c584
......@@ -64,9 +64,9 @@ $(ROOT)/countries.css: $(ROOT)/include/mirrors $(ROOT)Makefile
rm -f $@
awk -F '|' '!/^#/ { print $$4; }' $<|sort|uniq|awk '{ print "#maincontent table td."$$1; print " { padding-left:2em; background: url(http://images.videolan.org/images/flags/"$$1".png) left no-repeat; }" }' >> $@
videolan-news.rss: news.html
videolan-news.rss: news.msg news-rss.html
@echo "Processing videolan-news.rss ..."
xsltproc --stringparam Base "http://www.videolan.org/" --stringparam Page "http://www.videolan.org/news.html" ~/etc/html2rss.xsl news.html >! videolan-news.rss
cp -f news-rss.html videolan-news.rss
.PHONY: clean all
......@@ -8,7 +8,7 @@
//Setting the channel elements
//Use wrapper functions for common channel elements
$TestFeed->setTitle('VideoLAN Open Multimedia project feed');
$TestFeed->setTitle('VideoLAN project - News feed');
$TestFeed->setLink('http://www.videolan.org/news.rss');
$TestFeed->setDescription('This is the main new feed from the VideoLAN project');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment