OPML Grammar

Elements

docs

The HTTP address of documentation for the format used in the OPML file. It's probably a pointer to this page for people who might stumble across the file on a web server 25 years from now and wonder what it is.

expansionState

A comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the list.

ownerId

The HTTP address of a web page that contains a form that allows a human reader to communicate with the author of the document via email or other means. The linked page may contain link elements pointing to other documents containing information about the owner.

vertScrollState

A number, saying which line of the outline is displayed on the top line of the window. This number is calculated with the expansion state already applied.

Attributes

category

A string of comma-separated slash-delimited category strings, in the format defined by the RSS 2.0 category element. To represent a "tag," the category string should contain no slashes.

created

The date and time that the outline node was created. Follows RFC 822 (eg. "Sat, 09 Apr 2007 14:57:36 GMT").

ctPlays

The number of times the song has been played.

ctSeconds

The duration of the song, defined by a heuristic that's pretty accurate. ;->

f

The file that contains the MP3 on the local hard drive.

htmlUrl

The top-level link element from the RSS feed.

isBreakpoint

Indicates whether a breakpoint is set on this outline. This attribute is mainly necessary for outlines used to edit scripts. If it's not present, the value is false.

isComment

Indicates whether the outline is commented or not. By convention if an outline is commented, all subordinate outlines are considered to also be commented. If it's not present, the value is false.

language

The value of the top-level language element from the feed.

text

Every outline element must have at least a text attribute, which is what is displayed when an outliner opens the OPML file

title

Contains the top-level title element from the feed.

type

A string which says how other attributes are to be interpreted. OPML can also be extended by the addition of new values for the type attribute.

type

A string which says how other attributes are to be interpreted. OPML can also be extended by the addition of new values for the type attribute.

type

A string which says how other attributes are to be interpreted. OPML can also be extended by the addition of new values for the type attribute.

type

A string which says how other attributes are to be interpreted. OPML can also be extended by the addition of new values for the type attribute.

version

Varies depending on the version of RSS that's being supplied.

whenLoaded

The time/date that Radio UserLand discovered the file in your MP3 folder.