OPMLHeader Event

Fired for each value in the Header section of the current OPML document.

Syntax

rss.on('OPMLHeader', [callback])

Callback

The 'callback' is called when the 'OPMLHeader' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.field
e.value

Remarks

This event is fired when the class is parsing an OPML document after a call to ReadOPML is made. The class parses each header field and value from the OPML document and fires OPMLHeader once for each header present.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]