Copyright | (c) Galois, Inc. 2008, (c) Sigbjorn Finne 2009- |
---|---|
License | BSD3 |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
- data LinkRelation
- 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 -> String Source