OPMLOutline Event

Fired for each outline in the current OPML document.

Syntax

public event OnOPMLOutlineHandler OnOPMLOutline;

public delegate void OnOPMLOutlineHandler(object sender, RssOPMLOutlineEventArgs e);

public class RssOPMLOutlineEventArgs : EventArgs {
  public int Level { get; }
  public string Text { get; }
  public string TypeName { get; }
  public string Title { get; }
  public string URL { get; }
  public string XMLURL { get; }
  public string HTMLURL { get; }
  public string Created { get; }
  public string Description { get; }
  public string OtherAttrs { get; }
}
Public Event OnOPMLOutline As OnOPMLOutlineHandler

Public Delegate Sub OnOPMLOutlineHandler(sender As Object, e As RssOPMLOutlineEventArgs)

Public Class RssOPMLOutlineEventArgs Inherits EventArgs
  Public ReadOnly Property Level As Integer
  Public ReadOnly Property Text As String
  Public ReadOnly Property TypeName As String
  Public ReadOnly Property Title As String
  Public ReadOnly Property URL As String
  Public ReadOnly Property XMLURL As String
  Public ReadOnly Property HTMLURL As String
  Public ReadOnly Property Created As String
  Public ReadOnly Property Description As String
  Public ReadOnly Property OtherAttrs As String
End Class

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.

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