on_opml_header Event

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

Syntax

class RSSOPMLHeaderEventParams(object):
  @property
  def field() -> str: ...
  @property
  def value() -> str: ...

# In class RSS:
@property
def on_opml_header() -> Callable[[RSSOPMLHeaderEventParams], None]: ...
@on_opml_header.setter
def on_opml_header(event_hook: Callable[[RSSOPMLHeaderEventParams], None]) -> None: ...

Remarks

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

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