OPML: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>SchlurcherBot
m Bot: http → https
imported>FeralOink
Criticism: Appropriately locating stray ref
 
Line 42: Line 42:
==Criticism==
==Criticism==
{{more citations needed|date=December 2013}}
{{more citations needed|date=December 2013}}
# 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]].
 
# 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]].<ref>{{cite web |title=RFC 5322 |url=https://www.rfc-editor.org/rfc/rfc5322 |website=RFC editor |access-date=21 September 2023 |ref=a}}</ref> In general, date and time formats should be represented according to [[RFC 3339]].
# Due to the semantics of the "expansionState" attribute:
# Due to the semantics of the "expansionState" attribute:
#* The expansion state of the children of collapsed nodes cannot be stored
#* The expansion state of the children of collapsed nodes cannot be stored
Line 48: Line 49:
# 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.
# 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.
# 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.
<ref>{{cite web |title=RFC 5322 |url=https://www.rfc-editor.org/rfc/rfc5322 |website=RFC editor |access-date=21 September 2023 |ref=a}}</ref>


==Validation==
==Validation==
[[Dave Winer]], the founder and CEO of Userland, has made a request for comments on a [https://web.archive.org/web/20051024010033/http://www.opml.org/guidelinesForValidation proposal for validating OPML] and released a beta [https://web.archive.org/web/20051102000206/http://validator.opml.org/ OPML validator].
[[Dave Winer]], the founder and CEO of Userland, made a request for comments on a proposal for validating OPML.<ref>{{cite web |last1=Weiner |first1=Dave |title=Guidelines for validating OPML |url=http://www.opml.org/guidelinesForValidation |website=www.opml.org |access-date=28 September 2025 |archive-url=https://web.archive.org/web/20051024010033/ttp://www.opml.org/guidelinesForValidation |archive-date=24 October 2005 |url-status=live}}</ref> He released a beta version OPML validator in November 2005.<ref>{{cite web |last1=Winer |first1=Dave |title=OPML Validator |url=https://validator.opml.org/ |website=validator.opml.org |access-date=28 September 2025 |archive-url=https://web.archive.org/web/20051102000206/http://validator.opml.org/ |archive-date=2 November 2005 |date=November 2005 |url-status=live}}</ref>


Katy Ginger{{clarify|who is this?|date=December 2016}} from DLESE{{clarify|what is this?|date=December 2016}} has published [https://web.archive.org/web/20070910025930/http://www.dlese.org/Metadata/opml/2.0/index.htm an XML Schema Document] for validating OPML 2.0. There is also a [http://static.userland.com/gems/radiodiscuss/opmlDtd.txt DTD available for OPML 1.0].
The Harvard Digital Library for Earth System Education (DLESE) published an XML Schema Document for validating OPML 2.0 in 2007.<ref>{{cite web |title=OPML 2.0 - Digital Library for Earth System Education |url=http://www.dlese.org/Metadata/opml/2.0/index.htm |website=www.dlese.org |publisher=Harvard Digital Library for Earth System Education |access-date=28 September 2025 |archive-url=https://web.archive.org/web/20070910025930/http://www.dlese.org/Metadata/opml/2.0/index.htm |archive-date=10 September 2007}}</ref> There is also a DTD available for OPML 1.0.<ref>{{cite web |title=OPML 1.0 |url=http://static.userland.com/gems/radiodiscuss/opmlDtd.txt |website=static.userland.com |access-date=28 September 2025}}</ref>


==Alternative specifications==
==Alternative specifications==
Line 77: Line 77:
* [http://dev.opml.org/spec2.html OPML 2.0 Specification]
* [http://dev.opml.org/spec2.html OPML 2.0 Specification]
* [https://home.opml.org/ OPML Editor app]
* [https://home.opml.org/ OPML Editor app]
* [http://www.opmlicons.com/ OPML Icon Files]
* [http://www.opmlicons.com/ OPML Icon Files] {{Webarchive|url=https://web.archive.org/web/20130622181236/http://opmlicons.com/ |date=22 June 2013 }}
* [http://codebeautify.org/opmlviewer OPML Viewer-Editor]
* [http://codebeautify.org/opmlviewer OPML Viewer-Editor]
* [http://www.whiterocksoftware.com/2020/07/opml-file-viewer.html OPML Viewer]
* [http://www.whiterocksoftware.com/2020/07/opml-file-viewer.html OPML Viewer]

Latest revision as of 19:11, 28 September 2025

Template:Short description Script error: No such module "Unsubst". Template:Use dmy dates Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".

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 UserLand Software as a native file format for the outliner application in its Radio UserLand product, it has since been adopted for other uses, the most common being to exchange lists of web feeds between web feed aggregators.[2]

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.

Support for importing and exporting RSS feed lists in OPML format is available in Mozilla Thunderbird[3] and in most other RSS reader web sites and applications.[2]

XML format

The XML elements in an OPML document are:

<opml version="1.0">
This is the root element. It must contain the version attribute and one head and one body element.
<head>
Contains metadata. May include any of these optional elements: title, dateCreated, dateModified, ownerName, ownerEmail, expansionState, vertScrollState, windowTop, windowLeft, windowBottom, windowRight. Each element is a simple text element. dateCreated and dateModified contents conform to the date-time format specified in Template:IETF RFC. expansionState contains a comma-separated list of line numbers that should be expanded on display. The windowXXX elements define the position and size of the display window. An OPML processor may ignore all the head sub-elements. If the outline is opened inside another outline then the processor must ignore the window elements.
<body>
Contains the content of the outline. Must have at least one outline element.
<outline>
Represents a line in the outline. May contain any number of arbitrary attributes. Common attributes include text and type. The outline element may contain any number of outline sub-elements.

Criticism

Script error: No such module "Unsubst".

  1. 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.[4] In general, date and time formats should be represented according to RFC 3339.
  2. Due to the semantics of the "expansionState" attribute:
    • 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
  3. 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.
  4. 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.

Validation

Dave Winer, the founder and CEO of Userland, made a request for comments on a proposal for validating OPML.[5] He released a beta version OPML validator in November 2005.[6]

The Harvard Digital Library for Earth System Education (DLESE) published an XML Schema Document for validating OPML 2.0 in 2007.[7] There is also a DTD available for OPML 1.0.[8]

Alternative specifications

Script error: No such module "Labelled list hatnote".

Alternative specifications have been proposed, notably these include OML, XOXO and XBEL.

  • OML – Outline Markup Language
  • XOXO – Extensible Open XHTML Outlines
  • XBEL – XML Bookmark Exchange Language

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. a b Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

External links

Template:Web syndication