about summary refs log tree commit diff
path: root/ennum.el
AgeCommit message (Collapse)Author
12 daysIntroduce ennum-expn.Arun Isaac
12 daysDo not link back to index-1.html, only to index.html.Arun Isaac
index-1.html is the same as index.html. We can link to index.html (or the ./ URL) instead of linking to index-1.html. However, we take care to not do the same for non-English pages.
12 daysPromote …-index-filename optional arguments to regular arguments.Arun Isaac
12 daysAdd gemini capsule publishing.Arun Isaac
13 daysMove link types to separate file.Arun Isaac
Move link types to a separate file independent of the ennum-html backend. The new link export interface exposes the info communication channel. So, we no longer need to override the html link transcoder.
13 daysEvaluate ennum expressions lazily.Arun Isaac
Construct ennum expressions into an expression tree, and lazily evaluate them later at the time of publishing.
14 daysRemove TODO item to create …-mkdir-p-for-file.Arun Isaac
2026-08-07Explicitly pass root to httpd-gen-path.Arun Isaac
Since simple-httpd 1.6, httpd-gen-path requires an explicit root argument. It no longer uses httpd-root.
2025-11-14Add post summary to feed entries.Arun Isaac
2025-11-13Encode URIs.Arun Isaac
2025-11-13Handle time zone information in Atom feed dates.Arun Isaac
2025-11-13Publish a separate Atom feed for each language.Arun Isaac
2025-09-10Add Open Graph Protocol meta tags.Arun Isaac
2025-09-09Delete copy of tangled org file using unwind-protect.Arun Isaac
unwind-protect is safer and ensures deletion even if there are non-local exits.
2025-07-01Support images generated at build-time.Arun Isaac
* ennum.el (ennum-setting): Add :generated-image-paths. (ennum--find-image): New function. (ennum-publish-link, ennum-publish): Use ennum--find-image.
2025-06-30Add docstring for ennum-intern.Arun Isaac
* ennum.el (ennum-intern): Add docstring.
2025-06-30Canonicalize file paths before interning.Arun Isaac
* ennum.el (ennum-intern): Canonical file paths before interning.
2025-06-30Return absolute paths even when input path is not absolute.Arun Isaac
* ennum.el (ennum-directory-files): Return absolute paths even if input path is not an absolute path.
2025-04-12Activate org mode before reading post.Arun Isaac
* ennum.el (ennum--read-post): Activate org mode before doing anything else.
2025-04-12Support additional user-specified store items.Arun Isaac
* ennum.el (ennum-setting): Add :other-items. (ennum-publish): Publish store items from :other-items.
2025-03-30Add pdf link type.Arun Isaac
* ennum-html.el (ennum-html-export-pdf): New function. (org-link-parameters): Add pdf. * ennum.el (ennum-setting): Add :pdf-width and :pdf-height settings. (ennum-publish-link): Add pdf link type.
2025-03-29Intern source images before any operation on them.Arun Isaac
Functions must operate on store items and produce store items. Thus, the set of store items is closed under the function. This closure frees the function to not care about the origin of the store item. Thus, the store item becomes a mere value to be passed around, rather than a place with special meaning. * ennum.el (ennum-publish-image): Only accept interned images. (ennum-publish-link, ennum-publish): Intern images before passing them to ennum-publish-image.
2025-03-29Inhibit file name handlers when serving static files.Arun Isaac
* ennum.el (ennum-server-start)[httpd/]: Inhibit file name handlers when serving static files.
2025-03-29Implement the Cache Directory Tagging Specification.Arun Isaac
* ennum.el (ennum-eval): Mark store as a cache directory.
2025-01-29Inhibit certain file name handlers during ennum builds.Arun Isaac
* ennum.el (ennum-inhibit-file-name-handlers): New variable. (ennum--file-hash): Inhibit file name handlers in ennum-inhibit-file-name-handlers when inserting file contents literally.
2025-01-29Do not track features.Arun Isaac
Let us not track features. It is not possible to guarantee such strong controls without spawning a separate inferior process for the build. Also, many features put in non-reproducible values such as dates and times that disrupt the caching. If variables or functions are mutated, rebuilding manually is the user's problem. For final publishing, continuous integration systems need to be used anyway. * ennum.el (ennum-track-features, ennum-feature-hash): Delete variables. (ennum--feature-environment): Delete function. (ennum-eval): Do not print ennum-feature-hash. (ennum-publish): Do not recompute ennum-feature-hash.
2022-08-21Actually use default :tag-directory setting.Arun Isaac
* ennum.el (ennum-setting): Actually use default :tag-directory setting.
2022-08-19Rename :video-directory setting to :videos-directory.Arun Isaac
* ennum.el (ennum-setting, ennum-blog): Rename :video-directory setting to :videos-directory. (ennum-publish-link): Use :videos-directory setting instead of :video-directory. * ennum-html.el (ennum-html-link, ennum-html-follow-video): Use :videos-directory setting instead of :video-directory.
2022-08-18Introduce :required-metadata setting.Arun Isaac
* ennum.el (ennum-mandatory-metadata): Delete variable. (ennum-setting): Define the :required-metadata setting. (ennum-blog): Document the :required-metadata property. (ennum--read-post): Use the :required-metadata setting instead of ennum-mandatory-metadata.
2022-08-18Add trailing period to ennum-version docstring.Arun Isaac
* ennum.el (ennum-version): Add trailing period to docstring.
2022-08-18Make ennum-blog customizable.Arun Isaac
* ennum.el (ennum-blog): Define using defcustom instead of defvar.
2022-08-18Document ennum-blog variable.Arun Isaac
* ennum.el (ennum-blog): Add docstring.
2022-08-18Rename :thumbnail-image-width property to :image-thumbnail-width.Arun Isaac
* ennum.el (ennum-publish): Use :image-thumbnail-width instead of :thumbnail-image-width. (ennum-setting): Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum-html.el (ennum-html-export-thumbnail): Use :image-thumbnail-width instead of :thumbnail-image-width.
2022-08-18Rename :default-image-width property to :image-width.Arun Isaac
* ennum.el (ennum-publish-link): Use :image-width instead of :default-image-width. (ennum-setting): Rename :default-image-width property to :image-width. * ennum-html.el (ennum-html-link): Use :image-width instead of :default-image-width.
2022-08-18Make ennum-version a constant instead of a variable.Arun Isaac
* ennum.el (ennum-version): Define as a constant instead of as a variable.
2022-08-18Mark query argument of httpd/ as unused.Arun Isaac
* ennum.el (ennum-server-start): Mark query argument of httpd/ as unused.
2022-08-18Create customization group.Arun Isaac
* ennum.el (ennum): New customization group. * ennum-image.el (ennum-image-convert-path, ennum-image-identify-path, ennum-image-jpegtran-path, ennum-image-optipng-path): Add to ennum customization group.
2022-08-18Treat author name as plain text.Arun Isaac
* ennum.el (ennum--read-post): Treat author name as plain text. Do not export it using org.
2022-08-17Replace first with seq-first.Arun Isaac
cl is deprecated. So we replace first from cl with seq-first from seq. * ennum.el: Do not require cl. (ennum--read-post, ennum-publish-index, ennum-publish-feed): Replace first with seq-first.
2022-08-17Do not pattern match link objects, use the org API.Arun Isaac
* ennum.el (ennum--read-post): Do not pattern match link objects. Use the org API instead.
2022-08-17Pass tongue argument to ennum-publish-index.Arun Isaac
Pass tongue argument to ennum-publish-index and ennum-publish-index-page instead of letting them discover it themselves. * ennum.el (ennum-publish): Pass tongue argument to ennum-publish-index. (ennum-publish-index): Accept tongue argument. Pass tongue argument to ennum-publish-index-page. (ennum-publish-index-page): Accept tongue argument.
2022-08-17Use posts-directory argument in ennum-posts.Arun Isaac
* ennum.el (ennum-posts): Use posts-directory argument instead of querying for it again using ennum-setting.
2022-08-17Move ennum-with-temporary-directory to top.Arun Isaac
* ennum.el (ennum-with-temporary-directory): Move to top.
2022-08-17Move ennum-with-current-directory to top.Arun Isaac
* ennum.el (ennum-with-current-directory): Move to top.
2022-08-17Move ennum-with-file-contents to top.Arun Isaac
* ennum.el (ennum-with-file-contents): Move to top.
2022-08-17Do not pass comparison function to map-elt.Arun Isaac
* ennum.el (ennum-export-post, ennum-publish-index-page, ennum-assoc-prepend): Do not pass comparison function to map-elt. * ennum-html.el (ennum-html-inner-template): Do not pass comparison function to map-elt.
2022-08-17Mark last-modified memoization argument as unused.Arun Isaac
The last-modified argument is only for invalidating memoized results of an older function call. Its value is not actually used. So, mark it as such to avoid a compiler warning. * ennum.el (ennum--file-hash, ennum--read-post): Mark last-modified memoization argument as unused.
2022-08-15Strip leading directory from other files.Arun Isaac
* ennum.el (ennum-publish): Strip leading directory from other files. (ennum-publish-generic): Prepend other files directory to find the source file.
2022-08-15Optionally return files in the current directory.Arun Isaac
* ennum.el (ennum-directory-files): If directory is not provided, assume it is the current directory.
2022-08-15Replace seq-do with dolist.Arun Isaac
* ennum.el (ennum--set-file-modes-recursively, ennum-store-item-union, ennum-publish-index-page, ennum--read-post): Replace seq-do with dolist.