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 Konachan.
- data Konachan = Konachan
- type KonachanPost = PR `["actual_preview_height", "actual_preview_width", "author", "change", "created_at", "file_size", "file_url", "frames", "frames_pending", "frames_pending_string", "frames_string", "has_children", "height", "id", "is_held", "is_shown_in_index", "jpeg_file_size", "jpeg_height", "jpeg_url", "jpeg_width", "md5", "preview_height", "preview_url", "preview_width", "rating", "sample_file_size", "sample_height", "sample_url", "sample_width", "score", "source", "status", "tags", "width"]`
- parsePost :: (Functor (cat XmlTree), ArrowXml cat) => cat XmlTree KonachanPost
Documentation
We use this type and its Site
instance to distinguish
between various parsers.
type KonachanPost = PR `["actual_preview_height", "actual_preview_width", "author", "change", "created_at", "file_size", "file_url", "frames", "frames_pending", "frames_pending_string", "frames_string", "has_children", "height", "id", "is_held", "is_shown_in_index", "jpeg_file_size", "jpeg_height", "jpeg_url", "jpeg_width", "md5", "preview_height", "preview_url", "preview_width", "rating", "sample_file_size", "sample_height", "sample_url", "sample_width", "score", "source", "status", "tags", "width"]` Source
Konachan post record