|
Text.HTML.TagSoup.HT.Process |
|
|
|
|
|
Synopsis |
|
findMetaEncoding :: (Tag name, Attribute name, Eq name) => [T name String] -> Maybe String | | getMetaHTTPHeaders :: (Tag name, Attribute name, Eq name) => [T name string] -> [(string, string)] | | getHeadTags :: (Tag name, Attribute name, Eq name) => [T name string] -> [T name string] | | partAttrs :: Eq name => (Name name -> Bool) -> (([T name string], [T name string]) -> ([T name string], [T name string])) -> [T name string] -> [T name string] | | parts :: Eq name => (Name name -> Bool) -> [T name string] -> [Either ((Name name, [T name string]), [T name string]) [T name string]] |
|
|
|
analyse soup
|
|
|
|
|
Extract META tags which contain HTTP-EQUIV attribute
and present these values like HTTP headers.
|
|
|
|
transform soup
|
|
partAttrs :: Eq name => (Name name -> Bool) -> (([T name string], [T name string]) -> ([T name string], [T name string])) -> [T name string] -> [T name string] | Source |
|
Modify attributes and tags of certain parts.
For limitations, see parts.
|
|
|
Extract parts from the tag soup
that are enclosed in corresponding open and close tags.
If a close tag is missing, the soup end is considered as end of the part.
However nested tags are not supported,
e.g. in a><a></a></a>@ the second @<a is considered
to be enclosed in the first a>@ and the first @</a
and the second /a is ignored.
|
|
Produced by Haddock version 2.6.0 |