summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-15 15:45:26 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-03-15 15:45:26 (GMT)
commit6f5a6819f3d31ae17206467ae129c87721b2e05e (patch)
tree4ee2e27423321a54999345c8dfef67e4801876b1
parent40824a869e89880e54baa489917810768c15f7a2 (diff)
downloadorg-mode-6f5a6819f3d31ae17206467ae129c87721b2e05e.zip
org-mode-6f5a6819f3d31ae17206467ae129c87721b2e05e.tar.gz
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'.
-rw-r--r--contrib/lisp/ox-rss.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/lisp/ox-rss.el b/contrib/lisp/ox-rss.el
index df97102..e08726e 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