From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Blorg problems Date: Mon, 16 Jul 2007 18:26:45 +0100 Message-ID: <469BAA55.4050009@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAUMQ-0000Vr-06 for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 13:27:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAUMO-0000Va-U2 for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 13:27:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAUMO-0000VX-Rp for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 13:27:48 -0400 Received: from storm.bpweb.net ([83.223.106.8]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IAUMO-0006U2-C8 for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 13:27:48 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hi all, I've recently started investigating blorg (sorry David) with the hope of using it (and org-mode) to start a blog. Unfortunately I've run into a few issues, and would appreciate some help. -- Firstly it appears that my paragraphs don't render as such from memory I have something like the following: * DONE Post title CLOSED: [2007-07-16 Mon 12:43] blah blah blah blah blah blah... This should be a new paragraph, but when converted to html isn't (i.e. it is not enclosed in

tags, and it merges with the blah blah blah's above. -- Am I doing something wrong, or is there a way around this? I've also run into some other small problems: - The time of the post is always rendered something like +00 00 and not 12:43 This isn't a big problem as I've just disabled it with the format string) - It's not clear how to render images in the output, i.e. with a . - The format of Echoes appears to be fixed, yet I'd like to use them to generate a different order as I'd like to include the following HTML snippet (forgive me I can't remember the names of the includable properties):

It would also be great if somebody could create an example blorg.org file which demonstrated all the org markup in a test-blog. In the future I'd also like a mechanism for exporting code blocks into the html (ideally with emacs syntax highlighting). It would be great if the org-mode colon syntax could be used to do this, e.g: : public int randomNumber() { : return 3; //guaranteed random number (was a fair dice roll) (xkcd) : } I seem to remember having some other small problems and ideas about the whole thing, which if I remember I'll post here. Anyway, if I can get the paragraphs and image export working, I should be able to start blorging. Also does anyone know of any blogs online using blorg? Thanks again, R From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Blorg problems Date: Tue, 17 Jul 2007 01:42:06 +0200 Message-ID: <87vecjc3w1.fsf@bzg.ath.cx> References: <469BAA55.4050009@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAaCj-0000FI-Ea for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 19:42:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAaCi-0000F6-MG for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 19:42:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAaCi-0000F3-JY for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 19:42:12 -0400 Received: from hu-out-0506.google.com ([72.14.214.229]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAaCi-0003aA-0r for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 19:42:12 -0400 Received: by hu-out-0506.google.com with SMTP id 23so563294huc for ; Mon, 16 Jul 2007 16:42:10 -0700 (PDT) In-Reply-To: <469BAA55.4050009@calicojack.co.uk> (Rick Moynihan's message of "Mon\, 16 Jul 2007 18\:26\:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: rick@calicojack.co.uk Hi Rick, Rick Moynihan writes: > Firstly it appears that my paragraphs don't render as such I cannot reproduce this. Can you send me the whole .org file? > - The time of the post is always rendered something like +00 00 and > not 12:43 This isn't a big problem as I've just disabled it with the > format string) I've seen this before, it will be fixed in the next release. > - It's not clear how to render images in the output, i.e. with a src="..."/>. For now [[file:myimage.jpg][file:myimage.jpg]] in the org file should end up in this : file:myimage.jpg You're asked for the creation of the "images/" directory where blorg will store the image and then a relative link is created pointing to this image. Hope this helps. > - The format of Echoes appears to be fixed, yet I'd like to use them > to generate a different order as I'd like to include the following > HTML snippet (forgive me I can't remember the names of the includable > properties): I'll try to make blorg-echo-list more customizable, perhaps by allowing to set the formatting string manually. Not sure how this can be done right now. > It would also be great if somebody could create an example blorg.org > file which demonstrated all the org markup in a test-blog. Sure. > In the future I'd also like a mechanism for exporting code blocks into > the html (ideally with emacs syntax highlighting). It would be great > if the org-mode colon syntax could be used to do this, e.g: > > : public int randomNumber() { > : return 3; //guaranteed random number (was a fair dice roll) (xkcd) > : } In this example, you are using org-mode's verbatim environment (starting with the character ":") to insert code - that means that this code won't be highlighted according to its syntax, it will use the org-table face instead. I guess we need to have some information about the syntax of the code (enclosed in such a verbatim environnement) before we can highlight it. What about a #+BEGIN_ELISP / #+END_ELISP around the verbatim paragraph, so that we can guess the relevant mode and call htmlize efficiently? Carsten: working on org-export-latex.el made me think it might be useful to have all these options : #+BEGIN/END_HTML : only exported in HTML format #+BEGIN/END_LaTeX : only exported in LaTeX format #+BEGIN/END_ELISP : call some elisp funcs before exporting this part > I seem to remember having some other small problems and ideas about > the whole thing, which if I remember I'll post here. Anyway, if I can > get the paragraphs and image export working, I should be able to start > blorging. Please give me your org file and all information concerning those two problems. > Also does anyone know of any blogs online using blorg? Yes, i know, i should use it myself :) Cheers, -- Bastien