-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about grey-areas in the specification #3
Comments
Hi @marienfressinaud -- It's a good point. It's been a long time since the spec was written and we've been adding elements to the head section pretty much at will, without documenting them. We might do an addendum to the spec at some point to list them all. A lot of them are mentioned in the blog docs for Drummer, my latest outliner whose native file format is OPML The blogging docs are linked to from the Docs menu. |
BTW, it's clear the docs are going to have to mention this. Thanks for calling out the question. |
I have a few other comments (e.g. what to do with attributes which does not match the format, such as dates attributes). Do you want I add them to this ticket, or should I open a ticket for each comment? (it will probably not be the next few days since I'm pretty busy) |
Just add them to this thread. |
Sorry for the delay, here's my list of questions/comments I had while reading the specifications.
About the errors, my approach in lib_opml is to offer a way to lower the strictness of the parser (default is not strict) and of the renderer (default is strict). When strictness is disabled, lib_opml ignores most of the errors and populates its structure with the raw data. I think it's the best approach for a parser since a lot of OPMLs generated by aggregators are invalid out there ;) |
Must the |
@mincerafter42 -- OPML is XML and XML says nothing about the order of elements, so you could put the body element before the head element, but why would you? @marienfressinaud -- I'll answer some of your questions...
|
Hi @scripting, I'm working on my PHP lib to parse OPML (lib_opml) and I have (at least) one question. The specification states:
so I understand the head elements are strictly limited to the list of 13 elements of the spec (e.g title, dateCreated, etc.), but the
states.opml
example contains some elements which aren't defined (e.g. description, ownerTwitterScreenName, etc.)Is it an error in the example or should we clarify the specification?
Edit: the spec also states in "Extending OPML":
The text was updated successfully, but these errors were encountered: