]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
inline: Use the feed's description in the rss and atom links. Closes: #502113
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 15 Oct 2008 18:45:28 +0000 (14:45 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 15 Oct 2008 18:45:28 +0000 (14:45 -0400)
IkiWiki/Plugin/inline.pm
debian/changelog

index aa8fe2baa181fe6e0f3677f7d87e7ee5a78c4717..6d88c2f15c46215f86687f5ea91eb8c9dd3e643e 100644 (file)
@@ -376,7 +376,7 @@ sub preprocess_inline (@) { #{{{
                                        genfeed("rss",
                                                $config{url}."/".$rssp, $desc, $params{guid}, $params{destpage}, @feedlist));
                                $toping{$params{destpage}}=1 unless $config{rebuild};
-                               $feedlinks{$params{destpage}}=qq{<link rel="alternate" type="application/rss+xml" title="RSS" href="$rssurl" />};
+                               $feedlinks{$params{destpage}}=qq{<link rel="alternate" type="application/rss+xml" title="$desc (RSS)" href="$rssurl" />};
                        }
                }
                if ($atom) {
@@ -386,7 +386,7 @@ sub preprocess_inline (@) { #{{{
                                writefile($atomp, $config{destdir},
                                        genfeed("atom", $config{url}."/".$atomp, $desc, $params{guid}, $params{destpage}, @feedlist));
                                $toping{$params{destpage}}=1 unless $config{rebuild};
-                               $feedlinks{$params{destpage}}=qq{<link rel="alternate" type="application/atom+xml" title="Atom" href="$atomurl" />};
+                               $feedlinks{$params{destpage}}=qq{<link rel="alternate" type="application/atom+xml" title="$desc (Atom)" href="$atomurl" />};
                        }
                }
        }
index f5156a667e3681a06a30088bbfcbb970cf8dfa07..ecef4f158c6f0ae16bdfe11f744c4c034ae2b8b6 100644 (file)
@@ -11,6 +11,8 @@ ikiwiki (2.67) UNRELEASED; urgency=low
   * Pass HTTPS variable through the wrapper so that CGI->https can be used
     by plugins. Closes: #502047
   * inline: Allow MTIME to be used in inlinepage.tmpl.
+  * inline: Use the feed's description in the rss and atom links.
+    Closes: #502113
 
  -- Joey Hess <joeyh@debian.org>  Mon, 06 Oct 2008 16:07:50 -0400