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...
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
Restarting the list   Message List  
Reply | Forward Message #227 of 245 |
Re: [opml-dev] OPML 1.1

Dave Winer wrote:

>Another area that needs attention is to sort out the common uses of attributes
in different tools. Since this is XML, names are case-sensitive. And there is
even some variability beyond that. The first step should be to survey all the
existing tools, see what they produce and then collate the results. Then, once
that's done, it may be possible to have a simple set of recommendations that
enables more interop between tools. But first we have to see how far apart all
the tools actually are. I'll get the ball rolling on this, unless someone else
wants to take the lead. It's not a glamorous job, it requires that one be
thorough and be good at tabulating information.
>
>
>
When importing OPML files, here's what Bloglines does:

For every 'outline' tag after the opening tag, we do:

We look for the 'xmlurl' attribute. If we find it, we add that as a
subscription. If we also find a 'title' attribute, we use that for the
name of the subscription.

If we don't find the 'xmlurl' attribute, we look for 'text'. If we don't
find 'text', we look for 'title'. If we find one of those, and we do not
find 'url', we add a new folder. All subscriptions found after this tag
and before the closing </outline> are then inserted in that folder. We
only support one level of folders, so nested folders are ignored (but
the subscriptions within them are not ignored).

We consider all attributes case insensitive.

Here's an example of what we output when exporting subscriptions. This
example has 2 subscriptions in the 'Press/Journalists' folder, and two
subscriptions at the top level:

<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<title>Bloglines Subscriptions</title>
<dateCreated>Tue, 2 Dec 2003 21:04:44 GMT</dateCreated>
<ownerEmail>markf@...</ownerEmail>
</head>
<body>
<outline title="Subscriptions">
<outline title="Press/Journalists">
<outline title="Wired News" htmlUrl="http://www.wired.com/" type="rss"
xmlUrl="http://www.wired.com/news_drop/netcenter/netcenter.rdf" />
<outline title="Dan Gillmor's eJournal"
htmlUrl="http://weblog.siliconvalley.com/column/dangillmor/" type="rss"
xmlUrl="http://weblog.siliconvalley.com/column/dangillmor/index.xml" />
</outline>
<outline title="Weblogg-ed News" htmlUrl="http://www.weblogg-ed.com/"
type="rss" xmlUrl="http://www.weblogg-ed.com/xml/rss.xml" />
<outline title="wingedpig.com" htmlUrl="http://www.wingedpig.com/"
type="rss" xmlUrl="http://www.wingedpig.com/index.rdf" />
</outline>
</body>
</opml>


Mark
--
Mark Fletcher
Bloglines
http://www.bloglines.com





Tue Dec 2, 2003 9:13 pm

snoovler
Offline Offline
Send Email Send Email

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

I'm doing a lot of work with OPML and want to start discussing it with other developers. So this is a heads-up, if you don't want to talk about applications,...
Dave Winer
dwiner
Offline Send Email
Nov 30, 2003
8:00 pm

Glad to see the list firing up again. One of the first things we should address is the spec, which hasn't been updated to OPML 1.1, the current version in...
Rogers Cadenhead
rcade
Offline Send Email
Dec 1, 2003
2:01 pm

Rogers, thanks for kicking off the restart of this list. And thanks to everyone else for not objecting to the newly stated charter. I'm optimistic about our...
Dave Winer
dwiner
Offline Send Email
Dec 2, 2003
7:52 pm

... Dave: AmphetaDesk was the first application to take the mySubscriptions.opml of Radio Userland and adopt it for it's own channel list. NetNewsWire followed...
Morbus Iff
morbus_iff
Offline Send Email
Dec 2, 2003
8:10 pm

... It appears that Radio creates both text and title attributes for RSS feed titles. -- Rogers Cadenhead, rogers@... on 12/3/2003 Weblog:...
Rogers Cadenhead
rcade
Offline Send Email
Dec 3, 2003
6:43 pm

Hi Dave ... Per an old thread on this list, I started and posted an OPML document that contains this sort of info. It still lives at : ...
Stan Krute
stan_krute
Offline Send Email
Dec 2, 2003
8:42 pm

Howdy I've incorporated the OPML usage info noted in this thread by: Rogers Cadenhead, Morbus Iff, Brent Simmons, Mark Fletcher, and Øyvind Kolås ... into...
Stan@...
stan_krute
Offline Send Email
Dec 22, 2003
11:07 pm

... When importing OPML files, here's what Bloglines does: For every 'outline' tag after the opening tag, we do: We look for the 'xmlurl' attribute. If we find...
Mark Fletcher
snoovler
Offline Send Email
Dec 2, 2003
9:13 pm

... I think it would be worth having authors catalog what their software *outputs* as well. It's (somewhat) fine to accept any case tags, but OPML is specified...
Jeremy Bowers
jerfb
Offline Send Email
Dec 3, 2003
2:26 am

... Clarification: By "catalog what their software outputs" I mean actual specifications and promises, not just example OPML files their system outputs....
Jeremy Bowers
jerfb
Offline Send Email
Dec 3, 2003
2:35 am

Excellent. That's exactly the kind of report we need. Since Brent went next, maybe he could explain how he uses OPML, in a style similar to this explanation....
Dave Winer
dwiner
Offline Send Email
Dec 2, 2003
8:17 pm

Stan that looks very useful. Could you add Morbus's info to that. I think people should post their reports to the list, as long as it isn't overwhelming, and...
Dave Winer
dwiner
Offline Send Email
Dec 2, 2003
8:59 pm

Hi Dave ... Yes. ... Sounds fine. Info on elements and attributes that are supported or not supported, and elements and attributes that a particular tool has...
Stan Krute
stan_krute
Offline Send Email
Dec 2, 2003
9:24 pm

NetNewsWire imports and exports OPML subscriptions lists. It doesn't currently understand nested subscriptions lists, but that will change. (It will both...
Brent Simmons
brentsimmonsx
Offline Send Email
Dec 2, 2003
9:10 pm

It's true that examples aren't specs, but beggars can't be choosers. I'll take whatever information I can get in whatever form. Let's be detectives. I don't...
Dave Winer
dwiner
Offline Send Email
Dec 3, 2003
9:31 pm
Advanced

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