Re: Autodiscovery, real-world examples

2005-05-05 Thread fantasai
Nikolas 'Atrus' Coukouma wrote:
 fantasai wrote:

 I think you've missed how things are working at the moment. Most
 programs implemented what's in the spec before it's written. Mark is
 trying to negotiate a common standard when implementations already
 exist. A lot of experimentation has already occurred.
I'm not suggesting that the spec invalidate such well-entrenched practice,
but that it allows an alternative (not requiring 'alternate') for situations
in which it is not appropriate.
 One of the key points seems to be that autodiscovery is not meant to
 find all feeds linked to on a page, just the ones that serve as
 alternates to the current one. If people wanted this functionality, they
 would have done it by now.
Done what? Linked to non-alternate feeds with rel=alternate just so
that it would trigger autodiscovery? People do that all the time. Give
them an alternative that doesn't require such a hack.
 I think you have three separate cases of autodiscovery:
 * the feed for *this* page - handled by this autodiscovery proposal
 * other feeds the author reads or recommends - usually done by linking
 to a separate file. Some quick searching reveals one suggestion to use
 rel=blogroll for this
 * any other feeds linked to for any reason at all - seems to be little
 interest in

 I don't think combining these three into one case will do any good. In
 fact, I think it's confusing and unusable.
That makes sense.
I think that you're missing one key use case, though: autodiscovery of
a blog's main feed from sub-parts of it. A lot of websites link to the
main blog feed from individual entries, for example, and they're doing
it with rel=alternate, which is not appropriate. It frustrates me that
there is no way of changing these links to not use rel=alternate.
And for linking to other pages.. Here's a real-world example:
The mozilla.org main page http://www.mozilla.org/ is an example
of where rel=alternate is a problem. There were three feeds on
it: Announcements, mozillaZine News, and Mozilla Weblogs
(now only two). Each one is an alternate of a web page, but of
_other_ pages (http://www.mozilla.org/news.html, http://www.mozillazine.org/, 
and http://planet.mozilla.org/ respectively), not the mozilla.org
front page. The last few headlines for each feed are listed on
the front page, and the designer felt it was appropriate for
autodiscovery to work on this page -- but it is not appropriate
for rel=alternate to be used for those autodiscovery links.
They are not alternate representations of the front page.

Here's another example:
LiveJournal creates a Friends page, where it aggregates the
blogs of all the users you've designated as friends. It could
create an Atom feed representing this aggregation, and mark that
as rel=alternate. What could also be useful, however, would be
linking to each of these blogs' feeds individually as well so
that they're represented individually in my aggregator and it
can aggregate them itself. Unlike the pre-aggregated feed,
however, these are not alternate representations of the Friends
page, and shouldn't be marked as such.
Making it possible for pages to link to non-alternate autodiscoverable
feeds without using rel=alternate -- and encouraging this practice --
would make it possible for UAs to actually /discriminate/ between
alternate and non-alternate feeds. Right now they can't, because
everything is indiscriminately marked as alternate.
~fantasai


Re: Autodiscovery, real-world examples

2005-05-05 Thread Antone Roundy
On Thursday, May 5, 2005, at 01:27  AM, fantasai wrote:
And for linking to other pages.. Here's a real-world example:
The mozilla.org main page http://www.mozilla.org/ is an example
of where rel=alternate is a problem. There were three feeds on
it: Announcements, mozillaZine News, and Mozilla Weblogs
(now only two). Each one is an alternate of a web page, but of
_other_ pages (http://www.mozilla.org/news.html, 
http://www.mozillazine.org/, and http://planet.mozilla.org/ 
respectively), not the mozilla.org
front page. The last few headlines for each feed are listed on
the front page, and the designer felt it was appropriate for
autodiscovery to work on this page -- but it is not appropriate
for rel=alternate to be used for those autodiscovery links.
They are not alternate representations of the front page.

I'm beginning to sway in the direction of this argument, but I'm not 
sure whether I'll sway back or not.  Given that @type will clearly (for 
Atom and RSS 2 anyway, if not for RSS 1) identify the feed as a feed 
(...or maybe an Atom Entry Document...the feed reader can deal with 
that issue when the user tries to subscribe), I don't think there's a 
big need for @rel to say feed.  But it wouldn't be illogical for use 
alternate for only the feed associated with a particular page 
(perhaps including the case of an individual entry archive page), and 
something else like related to point to other feeds.  A UA could 
check @rel and @type and present a UI saying something like subscribe 
to the feed for this page and subscribe to a feed related to this 
page.



RE: Autodiscovery, real-world examples

2005-05-05 Thread Bob Wyman

Fantasia wrote:
 Making it possible for pages to link to non-alternate 
 autodiscoverable feeds without using rel=alternate -- and 
 encouraging this practice -- would make it possible for UAs to 
 actually /discriminate/ between alternate and non-alternate feeds.
 Right now they can't, because everything is indiscriminately marked 
 as alternate.
+1. Being able to distinguish between alternates for the current
page and just other feeds that are linked to from the page would be very
useful. Also, in the case where there are multiple real alternates to the
page, it would be useful to be able to mark which feed is preferred. My
concern here is the transition between Atom V0.3 and Atom V1.0. A page might
link to feeds in both formats (as well as RSS, RDF, etc.) but it would be
good to know which of these feeds is considered the preferred feed by the
producer. In this way, people could migrate off the older feeds and one day
we'd actually be able to stop producing multiple feeds on each site.
We should also consider providing such preferred links in Atom,
RSS, RDF, etc. feeds. I'd like to be able to publish something in my Atom
0.3 feeds that tell people Don't keep reading this feed. Read the Atom 1.0
feed instead...

bob wyman




RE: Autodiscovery, real-world examples

2005-05-05 Thread James Tauber

On Thu, 5 May 2005 16:35:21 -0400, Bob Wyman [EMAIL PROTECTED] said:
 Being able to distinguish between alternates for the current
 page and just other feeds that are linked to from the page would be
 very useful.

+1

 Also, in the case where there are multiple real alternates to the
 page, it would be useful to be able to mark which feed is preferred.

+0.5

James