web: Fix RSS broken by b95c6584576e004e56d94fcdf6679d051a043bf4
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 26 Mar 2016 12:53:11 +0000 (13:53 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 26 Mar 2016 12:56:24 +0000 (13:56 +0100)
Found-by: Sebastian Scheibner <sebastian.scheibner@tum.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Makefile

index f13a36f..0686e44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,8 @@ $(RSS_TARGET): htdocs/index.html
        echo '    <link>http://ffmpeg.org</link>' >> $@
        echo '    <description>FFmpeg RSS</description>' >> $@
        echo '    <atom:link href="http://ffmpeg.org/main.rss" rel="self" type="application/rss+xml" />' >> $@
-       awk '/<a *id=".*" *> *<\/a> *<h3>.*20.., *.*<\/h3>/ { p = 1 } /<h1>Older entries are in the .*news archive/ { p = 0 } p' $< \
-        | sed 'sX<a *id="\(.*\)" *> *</a> *<h3>\(.*20..\), *\(.*\)</h3>X\
+       awk '/<h3 *id=".*" *> *.*20.., *.*<\/h3>/ { p = 1 } /<h1>Older entries are in the .*news archive/ { p = 0 } p' $< \
+        | sed 'sX<h3 *id="\(.*\)" *> *\(.*20..\), *\(.*\)</h3>X\
         ]]></content:encoded>\
     </item>\
     <item>\