|
From: | John Hendy |
Subject: | Re: [Orgmode] Re: HTML export and blogging to blogger.com |
Date: | Sat, 13 Nov 2010 20:26:33 -0600 |
Well, I spoke too soon. I don't have a solution. Here is
what I tried.
4) John's recipe: c-u c-c c-e R -> perl script -> blogger
- paragraphs are separated by too many blank lines
- blogger result attached
(defun alpha-unfill-region-or-paragraph ()
(interactive)
(let ((fill-column (point-max)))
(alpha-fill-region-or-paragraph)))
(defun alpha-fill-region-or-paragraph ()
(interactive)
(if (hoka-org-region-active-p)
(call-interactively #'fill-region)
(fill-paragraph nil)))
John's recipe (I shortcutted with c-u m-|):
1) Write some stuff
2) Select it (move to beginning of what you want, C-space,
move to end of what you want)
3) C-u C-c C-e R to export that region with no preamble to
a separate buffer
4) C-x C-w export.txt
5) to terminal: perl -pi -e ' s/\R/ /g; s/\<p\>//g;
s/\<\/p\>/\n\n/g;' export.txt
6) back to emacs: C-x C-f export.txt; type "yes"
7) M-< to go to front of buffer, C-space, M-> to go to
end, M-w to copy
8) Paste into basic blogger edit box
9) Done
Org source is attached.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
John-export-attempt.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |