summaryrefslogtreecommitdiff
path: root/src/mimehooks.c
AgeCommit message (Collapse)Author
2021-10-01Fixed failure to parse Atom feed entry timeJaakko Keränen
Atom XML feed timestamps may have a T or a space as the separator between the date and the time. IssueID #348
2021-08-01Translations for hardcoded English stringsJaakko Keränen
IssueID #276
2021-05-02DocumentWidget: Retain Gempub data; cleanupJaakko Keränen
Keep hold of the `Gempub` data while the page is open so it can be used for other purposes.
2021-05-02Added a Gempub helperJaakko Keränen
`Gempub` opens and parses a Gempub archive and provides access to the contents in a common way.
2021-04-30CleanupJaakko Keränen
A missing license banners and pragmas.
2021-04-30Gempub: Updated to latest spec versionJaakko Keränen
Load "metadata.txt" and check for the new properties. Contents of the cover page were shuffled around a bit. IssueID #255
2021-04-24Gempub cover page; cleanupJaakko Keränen
Use MIME hooks to generate a Gempub cover page with a preloaded cover image. This required applying MIME filtering to "file://" requests as well. Todo: More cleanup, add a gempub.c.
2021-02-26MimeHooks: Atom conversion messageJaakko Keränen
2021-02-23Feeds: Improved Atom feed parserJaakko Keränen
Entries may only have a "published" time.
2021-02-17Added a built-in Atom-to-Gemini feed translatorJaakko Keränen
If no user-configured MIME hooks handle an Atom XML document, it will be translated using a built-in filter hook. Only Atom is supported. IssueID #78
2020-12-07CleanupJaakko Keränen
Don't leak a string list.
2020-12-07Set REQUEST_URL in the MIME hook environmentJaakko Keränen
This time without a race. IssueID #90
2020-12-07MimeHooks: Check if the hook program was startedJaakko Keränen
IssueID #89
2020-12-06Report errors in MIME hooks; added to about:debugJaakko Keränen
2020-12-02MimeHooks: Parsing more than one hookJaakko Keränen
2020-12-02MimeHooks: Fixed issue with waiting for outputJaakko Keränen
2020-12-02Added MimeHooksJaakko Keränen
This is a very powerful mechanism: translate the contents of any request to something else when the original MIME type matches a configured regexp. The external hook command may still elect not to process the request.