Expose the theme RSS feeds
authorJonas Häggqvist <rasher@rasher.dk>
Tue, 17 Mar 2009 23:33:20 +0000 (18 00:33 +0100)
committerJonas Häggqvist <rasher@rasher.dk>
Tue, 17 Mar 2009 23:33:20 +0000 (18 00:33 +0100)
private/templates/header.tpl
private/templates/themelist.tpl

index 86a59be..ba130a6 100644 (file)
@@ -3,6 +3,9 @@
 <head>
 <link rel="STYLESHEET" type="text/css" href="http://www.rockbox.org/style.css">
 <link rel="shortcut icon" href="http://www.rockbox.org/favicon.ico">
+{if $rss}
+<link href="{$rss}" type="application/rss+xml" rel="alternate" title="{$rsstitle}" />
+{/if}
 <title>Rockbox Themes - {$title}</title>
 <meta name="author" content="Rockbox Contributors">
 {literal}
index af9cd07..6dcada4 100644 (file)
@@ -1,4 +1,4 @@
-{include file="header.tpl" title="Themes for $mainlcd"}
+{include file="header.tpl" title="Themes for $mainlcd" rss="rss.php?target=`$smarty.request.target`" rsstitle="Themes for `$smarty.request.target`"}
 
 <h1>Themes for {$mainlcd}</h1>