Venus: Excerpt filter working in tests, not on config file

Sam Ruby rubys at intertwingly.net
Mon Sep 15 10:05:46 EST 2008


On Sun, Sep 14, 2008 at 7:53 PM, Mary Gardiner <mary at puzzling.org> wrote:
> On Sun, Sep 14, 2008, Sam Ruby wrote:
>> Note the "s" in --filters.
>
> Thanks.
>
>> "filter" is a planet 2.0-ism.  "filters" is a Venus addition.  Yes,
>> that's unfortunate.  Suggestions?
>
> Not really, assuming there was some reason you made the decision to make
> them different... they're going to have to remain different.

Here's the motivation:

As much as possible, I'd like planet 2.0 style config files to "just
work" without the need for significant modification.

I'd like the filters functionality that Venus provides to be available.

> Incidently, does your advice at
> http://lists.planetplanet.org/archives/devel/2008-June/001829.html still
> hold? If I use target=atom:content, I just get a *second* content tag
> with the summary only, alongside the first content tag, and htmltmpl
> still finds the first content tag.

That sounds like a bug.  I'd prefer a fix where the content tag is
replaced over changing htmltmpl to pick up the last content tag.

> See http://users.puzzling.org/users/mary/tmp/2wk/example-cache.xml for
> an example of a cached entry, my current config is attached for
> verification.
>
> -Mary

- Sam Ruby

- Sam Ruby


More information about the devel mailing list