From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: blorg.el Date: Wed, 30 Jan 2008 07:59:26 +0100 Message-ID: <87ve5blrxt.fsf@bzg.ath.cx> References: <2a6300ea0801290344h57803348x3664654574f33b9e@mail.gmail.com> <20418.193.54.107.57.1201619918.squirrel@altern.org> <479F4195.40906@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 1JK6uz-0006Ad-3Z for emacs-orgmode@gnu.org; Wed, 30 Jan 2008 01:59:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JK6uy-00069v-87 for emacs-orgmode@gnu.org; Wed, 30 Jan 2008 01:59:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JK6ux-00069e-Vf for emacs-orgmode@gnu.org; Wed, 30 Jan 2008 01:59:32 -0500 Received: from hu-out-0506.google.com ([72.14.214.233]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JK6ux-0003mD-Gb for emacs-orgmode@gnu.org; Wed, 30 Jan 2008 01:59:31 -0500 Received: by hu-out-0506.google.com with SMTP id 23so63160huc.1 for ; Tue, 29 Jan 2008 22:59:30 -0800 (PST) In-Reply-To: <479F4195.40906@calicojack.co.uk> (Rick Moynihan's message of "Tue, 29 Jan 2008 15:09:09 +0000") 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: Rick Moynihan Cc: emacs-orgmode@gnu.org, Dimitris Kapetanakis Hi Rick, Rick Moynihan writes: > I've been meaning to mention that blorg produces invalid XML for atom feeds > (perhaps also RSS/HTML). Most obviously it doesn't appear to entity escape > characters the following characters properly '<', '>', '&', which should be > rendered as > < and & respectively. Trying to fix this is dangerous, it might break other things. If the issue is just XML validation, I won't do it for now - sorry. > Also I think tags aren't closed properly, i.e. they're rendered as > > > > rather than the correct: > > Fixed in 0.75d. > Another issue I have, is that sometimes when calling blorg-publish it > doesn't render links properly, i.e. [[http://foo.com/][foo]] will be > displayed in the HTML/XML rather than: > > foo > > This doesn't always happen, but seems to occur when either: > > - you run blorg-publish without a C-u prefix argument. > - or, you have an orglink which runs across a line break, e.g. > > [[http://foo.com/]| <--- newline > [foo]] (Of course, blorg should use Org's HTML converter. This is in the plan for the next org-based blogging system, so I'm not willing to try fixing this neither...) > Also, it'd be great if there was a way to easily embed flash video content > onto the pages, by using custom links, e.g. > > [[youtube:http://www.youtube.com/watch?v=fu8rAWciQNs]] > > Which would be expanded into the appropriate embeded object: > > value="http://www.youtube.com/v/fu8rAWciQNs&rel=1"> name="wmode" value="transparent"> src="http://www.youtube.com/v/fu8rAWciQNs&rel=1" > type="application/x-shockwave-flash" wmode="transparent" width="425" > height="355"> What about a simple dynamic block ? (defun org-dblock-write:youtube (params) "Insert a header from a file." (let ((url (plist-get params :url))) (insert (format "" url url)))) #+BEGIN: youtube :url "http://www.youtube.com/watch?v=fu8rAWciQNs" #+END: Should expand in the correct block of text. HTH, -- Bastien