opml-conduit-0.2.0.1: 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

data Opml

Instances

Eq Opml 
Show Opml 
Generic Opml 
Default Opml 
Arbitrary Opml 
type Rep Opml 

OPML header

data OpmlHead

Instances

Eq OpmlHead 
Show OpmlHead 
Generic OpmlHead 
Default OpmlHead

Use def as a smart constructor. All fields are set to mempty.

Arbitrary OpmlHead 
type Rep OpmlHead 

OPML outlines

Generic outlines

mkOutlineBase :: NonNull Text -> OutlineBase

Smart constructor for OutlineBase.

Subscription outlines