Function getFeed

  • getFeed(doc: AnyNode[]): Feed | null
  • Get the feed object from the root of a DOM tree.

    Returns

    The feed.

    Parameters

    • doc: AnyNode[]

      The DOM to to extract the feed from.

    Returns Feed | null