;; Maintainer: Eshel Yaron <me@eshelyaron.com>
;; Keywords: languages extensions
;; URL: http://git.eshelyaron.com/gitweb/?p=esy-publish.git
-;; Package-Version: 0.8.0
+;; Package-Version: 0.9.0
;; Package-Requires: ((emacs "28.2"))
;; This file is NOT part of GNU Emacs.
(with-current-buffer (find-file-noselect
(expand-file-name
file esy-publish-local-posts-directory))
+ (push (current-buffer) esy-publish--buffers)
(let ((dom (libxml-parse-html-region (point-min) (point-max))))
`(item nil
(title nil ,(string-join (dom-strings (car (dom-by-tag dom 'title)))))
(link nil ,(concat "https://eshelyaron.com/posts/" file))
(guid ((isPermaLink . "true")) ,(concat "https://eshelyaron.com/posts/" file))
(pubDate nil ,(substring file 0 10))
- (description nil ,(format "<![CDATA[%s]]>" (esy-publish--dom-to-string (car (dom-by-id dom "content")))))))
- (push (current-buffer) esy-publish--buffers)))
+ (description nil ,(format "<![CDATA[%s]]>" (esy-publish--dom-to-string (car (dom-by-id dom "content")))))))))
(defun esy-publish--finalize-sitemap (plist)
(let ((locs (mapcar #'esy-publish--file-url