From 6f5a6819f3d31ae17206467ae129c87721b2e05e Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 15 Mar 2013 16:45:26 +0100 Subject: [PATCH] contrib/lisp/ox-rss.el: Minor enhancements * contrib/lisp/ox-rss.el (org-rss-image-url): Use the Unicorn as the default image. (org-rss-publish-to-rss): Use `org-rss-extension'. --- contrib/lisp/ox-rss.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/ox-rss.el b/contrib/lisp/ox-rss.el index df971025a..e08726eaf 100644 --- a/contrib/lisp/ox-rss.el +++ b/contrib/lisp/ox-rss.el @@ -73,7 +73,7 @@ :version "24.4" :package-version '(Org . "8.0")) -(defcustom org-rss-image-url "" +(defcustom org-rss-image-url "http://orgmode.org/img/org-mode-unicorn-logo.png" "The URL of the an image for the RSS feed." :group 'org-export-rss :type 'string) @@ -213,7 +213,8 @@ is the property list for the given project. PUB-DIR is the publishing directory. Return output file name." - (org-publish-org-to 'rss filename ".xml" plist pub-dir)) + (org-publish-org-to + 'rss filename (concat "." org-rss-extension) plist pub-dir)) ;;; Main transcoding functions -- 2.11.4.GIT