List Info

Thread: Re: "Labels" in blogspot feeds.




Re: "Labels" in blogspot feeds.
country flaguser name
United States
2007-02-14 15:17:39
Jeff Waugh wrote:
> <quote who="Sam Ruby">
> 
>> In Venus, the category information is retained, and
can be used to create
>> custom feeds.  Atom feeds are created with XSLT
transformations, and the
>> atom.xml.xslt has examples of stripping certain
elements.  This can be
>> generalized to stripping out entire entries.
> 
> Are the very simple 'filter' and 'exclude' parameters
working in Venus?
> Which elements are they applied to?

It does now.  

I must have either missed these or forgotten that they
existed.

The filtering support in Venus is much more powerful
(anything you can 
write as a shellable command can be a filter), but that
doesn't mean 
that there can't be a simple easy to use interface for the
simple cases.

As to your second question, given the aggressive
normalization that 
Venus does on feeds, the results can be different (and
frankly, a bit 
more predictable) in the edge cases.  In particular, it
should be safe 
to search for Unicode characters and special characters like
<, &, and ".

What the builtin regular expression support will now do is
search for 
things in any textual element (Atom's title, summary, and
content, or 
things like RSS's description, content:encoded), excluding
markup, but 
including selected attributes like alt and title.

In most cases, this won't make much of a difference.  But it
will pick 
up categories, for example.

-Sam Ruby
-- 
devel mailing list
devellists.planetplanet.org

http://lists.planetplanet.org/mailman/listinfo/devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )