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

Re: ANN: RSS 'ping' interface at fyuze.com



> Accept the HTML site URL and cross-reference that locally for it's 
> feed.  This'd
> be problematic for sites that consider their "main" URL to be that 
> used on ALL
> their feeds.

that is a problem as some folks have feeds for each category (which 
i think is great), and some of them do all point to the same "main" 
url.

> Alternatively, you can dig into the site HTML looking for the link 
> element
> containing the data URL and use that.  Of course some sites stuff 
> multiple link
> tags into the HTML so you've an adventure on your hands there too.

that could be done, but it encourages mis-use. that is, they ping it 
with the html url, it works (because i dig for the link elements), 
and they keep on pinging with the html url. (i could create a local 
stash of X html = Y rss, but that's beside the point)
 
> Perhaps it'd be worth allowing the submission of a data URL 
> directly.  

that's what the API does accept. a date url to the rss feed.


> It'd be a
> little harder to determine whether that's a URL pointing to a feed 
> or to an HTML
> page.  But if you're keeping a local DB/cache then this is no big 
> deal.  Check
> the pinged URL against your local DB and if it's a previously seen 
feed, well
> there you are.  If it's unknown then you're going to have to 
download it and
> take a closer look at it.

that's what it does. if it's unkown and turns out to be parsable, it 
adds it to the list in the db.