Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data Opml = Opml {}
- mkOpml :: Opml
- data OpmlHead = OpmlHead {
- opmlTitle :: Text
- opmlCreated :: Maybe UTCTime
- modified :: Maybe UTCTime
- ownerName :: Text
- ownerEmail :: Text
- ownerId :: Maybe URI
- docs :: Maybe URI
- expansionState :: [Int]
- vertScrollState :: Maybe Int
- windowBottom :: Maybe Int
- windowLeft :: Maybe Int
- windowRight :: Maybe Int
- windowTop :: Maybe Int
- mkOpmlHead :: OpmlHead
- data OpmlOutline
- data OutlineBase = OutlineBase {}
- mkOutlineBase :: Refined (Not Null) Text -> OutlineBase
- data OutlineSubscription = OutlineSubscription {
- xmlUri :: URI
- htmlUri :: Maybe URI
- description :: Text
- language :: Text
- subscriptionTitle :: Text
- subscriptionVersion :: Text
- mkOutlineSubscription :: URI -> OutlineSubscription
- data Null
Top-level OPML structure
Instances
Eq Opml Source # | |
Show Opml Source # | |
Generic Opml Source # | |
type Rep Opml Source # | |
Defined in Text.OPML.Types type Rep Opml = D1 (MetaData "Opml" "Text.OPML.Types" "opml-conduit-0.8.0.0-2ewmz807hM9CLN8pmjf3zW" False) (C1 (MetaCons "Opml" PrefixI True) (S1 (MetaSel (Just "opmlVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Version) :*: (S1 (MetaSel (Just "opmlHead") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 OpmlHead) :*: S1 (MetaSel (Just "opmlOutlines") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Forest OpmlOutline))))) |
OPML header
OpmlHead | |
|
Instances
OPML outlines
data OpmlOutline Source #
Outlines are the main payload of an OPML document.
Instances
Generic outlines
data OutlineBase Source #
Instances
mkOutlineBase :: Refined (Not Null) Text -> OutlineBase Source #
Smart constructor for OutlineBase
.
Subscription outlines
data OutlineSubscription Source #
OutlineSubscription | |
|
Instances
mkOutlineSubscription :: URI -> OutlineSubscription Source #
Smart constructor for OutlineSubscription