- OPML
-
OPML Filename extension .opml
Internet media type application/xml, text/xml, text/x-opml
Type of format Outline Extended from XML OPML (Outline Processor Markup Language) is an XML format for outlines (defined as "a tree, where each node contains a set of named attributes with string values"[1]). Originally developed by Radio UserLand as a native file format for an outliner application, it has since been adopted for other uses, the most common being to exchange lists of web feeds between web feed aggregators.
The OPML specification defines an outline as a hierarchical, ordered list of arbitrary elements. The specification is fairly open which makes it suitable for many types of list data.
Contents
Shortcomings
- The RFC 822 date format is considered obsolete, and amongst other things permits the representation of years as two digits. (RFC 822 has been superseded by RFC 2822 then RFC 5322.) In general, date and time formats should be represented according to RFC 3339.
- Because "expansionState" is recorded independently of the outline elements:
- The expansion state of the children of collapsed nodes cannot be stored
- When an outline element is expanded, collapsed, added, deleted or moved, the expansion state of all elements below it must be recalculated
- Due to the arbitrary nature of the "type" attribute, and the acceptance of arbitrary attributes on "outline" elements, interoperability of OPML documents relies almost entirely on the undocumented conventions of content producers.
- MIME types aren't clear; text/xml usually merely identifies the document as having XML content, while text/x-opml does not specify that the document is XML since it lacks the +xml suffix (see XML and MIME).
Validation
Dave Winer has made a request for comments on a proposal for validating OPML and released a beta OPML validator.
Katy Ginger from DLESE has published an XML Schema Document for validating OPML 2.0. There is also a DTD available for OPML 1.0.
Example OPML documents
Alternative specifications
Alternative specifications have been proposed, notably these include OML, XOXO and XBEL.
See also
- DataPortability
- Dave Winer
- List of content syndication markup languages
- XOXO - Extensible Open XHTML Outlines
- XBEL - XML Bookmark Exchange Language
- APML - Attention Profiling Mark-up Language
- Feed icon
- Share icon
References
- ^ "OPML 1.0 Specification". http://www.opml.org/spec. Retrieved 12 June 2010.
External links
Categories:- Web syndication formats
- XML-based standards
- Programming language topic stubs
Wikimedia Foundation. 2010.