summaryrefslogtreecommitdiff
path: root/Pancake/Reading.hs
AgeCommit message (Collapse)Author
2018-04-23Handle XHTML filename extensions and MIME typesdefanor
2018-02-21Use Redland bindings instead of rdf4hdefanor
It's faster, includes a proper triple store with querying, and generally should be more useful.
2018-02-08Introduce pandoc timeoutsdefanor
Sometimes pandoc takes unreasonably long time to parse a document (though it warns about that in the documentation), so a safeguard is needed.
2018-01-23Add initial RDF supportdefanor
With two types of caching: file-based for retrieved documents, and memory-based for predicate labels extracted from those.
2018-01-01Update copyright yearsdefanor
2017-12-24Fix a typodefanor
2017-12-08Set the PANCAKE environment variable for downloadersdefanor
2017-12-06Add a web.archive.org shortcut into the default configurationdefanor
Finding the last HTTP 200 response via the availability API, so a dummy "web-archive" scheme is added into the default configuration in order to use a custom command. The URI_ESCAPED environment variable is also introduced, though not used here -- but may be handy for similar custom commands.
2017-11-28Prepend license notices to source filesdefanor
2017-11-26Add file savingdefanor
User commands are adjusted, and the code is slightly refactored in order to fit this better.
2017-11-25Parse Emacs "mode" file variablesdefanor
Mode names mostly match file extensions, so try to use those when other methods fail.
2017-11-23Use default pandoc extensionsdefanor
Identifiers get handled better with those. And since they also add divs, rendering of lists of blocks is slightly improved to avoid unnecessary spacing.
2017-11-06Lint the codedefanor
2017-11-05Read metadatadefanor
Reading effective URI and content type (if those are available) now, aiming `curl -w` or similar commands. Not a particularly nice way, and complicates both the program and the configuration, but sometimes file name extensions are deceptive.
2017-11-05Allow to set document types explicitlydefanor
2017-11-05Split into modulesdefanor