opml-conduit-0.5.0.0: Streaming parser/renderer for the OPML 2.0 format.

Safe HaskellNone
LanguageHaskell2010

Text.OPML.Types

Contents

Description

OPML is an XML format for outlines.

Example:

<opml version="2.0">
  <head>
    <title>OPML title</title>
    <dateCreated>Mon, 31 Oct 2005 19:23:00 GMT</dateCreated>
  </head>
  <body>
    <outline text="Outline 1" created="Mon, 31 Oct 2005 18:21:33 GMT"/>
    <outline text="Outline 2" created="Mon, 31 Oct 2005 18:21:33 GMT"/>
  </body>
</opml>

Synopsis

Top-level OPML structure

mkOpml :: Opml Source

Bare Opml. Version is set to 2.0.

OPML header

mkOpmlHead :: OpmlHead Source

Bare OpmlHead, all fields are set to mempty.

OPML outlines

Generic outlines

Subscription outlines