List Info

Thread: "Labels" in blogspot feeds.




"Labels" in blogspot feeds.
country flaguser name
United Kingdom
2007-02-10 11:55:06
Hi,

Blogger allows you to set tags (which it calls labels), and
even lets
you view a page of posts with just that label, but it
doesn't provide a
feed of that page.  Would it makes sense to have
planetplanet parse this
category out of the main feed and prepare the category-only
feed itself?
Is there a better way to achieve category-only blogger
feeds?

Thanks!

- Chris.
-- 
Chris Ball   <cjbmrao.cam.ac.uk>   <http://blog.printf.net/&g
t;
-- 
devel mailing list
devellists.planetplanet.org

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

Re: "Labels" in blogspot feeds.
user name
2007-02-10 19:28:51
<quote who="Chris Ball">

> Blogger allows you to set tags (which it calls labels),
and even lets you
> view a page of posts with just that label, but it
doesn't provide a feed
> of that page.  Would it makes sense to have
planetplanet parse this
> category out of the main feed and prepare the
category-only feed itself?
> Is there a better way to achieve category-only blogger
feeds?

Here's an example of getting a label feed out of blogger:

 http://beta.blogger.com/feeds/10861780/posts/fu
ll/-/Google%20Maps

Reference:

 http://phydeaux3.blogspot.com/2006/09
/feeds-for-labels-in-beta-blogger.html

To do category filtering, we'd have to add category to the
list of elements
that filtering works on. In Planet 2.0, that's not amazingly
simple because
it ignores them (because they're not a single value such as
"title"). Venus
might be able to do it already, but if not, it will most
likely be a simple
change to make.

But now you know that you can get label feeds out of
blogger. 

- Jeff


-- 
Open CeBIT 2007: Sydney, Australia              http://www.opencebit.com
.au/
 
   "Well, you know us usability folks... We like to
believe that the two
    aren't mutually exclusive." - Calum Benson on power
and cleanliness
-- 
devel mailing list
devellists.planetplanet.org

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

Re: "Labels" in blogspot feeds.
country flaguser name
United States
2007-02-13 11:24:59
Jeff Waugh wrote:
> <quote who="Chris Ball">
> 
>> Blogger allows you to set tags (which it calls
labels), and even lets you
>> view a page of posts with just that label, but it
doesn't provide a feed
>> of that page.  Would it makes sense to have
planetplanet parse this
>> category out of the main feed and prepare the
category-only feed itself?
>> Is there a better way to achieve category-only
blogger feeds?
> 
> Here's an example of getting a label feed out of
blogger:
> 
>  http://beta.blogger.com/feeds/10861780/posts/fu
ll/-/Google%20Maps
> 
> Reference:
> 
>  http://phydeaux3.blogspot.com/2006/09
/feeds-for-labels-in-beta-blogger.html
> 
> To do category filtering, we'd have to add category to
the list of elements
> that filtering works on. In Planet 2.0, that's not
amazingly simple because
> it ignores them (because they're not a single value
such as "title"). Venus
> might be able to do it already, but if not, it will
most likely be a simple
> change to make.

Obviously, either Planet 2.0 or Venus can subscribe to a
category feed.

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.  For
example, copy 
atom.xml.xslt to australia.atom.xslt, and add the following
lines to the 
latter:

<xsl:template match="
   atom:entry[count(//atom:category[term='austrailia']=0)]
"/>

What this does is match any entry which has zero category
elements with 
a term attribute with a value of australia.  Since this
template is 
empty (ends with "/>"), anything that is
matched is replaced with nothing.

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

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

Re: "Labels" in blogspot feeds.
user name
2007-02-13 17:06:27
<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?

- Jeff

-- 
Open CeBIT 2007: Sydney, Australia              http://www.opencebit.com
.au/
 
                 http://www.
illusionary.com/GNOMEvKDE.html
-- 
devel mailing list
devellists.planetplanet.org

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

[1-4]

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