List Info

Thread: dynamic feed autodiscovery urls based on context




dynamic feed autodiscovery urls based on context
user name
2006-12-06 23:17:09
I am assuming this is the right way to do things, but I
thought I'd make 
sure everyone agrees before I commit it.

I want to update the showAutodiscoveryLinks() macro so that
it has 
conditional logic which produces the appropriate feed
autodiscovery link 
dependent on the context of the page.  So ...

on page /weblog/tags/foo+bar, the AD feeds would be 
/weblog/feed/entries/XXX?tags=foo+bar

This seems like the best thing to do for a number of
reasons, including 
that it makes sense that the "alternate" rel for a
page is really a feed 
of the same content and it promotes the tag based feed urls
more.

I would also do the same thing for category urls, so 
/weblog/category/MyCat points to the feed for that category.

everyone cool with that?

-- Allen
dynamic feed autodiscovery urls based on context
user name
2006-12-07 14:29:33
You can (and should) have multiple auto-disco links and in
that case
you'd have three: one for entries tagged
"foo+bar", one for all
blog-wide entries and one for blog-wide comments. Actually,
you'd have
six since we promote both Atom and RSS versions of those
feeds. As
long as the titles are descriptive, the user will be able to
pick the
right one via FF2 or IE7.

- Dave



On 12/6/06, Allen Gilliland <allen.gillilandsun.com> wrote:
> I am assuming this is the right way to do things, but I
thought I'd make
> sure everyone agrees before I commit it.
>
> I want to update the showAutodiscoveryLinks() macro so
that it has
> conditional logic which produces the appropriate feed
autodiscovery link
> dependent on the context of the page.  So ...
>
> on page /weblog/tags/foo+bar, the AD feeds would be
> /weblog/feed/entries/XXX?tags=foo+bar
>
> This seems like the best thing to do for a number of
reasons, including
> that it makes sense that the "alternate" rel
for a page is really a feed
> of the same content and it promotes the tag based feed
urls more.
>
> I would also do the same thing for category urls, so
> /weblog/category/MyCat points to the feed for that
category.
>
> everyone cool with that?
>
> -- Allen
>
dynamic feed autodiscovery urls based on context
user name
2006-12-07 16:55:05
So you're saying you always want the main feeds for the
weblog to be in 
the auto-discovery list?


Dave wrote:
> You can (and should) have multiple auto-disco links and
in that case
> you'd have three: one for entries tagged
"foo+bar", one for all
> blog-wide entries and one for blog-wide comments.
Actually, you'd have
> six since we promote both Atom and RSS versions of
those feeds. As
> long as the titles are descriptive, the user will be
able to pick the
> right one via FF2 or IE7.
> 
> - Dave
> 
> 
> 
> On 12/6/06, Allen Gilliland <allen.gillilandsun.com> wrote:
>> I am assuming this is the right way to do things,
but I thought I'd make
>> sure everyone agrees before I commit it.
>>
>> I want to update the showAutodiscoveryLinks() macro
so that it has
>> conditional logic which produces the appropriate
feed autodiscovery link
>> dependent on the context of the page.  So ...
>>
>> on page /weblog/tags/foo+bar, the AD feeds would be
>> /weblog/feed/entries/XXX?tags=foo+bar
>>
>> This seems like the best thing to do for a number
of reasons, including
>> that it makes sense that the "alternate"
rel for a page is really a feed
>> of the same content and it promotes the tag based
feed urls more.
>>
>> I would also do the same thing for category urls,
so
>> /weblog/category/MyCat points to the feed for that
category.
>>
>> everyone cool with that?
>>
>> -- Allen
>>
dynamic feed autodiscovery urls based on context
user name
2006-12-07 17:08:54
Yes. If I click on the orange subscribe button in the
browser, it's
most likely that I want to subscribe to the blog itself.
Being able to
subscribe to a tag specific feed is a nice option, but it
shouldn't be
the only one and I think it should be secondary.

- Dave


On 12/7/06, Allen Gilliland <allen.gillilandsun.com> wrote:
> So you're saying you always want the main feeds for the
weblog to be in
> the auto-discovery list?
>
>
> Dave wrote:
> > You can (and should) have multiple auto-disco
links and in that case
> > you'd have three: one for entries tagged
"foo+bar", one for all
> > blog-wide entries and one for blog-wide comments.
Actually, you'd have
> > six since we promote both Atom and RSS versions of
those feeds. As
> > long as the titles are descriptive, the user will
be able to pick the
> > right one via FF2 or IE7.
> >
> > - Dave
> >
> >
> >
> > On 12/6/06, Allen Gilliland
<allen.gillilandsun.com> wrote:
> >> I am assuming this is the right way to do
things, but I thought I'd make
> >> sure everyone agrees before I commit it.
> >>
> >> I want to update the showAutodiscoveryLinks()
macro so that it has
> >> conditional logic which produces the
appropriate feed autodiscovery link
> >> dependent on the context of the page.  So ...
> >>
> >> on page /weblog/tags/foo+bar, the AD feeds
would be
> >> /weblog/feed/entries/XXX?tags=foo+bar
> >>
> >> This seems like the best thing to do for a
number of reasons, including
> >> that it makes sense that the
"alternate" rel for a page is really a feed
> >> of the same content and it promotes the tag
based feed urls more.
> >>
> >> I would also do the same thing for category
urls, so
> >> /weblog/category/MyCat points to the feed for
that category.
> >>
> >> everyone cool with that?
> >>
> >> -- Allen
> >>
>
[1-4]

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