summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-03-15Handle image links with separate transcoder.•••* ennu-html.el (ennu-html-link): New function. (ennu-html): Add ennu-html-link transcoder. Remove :html-inline-image-rules option. (ennu-export-image): Delete function. Unregister it from org-link-parameters. Arun Isaac
2020-03-13List tags only if present.•••* ennu-html.el (ennu-html-inner-template): List tags only if present. Arun Isaac
2020-03-13Pass backend name to export functions.•••* ennu-html.el (ennu-html-inner-template): Pass backend name, not backend to export functions ennu-export-post and ennu-export-tag. Arun Isaac
2020-03-13Use appropriate time locale when exporting pages.•••We set the appropriate time locale so that dates are exported in the correct language. * ennu.el (ennu-publish-post, ennu-publish-index): Set time locale according to language of the page. (ennu-setting): Introduce :locale-alist mapping languages to their locales. Use C locale for English pages as the default :locale-alist. Arun Isaac
2020-03-13Log message when starting server.•••* ennu.el (ennu-server-start): Log message. Arun Isaac
2020-03-13Deny requests to all html files except index.html.•••* ennu.el (ennu-server-start): Deny requests to all html files except index.html. Arun Isaac
2020-03-13Provide ennu web server stop command.•••* ennu.el (ennu-server-start): New function. Arun Isaac
2020-03-13Rename ennu-serve to ennu-server-start.•••* ennu.el (ennu-serve): Rename to ennu-server-start. Arun Isaac
2020-03-13Simplify picking of default settings.•••* ennu.el (ennu-setting): Combine picking of all default settings into one clause. Arun Isaac
2020-03-13Publish interlanguage links only if there are translations.•••* ennu-html.el (ennu-html-inner-template): Publish interlanguage links only if there are translations. Arun Isaac
2020-03-13Use language name in interlanguage links.•••* ennu-html.el (ennu--iso-639-1-alist): New variable. (ennu-html-inner-template): Use language name in interlanguage links. Arun Isaac
2019-09-02Tangle posts.•••* ennu.el (ennu-publish-post): Tangle posts if they have src blocks marked for tangling. Arun Isaac
2019-09-02Publish video and poster, not just one.•••* ennu.el (ennu-publish-link): Publish video and poster, not just one of them. Return a list of operations instead of a single operation. (ennu-publish-post): Accept a list of operations from ennu-publish-link. Arun Isaac
2019-09-02Add tangle slot to post structure.•••* ennu.el (ennu-post): Add tangle slot. (ennu--read-post): Initialize tangle slot. Arun Isaac
2019-09-02Add filter-map utility function.•••* ennu.el (ennu--filter-map): New function. Arun Isaac
2019-09-02Add language suffix to filenames without an extension.•••* ennu.el (ennu-add-tongue-suffix): Support filenames without extension. Arun Isaac
2019-09-02Support percent encoded URIs in ennu server.•••* ennu.el (ennu-publish): Decode percent encoded URIs. Arun Isaac
2019-09-02Specify tag language suffix in tag links.•••* ennu-html.el (ennu-html-inner-template): Specify tag language suffix in tag links. * ennu.el (ennu-publish-index): Specify tag language suffix in tag links. Arun Isaac
2019-09-02Implement generic publisher.•••* ennu.el (ennu-publish-page): Delete function. (ennu-publish-generic): New function. (ennu-setting): Derecognize :pages-directory and :unattached-static-files properties. Recognize :other-files-directory property. (ennu-publish): Invoke ennu-publish-generic, the generic publisher. Arun Isaac
2019-09-02Implement ennu-html inner-template transcoder.•••* ennu-html.el (ennu-html-inner-template): New function. (ennu-html): Specify ennu-html-inner-template as inner-template transcoder. Arun Isaac
2019-09-02Publish links together with posts.•••* ennu.el (ennu-publish-post): Publish links together with posts and return a list of operations. (ennu-publish): Concatenate the lists of operations returned from ennu-publish-post. Do not invoke ennu-publish-link to publish links. Arun Isaac
2019-09-02Publish posts and their translations together.•••* ennu.el (ennu-publish-post): Publish posts and their translations together in a single operation. (ennu-publish): Invoke ennu-publish-post with all posts of a single translation group. Arun Isaac
2019-09-02Use ennu-copy wherever applicable.•••* ennu.el (ennu-publish-image, ennu--do-operation): Use ennu-copy instead of copy-file. Arun Isaac
2019-09-02While copying, overwrite if destination already exists.•••* ennu.el (ennu-copy): Overwrite destination if it already exists. Arun Isaac
2019-09-02Publish index using html backend.•••* ennu.el (ennu-publish-index): Publish index using html backend, not ennu-html backend. Arun Isaac
2019-09-02Add slug slot to post structure.•••* ennu.el (ennu-post): Add slug slot. (ennu--read-post): Initialize slug slot. (ennu-publish-index): Get slug slot instead of recomputing it. Arun Isaac
2019-08-30Implement operation as structure.•••* ennu.el (ennu-operation): New structure. (ennu-publish-post, ennu-publish-page, ennu-publish-index, ennu-publish-feed, ennu-publish-image, ennu-publish-copy, ennu-publish-static-file, ennu--do-operation): Use new operation structure API. Arun Isaac
2019-08-27Infer index language from posts.•••* ennu.el (ennu-publish-index): Infer language from posts. (ennu-publish): Do not pass language to ennu-publish-index. Arun Isaac
2019-08-27Implement post as structure.•••* ennu.el (ennu-post): New structure. (ennu-posts, ennu-publish, ennu-publish-feed, ennu-publish-index, ennu-publish-post, ennu--feed-entry): Use new post structure API. (ennu-later-post-p, ennu-read-post, ennu--read-post): New functions. (ennu-plist-map-to-plist, ennu-post-links, ennu-post-metadata, ennu--post-metadata-memoized, ennu-post-tags, ennu-post-thumbnail, ennu-post-tongue, ennu--later-post): Delete functions. * ennu-html.el (ennu-export-post): Use new post structure API. Arun Isaac
2019-08-27Introduce #+TRANSLATION_GROUP keyword.•••* ennu-html.el (ennu-html): Add :translation-group to :options-alist. Arun Isaac
2019-08-27Implement test HTTP server.•••* ennu.el (ennu-serve): New function. Arun Isaac
2019-08-27Require map for use of map-put.•••* ennu.el: Require map. Arun Isaac
2019-08-27Fix unwind protection in ennu-with-temporary-directory.•••* ennu.el (ennu-with-temporary-directory): Fix unwind protection. Arun Isaac
2019-08-26Parse org syntax in #+SUMMARY keyword.•••* ennu-html.el (ennu-html): Parse org syntax in :summary keyword. * ennu.el (ennu--post-metadata-memoized): Handle :summary property. Arun Isaac
2019-08-26Clean up ennu--post-metadata-memoized.•••* ennu.el (ennu--post-metadata-memoized): Combine treatment of :title and :date properties into a single clause. Arun Isaac
2019-08-26Replace plist-put* by non-destructive ennu-plist-map-to-plist.•••* ennu.el (plist-put*): Delete function. (ennu-plist-map-to-plist): New function. (ennu--post-metadata-memoized): Replace plist-put* by non-destructive ennu-plist-map-to-plist. Arun Isaac
2019-08-26Use grouping functions to handle multiple tags and languages.•••* ennu.el (ennu-many-to-many-group-by): New function. (ennu-publish): Use grouping functions seq-group-by and ennu-many-to-many-group-by instead of seq-filter to handle multiple tags and languages. Arun Isaac
2019-08-26Remove notion of blog subtitle.•••* ennu.el (ennu-publish-index, ennu-publish-feed, ennu-publish): Do not support subtitle. (ennu-setting): Remove :blog-subtitle property. Arun Isaac
2019-08-26Change directory before publishing.•••* ennu.el (ennu-with-current-directory): New macro. (ennu-setting): Add :working-directory property. (ennu-publish): Change directory before publishing. Arun Isaac
2019-08-26Abstract out temporary directory creation.•••* ennu.el (ennu-with-temporary-directory): New macro. (ennu-publish): Use ennu-with-temporary-directory to create temporary directory. Arun Isaac
2019-08-26Introduce :tag-directory property.•••* ennu.el (ennu-setting): Add :tag-directory property. Arun Isaac
2019-08-26Specify language during index file generation.•••* ennu.el (ennu-publish-index): Specify #+LANGUAGE keyword. Arun Isaac
2019-08-26Do not remove directory components from index filenames.•••* ennu.el (ennu-index-filename): Do not remove directory components from index filenames. (ennu-publish-index): Remove directory components in pagination links. Arun Isaac
2019-08-26Optionally, generate index filenames without extensions.•••* ennu.el (ennu-index-filename): Make extension argument optional. If extension is nil, do not add extension to generated filename. (ennu-publish-index): Use links without extension for pagination. Arun Isaac
2019-08-25Publish ennu-with-file-contents.•••* ennu.el (ennu--with-file-contents): Rename to ... (ennu-with-file-contents): ... this. Add docstring. (ennu-publish-post, ennu-publish-page, ennu--feed-entry, ennu-post-links, ennu--post-metadata-memoized): Fix invocations. Arun Isaac
2019-08-22Make ennu-publish an interactive command.•••* ennu.el (ennu-publish): Make interactive. Arun Isaac
2019-08-22Specify ennu version in Atom feed generator field.•••* ennu.el (ennu-version): New variable. (ennu-publish-feed): Specify ennu version in generator field. Arun Isaac
2019-08-22Do not expose html extension in the tag URI.•••* ennu-html.el (ennu-export-tag): Do not append html extension when exporting tag link. Arun Isaac
2019-08-20Initial commitArun Isaac