OPMLOutline Event
Fired for each outline in the current OPML document.
Syntax
rss.on('OPMLOutline', [callback])
Callback
The 'callback' is called when the 'OPMLOutline' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.level e.text e.typeName e.title e.URL e.XMLURL e.HTMLURL e.created e.description e.otherAttrs
Remarks
This event is fired for each outline in the OPML document.
The Level parameter contains the depth of the current outline in the OPML document.
Each outline contains a "Text" attribute, which is parsed out, and returned in the Text parameter.
The "Type" attribute is a string that describes how the other attributes of the outline are interpreted, and is returned in the TypeName parameter.
The Title parameter refers to the title of the outline.
The URL parameter indicates the external location of the outline.
The XMLURL parameter is usually set to an RSS, Atom or OPML file.
The HTMLURL parameter specifies an "HTMLURL" attribute, which may be used instead of the "URL" attribute.
The Created parameter contains the date the outline node was created.
The OtherAttrs parameter contains a list of other attributes for the current outline. You must use the OPMLAttr method here to get the attribute's corresponding values from the parser.