.Avery Blog

.NET and everything nice

OPML Directory Browser

I have been working on a news agrregator and figured that since I have already written the controls and classes to work with OPML that I would whip up a little OPML Directory browser and outliner. Hopefully I will have this little app knocked out in the next week or so, it is mostly just UI and testing at this point. (And after I cope with lack of XPath in the CF, I will release a Pocket PC version too)

One thing I have noticed about the OPML documents out there is the inconsistency of the "text" attribute in the outline element. Most of the docs that come from Radio all use the "text" attribute, which is used as the title in the treeview.. but unfortunately the OPML exported from Syndirella and Sharpreader does not use the "text" attribute but instead using a "title" attribute. The OPML spec calls for the "text" attribute to be used to specify what text should be displayed, but I want to be compatible with the docs exported from these readers so I will also have to account for the title tag as well. I guess part of the problem with having a relatively loose spec is that you will run into inconsistencies like this in the documents.

Looks like this specification is the source of the "title" attribute. I think it would be much better to switch it back to text since there is no value in changing the name of the attribute, other than breaking old apps.

- James

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)