Search the web
Sign In
New User? Sign Up
opml-dev · OPML developers discuss applications.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

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
OPML, RSS and accounting information   Message List  
Reply | Forward Message #243 of 245 |
Re: [opml-dev] OPML, RSS and accounting information

mortenjacobsen2000 wrote:
> I've seen in the RSS 2.0 specification that referring to other
> namespaces my allow to extend RSS 2.0. I wonder if I can use this
> feature to include OPML.
> Since I'm quite inexperienced in RSS, I also will ask if it could be
> possible the other way round, include RSS in OPML.

Because neither RSS nor OPML specify namespaces for themselves, the
clean XML answer is not available, i.e. (simplified)

<rss>
<channel />
<item>
<description>
<opml xmlns="http://www.opml.org/some_non-existant_namespace">
<head/>
<body>
<outline text="insert your opml here"/>
</body>
</opml>
</description>
</item>
</rss>

So it is not possible to embed RSS 2.0 in OPML or vice-versa.

In both specifications, the correct thing to do is to point at the other
relevant file, in OPML with an "rss" nodetype and in RSS either with the
<link> element of <item> or your own custom namespace, depending on
the application. In general, if an HTML rendering of the OPML file
exists I would point <link> at that and have a custom namespace of your
own for pointing at the OPML file.

If you are willing to control the readers which are consuming your RSS,
you *could* define your own namespace like
"http://cdeaandrss.blogspot.com/almost-opml-in-rss", and declare that
the tags inside of that namespace are *just like* the ones in the
official OPML spec... but that would be a derivative specification, and
you should not call that OPML as no current OPML reader is likely to be
able to read it. The most standards-compliant thing to do is probably
just to provide a link to the relevant OPML file, which current OPML
consumers will be able to read.



Fri Apr 30, 2004 9:36 pm

jerfb
Offline Offline
Send Email Send Email

Forward
Message #243 of 245 |
Expand Messages Author Sort by Date

I'm looking on if it is possible to use OPML and RSS to display accounting information. At http://www.summasummarium.com/morten/accountopml/ you can see an 4...
mortenjacobsen2000
mortenjacobs...
Offline Send Email
Apr 30, 2004
3:07 pm

Contemplating my last message I would reformat my question like this: Assuming I want to add RSS syndication to an application like ...
mortenjacobsen2000
mortenjacobs...
Offline Send Email
Apr 30, 2004
4:41 pm

... Because neither RSS nor OPML specify namespaces for themselves, the clean XML answer is not available, i.e. (simplified) <rss> <channel /> <item> ...
Jeremy Bowers
jerfb
Offline Send Email
Apr 30, 2004
8:39 pm
Advanced

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