From mboxrd@z Thu Jan 1 00:00:00 1970 From: flammable project Subject: Re: RSS back-end: blogging with Org-mode is now easy Date: Wed, 10 Jul 2013 21:53:54 +0200 Message-ID: References: <871ubgvejb.fsf@bzg.ath.cx> <878v1ekaf2.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493e0031b97704e12da35d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ux0Sb-0004hk-S4 for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 15:54:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ux0SZ-0006qI-VW for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 15:53:57 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org --089e01493e0031b97704e12da35d Content-Type: text/plain; charset=ISO-8859-1 Ok so mow I tried "GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09 on komainu, modified by Debian" but with the same issue. here is my .emacs config: ;; ;; ORG Mode ;; (setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path)) (setq load-path (cons "~/.emacs.d/org-mode/contrib/lisp" load-path)) (require 'org-install) (require 'ox-rss) ;; Auto load OrgMode with "*.org" files (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) ;; ;; EXPORT ;; ;; Don't use postamble to exported HTML (setq org-export-html-postamble nil) ;; re-export everything regardless of whether or not it's been modified (setq org-publish-use-timestamps-flag nil) ;; ;; ORG publish function ;; (setq org-publish-project-alist '( ("orgfiles" :base-directory "/home/xxxxx/Dropbox/website/src/" :base-extension "org" :publishing-directory ""/home/xxxxx/Dropbox/website /public_html/" :recursive t :html-postamble nil :publishing-function org-html-publish-to-html) ("images" :base-directory ""/home/xxxxx/Dropbox/website/src/" :recursive t :base-extension "jpg\\|gif\\|png\\|ico" :publishing-directory ""/home/xxxxx/Dropbox/website /public_html/" :publishing-function org-publish-attachment) ("style" :base-directory ""/home/xxxxx/Dropbox/website/src/" :recursive t :base-extension "js\\|css\\|otf\\|eot\\|svg\\|ttf\\|woff" :publishing-directory ""/home/xxxxx/Dropbox/website /public_html/" :publishing-function org-publish-attachment) ("sessions" :base-directory ""/home/xxxxx/Dropbox/website/src/sessions/" :base-extension "css\\|js\\|png" :publishing-directory ""/home/xxxxx/Dropbox/website /public_html/sessions/" :publishing-function org-publish-attachment) ("rss_posts" :base-directory ""/home/xxxxx/Dropbox/website/src/posts/" :base-extension "org" :rss-image-url "http://xxxx.xxxx.free.fr/fp_icon.png" :html-link-home "http://xxxx.xxxx.free.fr" :rss-extension "xml" :publishing-directory "/home/xxxx/Dropbox/website/public_html/posts/" :publishing-function (org-rss-publish-to-rss) :section-numbers nil :exclude ".*" :include ("index.org") :table-of-contents nil) ("website" :components ("orgfiles" "images" "style" "sessions" "rss_posts")) ) ) Any ideas? 2013/7/10 flammable project > OK so let's move on Emacs 24... > > Thanks for the rapid answer! > > Basile > > > 2013/7/10 Bastien > >> flammable project writes: >> >> > I'm trying to use ox-rss to generate a rss feed but I'm facing an >> > error : >> > >> > let*: Symbol's function definition is void: url-encode-url >> >> Mh, yes, `url-encode-url' is not available in Emacs <24.1. >> >> I just mentioned this in the comment section, thanks for reporting >> this problem. >> >> 2012-05-09 Chong Yidong >> >> * url-util.el (url-encode-url): New function for URL quoting. >> >> -- >> Bastien >> > > --089e01493e0031b97704e12da35d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ok so mow I tried "GNU Emacs 24.2.1 (i686-pc-linux-gn= u, GTK+ Version 3.6.4) of 2013-04-09 on komainu, modified by Debian" b= ut with the same issue.

here is my .emacs config:

;;
;; ORG Mode
= ;;
(setq load-path (cons "~/.emacs.d/org-mode/lisp&q= uot; load-path))
(setq load-path (cons "~/.e= macs.d/org-mode/contrib/lisp" load-path))
(require 'org-install)
(require 'ox-r= ss)
;; Auto load OrgMode with = "*.org" files
(add-to-list 'auto-mode-alist '("\\.org\\'" . org= -mode))
;;
;; EXPORT
;;
;; Don't use postamble to exported HTML
(setq org-export-html-postamble = nil)

;; re-export everything regard= less of whether or not it's been modified
(setq org-publish-use-timestamps= -flag nil)
;;
;; ORG publish function
;;
(setq org-publish-project-alist
=A0 =A0 =A0 =A0 =A0 =A0'(
=A0 =A0 ("orgfiles"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= base-directory "/home/xxxxx/Dropbox/website/src/"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:bas= e-extension "org"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-directory ""/home/xxxxx/Dropbox/website/public_html/"
=A0 =A0 =A0 :recursive t
=A0 =A0 =A0 :html-postamble nil
=A0 =A0 =A0 :publishing-function org-html-publish-to-ht= ml)

=A0 =A0 =A0=A0
=A0 =A0 =A0
=A0 =A0 =A0 =A0 =A0 =A0 =A0 ("image= s"
=A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0:base-directory ""/home/xxxxx/Dropbox/website/src/"
=A0 =A0 =A0 :recursive t
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:base-extension &qu= ot;jpg\\|gif\\|png\\|ico"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-directory ""/home/xxxxx/Dropbox/website/public_html/"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-function org-publish-attachment)

=A0 =A0 =A0(&q= uot;style"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= base-directory ""/home/xxxxx/Dropbox/website/src/"
=A0 =A0 =A0 :recursive t
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:base-extension &qu= ot;js\\|css\\|otf\\|eot\\|svg\\|ttf\\|woff"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-directory ""/home/xxxxx/Dropbox/website/public_html/"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-function org-publish-attachment)

=A0 =A0 =A0 (&= quot;sessions"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= base-directory ""/home/xxxxx/Dropbox/website/src/sessions/"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= base-extension "css\\|js\\|png"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:publishing-directory = "&q= uot;/home/xxxxx/Dropbox/website/public_html/sessions/"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:= publishing-function org-publish-attachment)

=A0 =A0 =A0 (&= quot;rss_posts"
:base-directory ""/home/xxxxx/Dropbox/website<= font face=3D"courier new, monospace">/src/posts/"
:base-extension "org"
= :rss-image-url "http://xxxx.xxxx.free.fr/fp_icon.png"
:html-link-home "http://xxxx.xxxx.free.fr"
:rss-extension "xml"
= :publishing-directory "/home/xxxx/Dropbox/website/public_html/posts/"


2013= /7/10 flammable project <flammable.project@gmail.com>
OK so let's move on Ema= cs 24...

Thanks for the rapid answer!

Basile


2013/7/10 Bastien <bzg@gnu.o= rg>
flammable project <flammable.project@gmail.com= > writes:

> I'm trying to use ox-rss to generate a rss feed but I'm facing= an
> error :=A0
>
> let*: Symbol's function definition is void: url-encode-url

Mh, yes, `url-encode-url' is not available in Emacs <24.1.

I just mentioned this in the comment section, thanks for reporting
this problem.

2012-05-09 =A0Chong Yidong =A0<cyd@gnu.org>

=A0 =A0 =A0 =A0 * url-util.el (url-encode-url): New function for URL quotin= g.

--
=A0Bastien


--089e01493e0031b97704e12da35d--