Portability | portable |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Safe Haskell | Safe-Inferred |
- data LinkRelation
- = LinkAlternate
- | LinkCurrent
- | LinkEnclosure
- | LinkEdit
- | LinkEditMedia
- | LinkFirst
- | LinkLast
- | LinkLicense
- | LinkNext
- | LinkNextArchive
- | LinkPayment
- | LinkPrevArchive
- | LinkPrevious
- | LinkRelated
- | LinkReplies
- | LinkSelf
- | LinkVia
- | LinkOther String
- showLinkRelation :: LinkRelation -> String
- showLinkAttr :: LinkRelation -> String -> String
Documentation
data LinkRelation Source
Atom feeds uses typed IRI links to represent information / metadata that is of interest to the consumers (software, in the main) of feeds. For instance, the edit link relation attached to an atom:entry element points to the IRI to use to update/edit it.
The Atom standard encourages that such typed links to
be registered with IANA if they have wider applicability,
and the LinkRelation
data type encodes the currently
registered link types (derived from:
http://www.iana.org/assignments/link-relations.html
on 2007-10-28]
showLinkAttr :: LinkRelation -> String -> StringSource