Copyright | (c) Mateusz Kowalczyk 2013-2014 |
---|---|
License | GPL-3 |
Maintainer | fuuzetsu@fuuzetsu.co.uk |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Module for parsing content from safebooru.
- data Safebooru = Safebooru
- type SafebooruPost = PR `["height", "score", "file_url", "parent_id", "sample_url", "sample_width", "sample_height", "preview_url", "rating", "tags", "id", "width", "change", "md5", "creator_id", "has_children", "created_at", "status", "source", "has_notes", "has_comments", "preview_width", "preview_height"]`
- parsePost :: (Functor (cat XmlTree), ArrowXml cat) => cat XmlTree SafebooruPost
Documentation
We use this type and its Site
instance to distinguish
between various parsers.
type SafebooruPost = PR `["height", "score", "file_url", "parent_id", "sample_url", "sample_width", "sample_height", "preview_url", "rating", "tags", "id", "width", "change", "md5", "creator_id", "has_children", "created_at", "status", "source", "has_notes", "has_comments", "preview_width", "preview_height"]` Source
Safebooru post record.