Planet LPM

Dave Cross dave at dave.org.uk
Fri Jun 30 11:02:22 BST 2006


Quoting Dave Cross <dave at dave.org.uk>:

> Quoting Simon Wistow <simon at thegestalt.org>:
>
>> I was asked and so I have complied and installed Plagger on
>> http://london.pm.org so we can have a aggregation of those 'blogs' the
>> kids are so excited about.
>>
>> You can view it here
>>
>> 	http://london.pm.org/planet/
>
> Very cool. Excellent idea.

Could you (pretty please) publish feeds as well. The docs for  
Plagger::Plugin::Publish::Feed suggest that you just need to add

   - module: Publish::Feed
     config:
       format: RSS
       dir: /path/to/your/web/directory

to the config.yaml. But based on Miyagawa's slides, my config.yaml has

   - module: Publish::Feed
     rule:
       expression:  $args->{feed}->id eq 'smartfeed:all'
     config:
       dir: /path/to/my/web/directory

   - module: Publish::Feed
     rule:
       expression:  $args->{feed}->id eq 'smartfeed:all'
     config:
       dir: /path/to/my/web/directory
       format: RSS

This publishes both Atom and RSS. Not sure what that "rule:" entry  
does (yay cargo-cult!)

Dave...

-- 
Site: http://dave.org.uk/
Blog: http://blog.dave.org.uk/





More information about the london.pm mailing list