emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Iverson <eriki@ccbr.umn.edu>
To: Samuel Wales <samologist@gmail.com>
Cc: "Tom Breton (Tehom)" <tehom@panix.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Blogging from org-mode
Date: Mon, 17 Jan 2011 15:28:53 -0600	[thread overview]
Message-ID: <4D34B495.9050507@ccbr.umn.edu> (raw)
In-Reply-To: <AANLkTi=j65gobNTYHs+uvtStgZJOfio3FrYoUfimU6QX@mail.gmail.com>

Hello,

On 01/17/2011 03:02 PM, Samuel Wales wrote:
> On 2011-01-17, Erik Iverson<eriki@ccbr.umn.edu>  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.

  reply	other threads:[~2011-01-17 21:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-16 20:57 Blogging from org-mode Tom Breton (Tehom)
2011-01-16 22:59 ` Samuel Wales
2011-01-17  2:25   ` Tom Breton (Tehom)
2011-01-17 19:39     ` Samuel Wales
2011-01-17 19:13 ` Juan Reyero
2011-01-17 20:03   ` Erik Iverson
2011-01-17 21:02     ` Samuel Wales
2011-01-17 21:28       ` Erik Iverson [this message]
2011-01-18  3:46         ` Samuel Wales
  -- strict thread matches above, loose matches on Subject: below --
2008-03-17  6:06 blogging " Cezar Halmagean
2008-03-18 23:27 ` Bastien Guerry
2008-03-19 18:05   ` Cezar Halmagean
2008-03-20 10:04     ` Bastien
2008-03-20 16:47       ` Cezar Halmagean
2008-03-20 18:20         ` Bastien Guerry
2008-03-20 18:52           ` Cezar Halmagean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D34B495.9050507@ccbr.umn.edu \
    --to=eriki@ccbr.umn.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    --cc=tehom@panix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).