Search the web
Sign In
New User? Sign Up
rss-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
RSS 2.0: Restriction on Whitespace in <link>|<url>   Message List  
Reply | Forward Message #3789 of 7450 |

From the RSS 2.0 spec (and originally "from the Netscape 0.91 spec"):

RSS places restrictions on the first non-whitespace characters of the data in
<link> and <url> elements. The data in these elements must begin with http://
or ftp://. Among others, https:, file:, mailto:, news:, and javascript: are
not permitted.

I'd like to suggest one of two possibilities. One, that only these are allowed:

http:// https:// ftp:// news:// mailto:

Or two, that all protocols are allowed. The first suggestion branches out
into more common protocols: https:// (for e-commerce), news:// (not as
important, but still used to point to specific groups), ftp:// (obvious),
and mailto: to point to an email address (thus spawning the user's email
program), as opposed to the <author>, which is just plain text (and
contains no application-spawning abilities, since including full names
confuses the issue).

The second proposal says "ok, well, we shouldn't make that decision for the
end-user", but does weaken security: with javascript:// and file://
allowed, we're potentially giving the producer too much control over the
user's machine.

It's not enough to say "ok, you could use *all* protocols except for
file:// and javascript://", because that inspires a false sense of security
- if we say "these protocols can be used for malicious purposes", that's
suggesting other protocols (currently unknown to us) have been "approved"
for the user's safety.

Myself, I prefer the first option - allowing the five protocols. The
downside, however, is that five years from now, when some other protocol is
popular, the RSS 2.0 spec won't scale for it (without the use of
namespaces).

Thoughts?

--
Morbus Iff ( sleep breeds sanity )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Tech: http://www.oreillynet.com/pub/au/779 - articles and weblog
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



Sun Sep 15, 2002 9:29 pm

morbus_iff
Offline Offline
Send Email Send Email

Forward
Message #3789 of 7450 |
Expand Messages Author Sort by Date

From the RSS 2.0 spec (and originally "from the Netscape 0.91 spec"): RSS places restrictions on the first non-whitespace characters of the data in <link> and...
Morbus Iff
morbus_iff
Offline Send Email
Sep 15, 2002
9:29 pm

Hi Morbus, Which RSS 2.0 are you talking about? The one you quote is beyond the reach of mere mortals ;-) That aside, I do agree that the protocol/scheme thing...
Danny Ayers
Danny_Ayers
Offline Send Email
Sep 15, 2002
10:29 pm

... I'll agree with the above too - if I knew where to search for that document, I would have used that instead. I'd want to see the RSS 2.0 docs appended...
Morbus Iff
morbus_iff
Offline Send Email
Sep 16, 2002
1:17 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help