From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Blogging from org-mode Date: Mon, 17 Jan 2011 20:46:45 -0700 Message-ID: References: <448f55abac6a0c1da962076fb75d186d.squirrel@mail.panix.com> <4D34A07C.3030706@ccbr.umn.edu> <4D34B495.9050507@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=45554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pf2Wv-0007Zb-MG for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 22:46:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pf2Wt-0007ny-F8 for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 22:46:49 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:47174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pf2Wt-0007nb-BS for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 22:46:47 -0500 Received: by gxk5 with SMTP id 5so2533970gxk.0 for ; Mon, 17 Jan 2011 19:46:46 -0800 (PST) In-Reply-To: <4D34B495.9050507@ccbr.umn.edu> 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: Erik Iverson Cc: "Tom Breton (Tehom)" , emacs-orgmode OK, weblogger seems like it might be worth trying to integrate (not that the Atom idea is bad -- that also is interesting). A little disturbing about this http://lists.nongnu.org/archive/html/emacsweblogs/2010-03/msg00044.html but I am conservative about bugs. On 2011-01-17, Erik Iverson wrote: > Hello, > > On 01/17/2011 03:02 PM, Samuel Wales wrote: >> On 2011-01-17, Erik Iverson wrote: >>> I also simply use weblogger.el >>> (http://www.emacswiki.org/emacs/WebloggerMode) >> >> I made the mistake of trying this, thinking it had no dependencies >> other than the other .el file so would be easier. It looks >> potentially useful. >> >> I looked at 2 versions of this, and both had the same version number, >> but the code was different. That's a slightly bad sign. >> >> http://launchpadlibrarian.net/40758914/weblogger.el >> >> http://windows-config.googlecode.com/svn/trunk/.emacs_d/weblogger/weblogger.el >> >> Also, there is a compiler warning for obsolete variable, so the code >> might be old? >> >> Finally, I couldn't figure out the basics. Just to confirm, this >> takes HTML and posts it? It does not make this clear. > > Yes, you can set up a blog by first doing: > > M-x weblogger-setup-weblog RET > > But there were some quirks when I tried this with Drupal 6. I think I had to > have at least one post already in the blog before it worked. But after that, > I > was able to weblogger with the function defined in the link below to post to > Drupal. > > >>> combined with a really easy function defined at >>> http://www.randomsample.de/dru5/node/77 to post to blogs including >>> Drupal. >> >> What does your really easy function do that weblogger.el does not do? > > Weblogger just sends the HTML to the blog, and lets you edit existing > entries. > It does not produce the actual HTML. > > The function from randomsample.de exports an Org-mode buffer to HTML and > "massages" the HTML output to be of a form that blogs like. I.e., gets rid > of > the headers. Weblogger has nothing to do with org-mode per se, it just lets > you > post content to blogs that support XMLRPC. > > That's about as far as my knowledge goes, so I hope it helps. This method > isn't > completely clean, but it did work for me with Drupal 6 (but haven't gotten > it to > work yet in Drupal 7...) > > As usual, there's more than a few ways to do things, so the more options the > better in my opinion. > -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com I support WPI: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.