|
@@ -48,7 +48,7 @@
|
|
|
;; :base-directory "~/myhomepage/"
|
|
|
;; :base-extension "org"
|
|
|
;; :rss-image-url "http://lumiere.ens.fr/~guerry/images/faces/15.png"
|
|
|
-;; :home-link-home "http://lumiere.ens.fr/~guerry/"
|
|
|
+;; :html-link-home "http://lumiere.ens.fr/~guerry/"
|
|
|
;; :rss-extension "xml"
|
|
|
;; :publishing-directory "/home/guerry/public_html/"
|
|
|
;; :publishing-function (org-rss-publish-to-rss)
|
|
@@ -236,12 +236,11 @@ communication channel."
|
|
|
(pubdate
|
|
|
(let ((system-time-locale "C"))
|
|
|
(format-time-string
|
|
|
- "%a, %d %h %Y %H:%M:%S %Z"
|
|
|
+ "%a, %d %h %Y %H:%M:%S %z"
|
|
|
(org-time-string-to-time
|
|
|
(or (org-element-property :PUBDATE headline)
|
|
|
(error "Missing PUBDATE property"))))))
|
|
|
- (title (org-rss-plain-text
|
|
|
- (org-element-property :raw-value headline) info))
|
|
|
+ (title (org-element-property :raw-value headline))
|
|
|
(publink
|
|
|
(concat
|
|
|
(file-name-as-directory
|
|
@@ -310,7 +309,7 @@ as a communication channel."
|
|
|
(author (and (plist-get info :with-author)
|
|
|
(let ((auth (plist-get info :author)))
|
|
|
(and auth (org-export-data auth info)))))
|
|
|
- (date (format-time-string "%a, %d %h %Y %H:%M:%S %Z")) ;; RFC 882
|
|
|
+ (date (format-time-string "%a, %d %h %Y %H:%M:%S %z")) ;; RFC 882
|
|
|
(description (org-export-data (plist-get info :description) info))
|
|
|
(lang (plist-get info :language))
|
|
|
(keywords (plist-get info :keywords))
|
|
@@ -332,7 +331,7 @@ as a communication channel."
|
|
|
<pubDate>%s</pubDate>
|
|
|
<lastBuildDate>%s</lastBuildDate>
|
|
|
<generator>%s</generator>
|
|
|
-<webMaster>%s</webMaster>
|
|
|
+<webMaster>%s (%s)</webMaster>
|
|
|
<image>
|
|
|
<url>%s</url>
|
|
|
<title>%s</title>
|
|
@@ -344,7 +343,7 @@ as a communication channel."
|
|
|
emacs-major-version
|
|
|
emacs-minor-version)
|
|
|
" Org-mode " (org-version))
|
|
|
- email image title blogurl)))
|
|
|
+ email author image title blogurl)))
|
|
|
|
|
|
(defun org-rss-section (section contents info)
|
|
|
"Transcode SECTION element into RSS format.
|