[pmwiki-users] get rss to set name for a firefox live bookmark

Roman romat2 at gmail.com
Fri Sep 29 06:30:01 CDT 2006


On 9/29/06, JB <jbit at ev1.net> wrote:
> I used recipe RSSFeedLink.
>
>  http://www.pmwiki.org/wiki/Cookbook/RSSFeedLink
>
> In my config.php I put
>
>   $HTMLHeaderFmt['rss'] =
>      "<link rel='alternate' title='\$WikiTitle RSS'
>        href='\$ScriptUrl/\$SiteGroup/AllRecentChanges?action=rss'
>        type='text/xml' />";
>
> The site I am using it at is http://www.gnuzoo.org/ctlug
> I do have rss working for this site in a news aggregator.
>
> I would like to set the FireFox Live Bookmark Name of the feed.
> In FireFox when I click the orange icon in the url bar it pops up
> a "Add Live Bookmark" window with the name:
>
>    "Central Texas Linux Users Group | Main / HomePage browse"
>
> I would like it to say:
>
>    "CTLUG Changes"
>
> How can I do this?
>
>
> I tried:
>
>    $FeedFmt['rss']['feed']['title'] = 'CTLUG Changes';
>
> It did not work.  Is there a way to do this?
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>

$FeedFmt['rss']['feed']['title'] defines only attributes of XML
output. What you want has to be defined in HTML page. So you need to
define $HTMLHeaderFmt this way:

  $HTMLHeaderFmt['rss'] =
     "<link rel='alternate' title='CTLUG Changes'
       href='\$ScriptUrl/\$SiteGroup/AllRecentChanges?action=rss'
       type='text/xml' />";

Roman




More information about the pmwiki-users mailing list