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 01:31:13 +0200 Message-ID: References: <871ubgvejb.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428b0c84172f04e11c8e4a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwhNM-0001Tp-8g for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 19:31:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwhNK-0005m1-Lx for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 19:31:16 -0400 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:53466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwhNK-0005lq-D3 for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 19:31:14 -0400 Received: by mail-wg0-f53.google.com with SMTP id y10so5439576wgg.32 for ; Tue, 09 Jul 2013 16:31:13 -0700 (PDT) In-Reply-To: <871ubgvejb.fsf@bzg.ath.cx> 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 --f46d04428b0c84172f04e11c8e4a Content-Type: text/plain; charset=ISO-8859-1 Hi Bastien, 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* * * I use the latest git commit, with Emacs 23.4.1 on Xubuntu 13.04 Here is the file I want to export as RSS Feed. -----------8<---------------------------------------- #+RSS_EXTENSION: xml #+RSS_IMAGE_URL: http://xxxx.xxxx.free.fr/rss_icon.png #+HTML_LINK_HOME: http://xxxx.xxxx.free.fr/ * [[file:2013_10_12.org]] :Blog: :PROPERTIES: :PUBDATE: <2013-05-12 Sat> :ID: 9e49dacc-00a6-4f5a-9aef-59e881f84faf :END: * [[file:2013_03_28.org]] :Blog: :PROPERTIES: :PUBDATE: <2013-03-28 Thu> :ID: c3e0e2fb-114c-4300-abf1-f9f0b06cb2c4 :END: -----------8<---------------------------------------- Here is the 2013_05_12.org file : -----------8<---------------------------------------- * Title of the Blog post for 2013_05_12 dcsdcdscsc dcsdcsdd -----------8<---------------------------------------- Here is the 2013_03_28.org file: -----------8<---------------------------------------- * Title of the Blog post for 2013_03_28 nhnghngn nhgnhnhngh -----------8<---------------------------------------- when I use org-export-rss-as/to-rss I have the same error : *let*: Symbol's function definition is void: url-encode-url* I also tried to use the project alist approach. -----------8<---------------------------------------- (add-to-list 'org-publish-project-alist '("homepage_rss" :base-directory "~/website/src/posts/" :base-extension "org" :rss-image-url "http://xxxx.xxxx.free.fr/rss_icon.png" :html-link-home "http://xxxx.xxxx.free.fr/" :rss-extension "xml" :publishing-directory "~/website/public_html/" :publishing-function (org-rss-publish-to-rss) :section-numbers nil :exclude ".*" :include ("index.org") :table-of-contents nil)) -----------8<---------------------------------------- Same error. Bastien, could you please provide an exampl to illustrate the OX-RSS export engine? Thanks Basile 2013/3/15 Bastien > Hi all, > > I added ox-rss.el, a rudimentary RSS 2.0 export back-end: > > http://orgmode.org/cgit.cgi/org-mode.git/plain/contrib/lisp/ox-rss.el?id=137207 > > See the commentary section for instructions on how to use it. > > Basically, the idea is to define a new publishing project that > will take care of publishing a .xml RSS 2.0 feed. > > Blog posts are top-level headlines. > > One possibility to use this for a blog is to maintain an .org > file with the summary of your headlines in a separate files as > top-level entries, then to export this file as a RSS feed that > you can link anywhere else on your website. > > I plan to include this in 8.0 unless it's too buggy or useless. > > Please test this heavily and let me know if it works for you! > > Thanks, > > -- > Bastien > > > --f46d04428b0c84172f04e11c8e4a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Bastien,

I'm trying to use ox-rs= s to generate a rss feed but I'm facing an error :=A0

let*: Symbol's function definition is void: url-en= code-url

I use the latest git commit, with Em= acs 23.4.1 on Xubuntu 13.04

Here is the file I wan= t to export as RSS Feed.

-----------8<----------------------------------------
#+RSS_EXTENSION: xml
#+HTML_LINK_HOME: http://xxxx.xxxx.free.fr/

* [[file:2013_10_12.o= rg]] =A0 =A0 =A0=A0 =A0 =A0 :Blog:
:PROPERTIES:
:PU= BDATE: <2013-05-12 Sat>
:ID: =A0 =A0 =A0 9e49dacc-00a6-4f5a= -9aef-59e881f84faf
:END: =A0


* [[file:2013_03_28.org]] =A0 =A0 =A0 :Blog:
:PROPERTIES:
:PUBDATE: = <2013-03-28 Thu>
:ID: =A0 =A0 =A0 c3e0e2fb-114c-4300-abf1-f9f0b06cb2c4
:END: = =A0

-----------8<----------------------------------------
<= /div>

Here is the 2013_05_12.org= file :

-----------8<----------------------------------------
<= div>
* Title of the Blog post fo= r 2013_05_12

dcsdcdscsc
dcsdcsdd

------= -----8<----------------------------------------

Here is the=A02013_03_28.org file:
-----------8<----------------------------------------
* Title of the Blog po= st for 2013_03_28

nhnghngn
nhgnhnhngh
-----------8<= ----------------------------------------

whe= n I use org-export-rss-as/to-rss I have the same error :=A0let*: Symbol&= #39;s function definition is void: url-encode-url

I also tried to use the project alist approach.
-----------8<---------------------------= -------------
<=
font face=3D"courier new, monospace">(add-to-list
  'org-publish-project-alist
  '("homepage_rss"
    :base-directory "~/website/src/posts/"
    :base-extension "org"
    :rss-image-url "http://xxxx.xxxx.free.fr/rss_icon.png&qu=
ot;
    :html-link-home "http://xxxx.xxxx.free.fr/"
:rss-extension "xml" :publishing-directory "~/website/public_html/" :publishing-function (org-rss-publish-to-rss) :section-numbers nil :exclude ".*" =20 :include ("index.org") =A0
    :=
table-of-contents nil))=A0
-----------8<-----------= -----------------------------


<= /font>
Same error.

Bastien, could you please provide an exampl to illustra= te the OX-RSS export engine?

Thanks

= Basile


2013/3/15 Bastien <bzg= @altern.org>
Hi all,

I added ox-rss.el, a rudimentary RSS 2.0 export back-end:
=A0 http://orgmode.org/cgit.cgi/org-mo= de.git/plain/contrib/lisp/ox-rss.el?id=3D137207

See the commentary section for instructions on how to use it.

Basically, the idea is to define a new publishing project that
will take care of publishing a .xml RSS 2.0 feed.

Blog posts are top-level headlines.

One possibility to use this for a blog is to maintain an .org
file with the summary of your headlines in a separate files as
top-level entries, then to export this file as a RSS feed that
you can link anywhere else on your website.

I plan to include this in 8.0 unless it's too buggy or useless.

Please test this heavily and let me know if it works for you!

Thanks,

--
=A0Bastien



--f46d04428b0c84172f04e11c8e4a--