Opml (Opml v0.1.0)

View Source

Parser module for OPML (Outline Processor Markup Language) files.

This module provides functionality to parse OPML files from either URLs or direct XML content, and converts the OPML structure into a more usable JSON-like map structure.

Summary

Functions

Parses an OPML file from either a URL or direct XML content. Returns a structured map representation of the OPML data.

Functions

parse(data)

Parses an OPML file from either a URL or direct XML content. Returns a structured map representation of the OPML data.

Parameters

  • data - A URL string pointing to an OPML file or a string containing OPML XML content

Returns

  • {:ok, map} - Successfully parsed OPML data as a map
  • {:error, reason} - Error occurred during parsing