From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myriam Abramson Subject: Help with migrating blog to org-mode format Date: Sun, 09 Jan 2011 17:53:19 -0500 Message-ID: <87lj2telk0.fsf@playground.homesweet.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pc48l-0001Xx-SY for emacs-orgmode@gnu.org; Sun, 09 Jan 2011 17:53:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pc48k-0007vc-PQ for emacs-orgmode@gnu.org; Sun, 09 Jan 2011 17:53:35 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:45352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pc48k-0007vG-Lb for emacs-orgmode@gnu.org; Sun, 09 Jan 2011 17:53:34 -0500 Received: from playground.homesweet.home ([unknown] [70.108.132.174]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LES005CB28W7OL0@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 09 Jan 2011 16:53:21 -0600 (CST) Received: from playground.homesweet.home (localhost.localdomain [127.0.0.1]) by playground.homesweet.home (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p09MrKFD012602 for ; Sun, 09 Jan 2011 17:53:20 -0500 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 Hello, After Google dropped the ftp option to blogger, I dumped my blog to an xml file with the hope of ressucitate it to a more friendly environment for me. I've found this environment with a combination of org-mode, blorg, and ... dropbox. Dropbox just provides me a link to publish my blog wherever I want to. Blorg isn't being maintained I believe and it has lots of error but it works in converting org-mode to blog formatting for now and I can work on it later. Each topic in a blog is a TODO task and the date is inserted when the task is DONE. I'm planning to read from my xml blog and write topics simply as "* DONE mytopic ... " but how can I get the publication date in org to get "CLOSED: " on the next line? The xml of my blog is something like that: my title my content 2003-10-22T18:27:00.000-04:00 TIA, myriam >From the cat's little instruction handbook: Treat yourself to a nap in the sock drawer once in awhile. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Help with migrating blog to org-mode format Date: Mon, 10 Jan 2011 14:03:51 +0000 Message-ID: <4D2B11C7.20403@manor-farm.org> References: <87lj2telk0.fsf@playground.homesweet.home> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcIM7-0003GY-Is for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 09:04:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcIM6-0001bZ-7b for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 09:04:19 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:48912 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcIM6-0001Sx-3M for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 09:04:18 -0500 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id B2AE9A06F for ; Mon, 10 Jan 2011 14:03:52 +0000 (UTC) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8RX2b2-ZFh6K for ; Mon, 10 Jan 2011 14:03:52 +0000 (UTC) Received: from [192.168.0.133] (unknown [217.146.125.41]) (Authenticated sender: ian@manor-farm.org) by li40-130.members.linode.com (Postfix) with ESMTPSA id 7F39BA06D for ; Mon, 10 Jan 2011 14:03:52 +0000 (UTC) In-Reply-To: <87lj2telk0.fsf@playground.homesweet.home> 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 On 09/01/11 22:53, Myriam Abramson wrote: > > Hello, > > After Google dropped the ftp option to blogger, I dumped my blog to an > xml file with the hope of ressucitate it to a more friendly > environment for me. I've found this environment with a combination of > org-mode, blorg, and ... dropbox. Dropbox just provides me a link to > publish my blog wherever I want to. Blorg isn't being maintained I > believe and it has lots of error but it works in converting org-mode > to blog formatting for now and I can work on it later. > > Each topic in a blog is a TODO task and the date is inserted when the > task is DONE. I'm planning to read from my xml blog and write topics > simply as "* DONE mytopic ... " but how can I get the publication date > in org to get "CLOSED:" on the next line? > > The xml of my blog is something like that: > > my title > my content > 2003-10-22T18:27:00.000-04:00 > > TIA, > > myriam I use org in combination with Jekyll and jekyll.el. The process goes like this: Create draft post using jekyll.el. This goes in the _drafts directory and isn't published. When it's finished use jekyll.el which modified the filename and moves it to the _posts directory. Export my org files to html. Run jekyll to create the web site and rsync it to my server. My tutorial is on worg: http://orgmode.org/worg/org-tutorials/org-jekyll.html There are other ways to use org with jekyll, but this should give you some ideas. Ian. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Help with migrating blog to org-mode format Date: Mon, 10 Jan 2011 10:33:52 -0600 Message-ID: <4D2B34F0.60902@ccbr.umn.edu> References: <87lj2telk0.fsf@playground.homesweet.home> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59028 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcKhL-0004qj-1h for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 11:34:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcKgv-0001iK-KK for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 11:33:58 -0500 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:1033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcKgv-0001iE-AK for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 11:33:57 -0500 In-Reply-To: <87lj2telk0.fsf@playground.homesweet.home> 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: Myriam Abramson Cc: emacs-orgmode@gnu.org Myriam, I write my content in Org-mode, and use weblogger.el to post my content. Just search for weblogger on Emacs wiki, and perhaps this will help a bit too: http://www.randomsample.de/dru5/node/77 This is about Drupal, but the ideas should work for posting to anything that supports xmlrpc. --Erik Myriam Abramson wrote: > Hello, > > After Google dropped the ftp option to blogger, I dumped my blog to an > xml file with the hope of ressucitate it to a more friendly > environment for me. I've found this environment with a combination of > org-mode, blorg, and ... dropbox. Dropbox just provides me a link to > publish my blog wherever I want to. Blorg isn't being maintained I > believe and it has lots of error but it works in converting org-mode > to blog formatting for now and I can work on it later. > > Each topic in a blog is a TODO task and the date is inserted when the > task is DONE. I'm planning to read from my xml blog and write topics > simply as "* DONE mytopic ... " but how can I get the publication date > in org to get "CLOSED: " on the next line? > > The xml of my blog is something like that: > > my title > my content > 2003-10-22T18:27:00.000-04:00 > > TIA, > > myriam > > > > > From the cat's little instruction handbook: > > Treat yourself to a nap in the sock drawer once in awhile. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Help with migrating blog to org-mode format Date: Tue, 11 Jan 2011 13:32:19 -0500 Message-ID: <87k4ib8f64.fsf@fastmail.fm> References: <87lj2telk0.fsf@playground.homesweet.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=34290 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcj14-00034b-I6 for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:32:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcj13-0001hF-Dq for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:32:22 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:43551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcj13-0001h7-7J for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:32:21 -0500 In-Reply-To: <87lj2telk0.fsf@playground.homesweet.home> (Myriam Abramson's message of "Sun, 09 Jan 2011 17:53:19 -0500") 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: Myriam Abramson Cc: emacs-orgmode@gnu.org Myriam Abramson writes: > Each topic in a blog is a TODO task and the date is inserted when the > task is DONE. I'm planning to read from my xml blog and write topics > simply as "* DONE mytopic ... " but how can I get the publication date > in org to get "CLOSED: " on the next line? > > The xml of my blog is something like that: > > my title > my content > 2003-10-22T18:27:00.000-04:00 > After you've parsed the xml and retrieved the date string, you can convert to an org CLOSED timestamp with something like this: (format-time-string "CLOSED: [%Y-%m-%d %H:%M]" (date-to-time "2003-10-22T18:27:00.000-04:00")) ...which returns... CLOSED: [2003-10-22 14:27] (The time zone parsing may need some adjustment.) HTH, Matt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myriam Abramson Subject: Re: Help with migrating blog to org-mode format Date: Tue, 11 Jan 2011 21:35:51 -0500 Message-ID: <871v4ietmg.fsf@playground.homesweet.home> References: <87lj2telk0.fsf@playground.homesweet.home> <87k4ib8f64.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=40362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcqZT-0001uj-JQ for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 21:36:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcqZS-0002Up-FQ for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 21:36:23 -0500 Received: from vms173001pub.verizon.net ([206.46.173.1]:47608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcqZS-0002UT-CD for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 21:36:22 -0500 Received: from playground.homesweet.home ([unknown] [70.108.132.174]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LEW003971W85QD0@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 20:36:08 -0600 (CST) Received: from playground.homesweet.home (localhost.localdomain [127.0.0.1]) by playground.homesweet.home (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p0C2Zvo0019262 for ; Tue, 11 Jan 2011 21:36:01 -0500 In-reply-to: <87k4ib8f64.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 11 Jan 2011 13:32:19 -0500") 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 Thanks! that's what I was looking for. myriam Matt Lundin writes: > Myriam Abramson writes: > >> Each topic in a blog is a TODO task and the date is inserted when the >> task is DONE. I'm planning to read from my xml blog and write topics >> simply as "* DONE mytopic ... " but how can I get the publication date >> in org to get "CLOSED: " on the next line? >> >> The xml of my blog is something like that: >> >> my title >> my content >> 2003-10-22T18:27:00.000-04:00 >> > > After you've parsed the xml and retrieved the date string, you can > convert to an org CLOSED timestamp with something like this: > > (format-time-string "CLOSED: [%Y-%m-%d %H:%M]" (date-to-time "2003-10-22T18:27:00.000-04:00")) > > ...which returns... > > CLOSED: [2003-10-22 14:27] > > (The time zone parsing may need some adjustment.) > > HTH, > Matt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Help with migrating blog to org-mode format Date: Tue, 11 Jan 2011 23:00:28 -0500 Message-ID: <877hea93fn.fsf@fastmail.fm> References: <87lj2telk0.fsf@playground.homesweet.home> <87k4ib8f64.fsf@fastmail.fm> <871v4ietmg.fsf@playground.homesweet.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40401 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcrsv-0006DW-A6 for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcrsu-0006cy-9I for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:33 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:50743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcrsu-0006cs-7D for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 23:00:32 -0500 In-Reply-To: <871v4ietmg.fsf@playground.homesweet.home> (Myriam Abramson's message of "Tue, 11 Jan 2011 21:35:51 -0500") 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: Myriam Abramson Cc: emacs-orgmode@gnu.org Myriam Abramson writes: > Thanks! that's what I was looking for. > > myriam > > Matt Lundin writes: >> >> (format-time-string "CLOSED: [%Y-%m-%d %H:%M]" (date-to-time "2003-10-22T18:27:00.000-04:00")) >> >> ...which returns... >> >> CLOSED: [2003-10-22 14:27] >> >> (The time zone parsing may need some adjustment.) Oops. I forgot the day of week. --8<---------------cut here---------------start------------->8--- (format-time-string "CLOSED: [%Y-%m-%d %a %H:%M]" (date-to-time "2003-10-22T18:27:00.000-04:00")) --8<---------------cut here---------------end--------------->8--- CLOSED: [2003-10-22 Wed 14:27] Best, Matt