Opml.Builder (Opml v0.2.0)

View Source

Module for building OPML files.

This module provides functionality to convert Elixir data structures into XML strings conforming to the OPML 2.0 specification.

Summary

Functions

Converts a data structure into an OPML XML string.

Functions

build(outlines, options \\ [])

Converts a data structure into an OPML XML string.

Parameters

  • outlines - list of outline elements
  • options - optional configuration
    • :version - OPML version, defaults to "2.0"
    • :title - document title
    • :date_created - creation date
    • :date_modified - modification date
    • :owner_name - owner name
    • :owner_email - owner email
    • other head element attributes

Returns

  • XML string conforming to OPML 2.0 specification