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

Re: [syndication] Re: robots.txt and rss



In the case of feeds determined to be RDF wrapped it would be a good idea to
investigate the namespace within it.  The trouble is deciding "which" is the
right one to use.  If you go by the unqualified namespace you'd catch most of
them.  If, however, someone arbitrarily used something else as the unqualified
namespace (xmlns="something_else") and then used a qualified one for RSS
(xmlns:rss="http://purl.org/rss/1.0";) then you'd have a fine time discovering
it.

-Bill Kearney

----- Original Message -----

> Thanks Phil and Dave, this is very helpful info. I will dig into this very
soon. I just took a look at the code and the RSS version
> is determined by:
>
> 1 - the version attribute
> 2 - The URI of a DTD
> 3 - An xml namespace reference to http://purl.org/rss/1.0/
>
> If done by DTD, the DTD URI is mapped to a version per the following table:
>
> mysql> select * from rss_info;
>
+-------------+------------+----------------------------------------------------
-+-------------+
> | rss_version | is_primary | dtd_uri
| description |
>
+-------------+------------+----------------------------------------------------
-+-------------+
> | 0.91        |          1 |
http://my.netscape.com/publish/formats/rss-0.91.dtd |             |
> | 0.92        |          1 | http://www.scripting.com/dtd/rss-0.92.dtd
|             |
> | 1.0         |          1 | http://purl.org/rss/1.0/
|             |
> | 0.92d2      |          0 | http://www.scripting.com/dtd/rss-0.92.dtd
|             |
> | 0.91fn      |          0 |
http://my.netscape.com/publish/formats/rss-0.91.dtd |             |
>
+-------------+------------+----------------------------------------------------
-+-------------+
>
> Is there a better way to do this?
>
> Jeff;
>
> ----- Original Message -----
> From: "Phil Ringnalda" <phil@philringnalda.com>
> To: <syndication@yahoogroups.com>
> Sent: Saturday, November 09, 2002 1:09 PM
> Subject: Re: [syndication] Re: robots.txt and rss
>
>
> > Jeff Barr wrote:
> > > Dave,
> > >
> > >> BTW, a question for you. When will Syndic8 stop counting RSS 0.90
> > >> feeds as if they were 1.0 feeds?
> > >
> > > Do you have an example feed that I can look at?
> >
> >
> > Feed ID 1866 ( http://linuxtoday.com/backend/my-netscape.rdf ) - identified
> > as RSS 1.0 on the feed info page, but with a default namespace of
> > http://my.netscape.com/rdf/simple/0.9/ that's 0.90 (I found it by googling
> > for the 0.90 namespace). You aren't trying to identify 0.90 by version="",
> > are you? I see that's listed as a tag with zero feeds using it, but AFAIK
> > 0.90 didn't have a version attribute, just the namespace.
> >
> > Phil Ringnalda
> >
> >
> >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>