[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[syndication] Re: locating syndication feeds
- To: syndication@yahoogroups.com
- Subject: [syndication] Re: locating syndication feeds
- From: Morbus Iff <morbus@disobey.com>
- Date: Tue, 17 Jul 2001 19:54:21 -0400
- In-reply-to: <20010717053244.QQHV5550.femail18.sdc1.sfba.home.com@localhost>
- References: <20010717053244.QQHV5550.femail18.sdc1.sfba.home.com@localhost>
>> If I click on an XML link and then click the bookmarklet it fails
>> miserably, and after some thoughthinking, I'm guessing it's because
>> browsers don't give XML a DOM that the JS "location.href" can
In retrospect, if I was on the ball last night,
I would have said "the browser doesn't give a DOM about XML".
>> no changes to existing sites. It'd be no effort to add a rel scanner to
>> various reader programs, but it still requires webmasters to
>> include the code.
>
>How would you try and get to the RSS file?
In non-optimized code, I'd just download the HTML from the current URL, and
run a regexp that looked for 'rel="syndication"' and then grabbed the
nearest href located within the same <> as the rel. Is that what you were
talking about?
--
ICQ: 2927491 / AOL: akaMorbus
Yahoo: morbus_iff / Jabber: morbus@jabber.org
morbus@disobey.com / http://www.disobey.com/