summaryrefslogtreecommitdiff
path: root/ennum.el
AgeCommit message (Expand)Author
2020-08-02Deduplicate ennum-html export.•••* ennum.el (ennum-export-post): New function. (ennum-publish-post, ennum--feed-entry): Invoke ennum-export-post. Arun Isaac
2020-08-01Embed list of translations into post object.•••* ennum.el (ennum-post): Add ennum-copy-post copier and translations slot. (ennum-posts): Set translations slot. (ennum-publish-post): Publish a single post, not a translation group of posts. (ennum-publish): Pass posts to ennum-publish-post one by one, without grouping. * ennum-html.el (ennum-html-inner-template): Use translations alist. Arun Isaac
2020-07-31Switch from ennum-operation to ennum-exp.•••ennum-exp is a simple embedded domain specific language to express blog publishing in a more expression oriented form. * ennum.el (ennum-operation): Delete type. (ennum--do-operation): Delete function. (ennum-intern, ennum--hash, ennum-file-hash, ennum--file-hash, ennum--set-file-modes-recursively, ennum--rewrite-inputs, ennum-eval, ennum-store-item-union): New functions. (ennum-exp): New macro. (ennum-setting): Introduce :store setting. (ennum-publish-post, ennum-publish-generic, ennum-publish-index, ennum-publish-feed, ennum--feed-entry, ennum-publish-image, ennum-publish-copy, ennum-publish-link, ennum-publish): Switch from ennum-operation to ennum-exp. Arun Isaac
2020-07-31Delete ennum-publish-static-file.•••ennum-publish-static-file is a duplicate of ennum-publish-copy. * ennum.el (ennum-publish-static-file): Delete function. Arun Isaac
2020-07-31Use ennum-mkdir-p in ennum-copy.•••* ennum.el (ennum-copy): Use ennum-mkdir-p. Arun Isaac
2020-07-31Specify post title explicitly in the link description.•••Index generation uses the html backend, and cannot access the special post link of the ennum-html backend. * ennum.el (ennum-publish-index): During index generation, specify post title explicitly in the link description. Arun Isaac
2020-07-31Leave new temporary directory permissions unchanged.•••* ennum.el (ennum-with-temporary-directory): Leave new temporary directory permissions unchanged. Arun Isaac
2020-07-31Introduce ennum-directory-files.•••ennum-directory-files is a more convenient around directory-files and directory-files-recursively. * ennum.el (ennum-directory-files): New function. (ennum-posts, ennum-video-poster, ennum-publish): Use ennum-directory-files. (ennum-publish-generic): Accept files that are not prefixed by other-files-directory. Arun Isaac
2020-07-31Define ennum-blog variable.•••* ennum.el (ennum-blog): Define variable. Arun Isaac
2020-07-31Pass video posters through info.•••* ennum.el (ennum-post): Add video-posters slot. (ennum--read-post): Set video-posters slot when creating post object. (ennum-publish-post, ennum--feed-entry): Pass video-posters in info communication channel. * ennum-html.el (ennum-html-link): Handle video links differently from normal org links since they require access to the info communication channel. Get poster from info instead of reading the source tree directly. (ennum-export-video): Delete function. (org-link-parameters): Unregister ennum-export-video. Arun Isaac
2020-07-31Prefix :translations in info with ennum-.•••* ennum.el (ennum-publish-post): Prefix :translations in info communication channel with ennum-. * ennum-html.el (ennum-html-inner-template): Use :ennum-translations instead of :translations. Arun Isaac
2020-07-18Rename ennu to ennum.•••* ennu.el: Rename to ... * ennum.el: ... this. Replace all instances of ennu with ennum. * ennu-html.el: Rename to ... * ennum-html.el: ... this. Replace all instances of ennu with ennum. * ennu-image.el: Rename to ... * ennum-image.el: ... this. Replace all instances of ennu with ennum. Arun Isaac