Portability | portable |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Safe Haskell | None |
- type URI = String
- type NCName = String
- type Date = String
- type MediaType = String
- data Feed = Feed {
- feedId :: String
- feedTitle :: TextContent
- feedUpdated :: Date
- feedAuthors :: [Person]
- feedCategories :: [Category]
- feedContributors :: [Person]
- feedGenerator :: Maybe Generator
- feedIcon :: Maybe URI
- feedLinks :: [Link]
- feedLogo :: Maybe URI
- feedRights :: Maybe TextContent
- feedSubtitle :: Maybe TextContent
- feedEntries :: [Entry]
- feedAttrs :: [Attr]
- feedOther :: [Element]
- data Entry = Entry {
- entryId :: String
- entryTitle :: TextContent
- entryUpdated :: Date
- entryAuthors :: [Person]
- entryCategories :: [Category]
- entryContent :: Maybe EntryContent
- entryContributor :: [Person]
- entryLinks :: [Link]
- entryPublished :: Maybe Date
- entryRights :: Maybe TextContent
- entrySource :: Maybe Source
- entrySummary :: Maybe TextContent
- entryInReplyTo :: Maybe InReplyTo
- entryInReplyTotal :: Maybe InReplyTotal
- entryAttrs :: [Attr]
- entryOther :: [Element]
- data EntryContent
- = TextContent String
- | HTMLContent String
- | XHTMLContent Element
- | MixedContent (Maybe String) [Content]
- | ExternalContent (Maybe MediaType) URI
- data Category = Category {}
- data Generator = Generator {}
- data Link = Link {}
- data TextContent
- txtToString :: TextContent -> String
- data Source = Source {
- sourceAuthors :: [Person]
- sourceCategories :: [Category]
- sourceGenerator :: Maybe Generator
- sourceIcon :: Maybe URI
- sourceId :: Maybe String
- sourceLinks :: [Link]
- sourceLogo :: Maybe URI
- sourceRights :: Maybe TextContent
- sourceSubtitle :: Maybe TextContent
- sourceTitle :: Maybe TextContent
- sourceUpdated :: Maybe Date
- sourceOther :: [Element]
- data Person = Person {
- personName :: String
- personURI :: Maybe URI
- personEmail :: Maybe String
- personOther :: [Element]
- data InReplyTo = InReplyTo {
- replyToRef :: URI
- replyToHRef :: Maybe URI
- replyToType :: Maybe MediaType
- replyToSource :: Maybe URI
- replyToOther :: [Attr]
- replyToContent :: [Content]
- data InReplyTotal = InReplyTotal {
- replyToTotal :: Integer
- replyToTotalOther :: [Attr]
- newCategory :: String -> Category
- nullFeed :: String -> TextContent -> Date -> Feed
- nullEntry :: String -> TextContent -> Date -> Entry
- nullGenerator :: String -> Generator
- nullLink :: URI -> Link
- nullSource :: Source
- nullPerson :: Person
Core types
Feed | |
|
Entry | |
|
data EntryContent Source
Source | |
|
Person | |
|
InReplyTo | |
|
data InReplyTotal Source