[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locating syndication feeds



On Monday, July 16, 2001, at 11:46  PM, Mark Nottingham wrote:

Umm, you can put a rel attribute on an <a> tag also.

<a href="channels.xml" rel="syndication"
type="text/xml">syndication!</a>

How does that help? Do any browsers allow you to dispatch based on
'rel'?

Oh, you're still hung up on dispatching?

I think that's the wrong way to go -- it requires MIME types and installed software, etc., etc.

The future is in bookmarklets. They work for client-side software as well as server-side. You just write a little bookmarklet that redirects you (or opens a new window) to a "Add this feed" page passed with the URL of the page the user was previously looking at. The "add this feed" page can easily scan the site for a rel attribute.

So...

User visits <http://example.com> and thinks it's cool
They click on the "Add me to RadioDeskViewerKat" bookmarklet in their browser It redirects them to <http://localhost:8049/addPage?url=http://example.com>
   (Or http://radiodeskviewerkat.com/addPage if it's a server-side app)
That page goes and grabs <http://example.com> and finds a rel attribute, and asks:

	Do you want to add "http://example.com/"; to RadioDeskViewerKat?
	[ Yes ] [ No ]

Voila!

--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]