I did not realise it untill now, but apparently it is possible to add pagelist parmeters to ?action=rss, which will make for a nice blog rss or atom output. For instance like:

    .../pmwiki.php?action=rss&group=BlogPages&list=blog&order=-ctime&count=50

To test use this link: rss blog feed

So now I added feed links to all blog pages, so visitors with browsers like Firefox can click the rss feed symbol and add the blog pages to their bookmarks easily.

RM I added to blogsimple.php:

## add blog feed links to html headers
$gp = FmtPageName('$Group', $pagename);
if ($gp=='Blog'||$gp=='BlogPages'||$gp=='BlogComments'
    ||$gp=='BlogArchive'||$gp=='BlogCategories') {
      # disable further feedlinks 
      # introduced with feedlinks.php (must be loaded later)
      $EnableRssLink = 0; 
      $EnableAtomLink = 0;
$HTMLHeaderFmt['blogrsslink'] =
   "\n <link rel='alternate' title='\$WikiTitle Blog RSS Feed'
   href='\$ScriptUrl?action=rss&group=BlogPages&list=blog
               &order=-ctime&count=50'
   type='application/rss+xml' />\n  ";
$HTMLHeaderFmt['blogatomlink'] =
   "<link rel='alternate' title='\$WikiTitle Blog Atom Feed'
   href='\$ScriptUrl?action=atom&group=BlogPages&list=blog
               &order=-ctime&count=50'
   type='application/atom+xml' />\n  ";
}

This adds the html link reference to pages in groups Blog, BlogPages and BlogComments (these are the groups I use with blogsimple). It will display as rss feed the last 50 blog entries in order of creation time.

It would also need to have pmwiki's rss feed enabled in config.php with:

# add rss feed supply capability
if ($action == 'rss' || $action == 'atom') {
     @include_once("$FarmD/scripts/feeds.php"); }

wikiblog


Comments:


Add Comment 
Sign as Author 
Enter code:


Back to Blog Feeds -- Blog Home Page


Recent Comments

Sat 31 Mar -

Fri 23 Mar -

Fri 23 Feb -

Tue 30 Jan -

Tue 23 Jan -

Mon 23 Oct -

Thu 05 Oct -

Tue 13 Jun -

Sun 21 May -

Wed 22 Feb -