* Re: is there a package to post to blogger.com? [not found] ` <8505dba2-7ec1-4afc-9e68-2a80efbe6020@o40g2000prn.googlegroups.com> @ 2009-01-12 10:11 ` David Kastrup 2009-01-12 18:40 ` ken [not found] ` <mailman.4653.1231785673.26697.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 8+ messages in thread From: David Kastrup @ 2009-01-12 10:11 UTC (permalink / raw) To: help-gnu-emacs Xah Lee <xahlee@gmail.com> writes: > On Jan 9, 8:47 am, Xah Lee <x...@xahlee.org> wrote: >> Spent like 2 hours trying to get a emacs package to work, which would >> allow me to write my blog in emacs and upload it to blogger.com (aka >> blogspot.com) without going thru browser. I was mother fucking pissed >> by the fucking fuckface tech geekers. > > Addendum: > > This record of low quality of GNU freeware is now archived at > > • A Emacs Frustration (blogger package) > http://xahlee.org/UnixResource_dir/writ/emacs_blogger_package_pain.html > > I've now found e-blog by Mikey Coulson > ( http://code.google.com/p/e-blog/ ) > What a wonderful job. > You post to your blogger account within 5 minute of downloading the > package. > > For those contributing to the emacs wiki, i'd recommend aggressively > take down whatever that's not currently working or outdated. Put what > is simply working on top. Remove old stuff, etc. Uh, are you sure you have understood what a Wiki is? It is stupid to post instructions about what would need to be done somewhere on a Usenet group. Go and edit the Wiki instead. > • Problems of Emacswiki > http://xahlee.org/emacs/emacs_wiki_problem.html Even more stupid. Don't waste your time about treatises what is wrong with the Wiki. Fix it. -- David Kastrup ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-12 10:11 ` is there a package to post to blogger.com? David Kastrup @ 2009-01-12 18:40 ` ken [not found] ` <mailman.4653.1231785673.26697.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 8+ messages in thread From: ken @ 2009-01-12 18:40 UTC (permalink / raw) To: help-gnu-emacs Lee, Thanks for the link. I've been looking for something like this. I downloaded and installed the package, tried it, but consistently get errors after entering name and password. If anyone has any tips, let me know. Otherwise I'll just keep doing what I was doing before. Thanks again for the URL. -- "To make an apple pie from scratch, first create the universe." -- Carl Sagan On 01/12/2009 05:11 AM David Kastrup wrote: > Xah Lee <xahlee@gmail.com> writes: > >> On Jan 9, 8:47 am, Xah Lee <x...@xahlee.org> wrote: >>> Spent like 2 hours trying to get a emacs package to work, which would >>> allow me to write my blog in emacs and upload it to blogger.com (aka >>> blogspot.com) without going thru browser. I was mother fucking pissed >>> by the fucking fuckface tech geekers. >> Addendum: >> >> This record of low quality of GNU freeware is now archived at >> >> • A Emacs Frustration (blogger package) >> http://xahlee.org/UnixResource_dir/writ/emacs_blogger_package_pain.html >> >> I've now found e-blog by Mikey Coulson >> ( http://code.google.com/p/e-blog/ ) >> What a wonderful job. >> You post to your blogger account within 5 minute of downloading the >> package. >> >> For those contributing to the emacs wiki, i'd recommend aggressively >> take down whatever that's not currently working or outdated. Put what >> is simply working on top. Remove old stuff, etc. > > Uh, are you sure you have understood what a Wiki is? It is stupid to > post instructions about what would need to be done somewhere on a Usenet > group. > > Go and edit the Wiki instead. > >> • Problems of Emacswiki >> http://xahlee.org/emacs/emacs_wiki_problem.html > > Even more stupid. Don't waste your time about treatises what is wrong > with the Wiki. Fix it. > ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.4653.1231785673.26697.help-gnu-emacs@gnu.org>]
* Re: is there a package to post to blogger.com? [not found] ` <mailman.4653.1231785673.26697.help-gnu-emacs@gnu.org> @ 2009-01-12 18:53 ` Richard Riley 2009-01-13 1:42 ` Richard Riley 0 siblings, 1 reply; 8+ messages in thread From: Richard Riley @ 2009-01-12 18:53 UTC (permalink / raw) To: help-gnu-emacs ken <gebser@mousecar.com> writes: > Lee, > > Thanks for the link. I've been looking for something like this. > > I downloaded and installed the package, tried it, but consistently get > errors after entering name and password. If anyone has any tips, let me > know. Otherwise I'll just keep doing what I was doing before. > > Thanks again for the URL. Also thanks for the link. While I think Xah's language was a tad OTT, he is right about the mess which is Emacs blogging solutions - it's not easy. The link he appended http://code.google.com/p/e-blog/ worked fine first go for me and is nice. The only thing it, like most emacs interfaces, seems to lack is the defaulting of the body to a selected region if a region is selected. I like to use thingatpt+ and the region-or-word-at-point function to default the text. It could also do with prompting to accept the previous blog selected as a default. regards Richard. -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-12 18:53 ` Richard Riley @ 2009-01-13 1:42 ` Richard Riley 2009-01-13 8:38 ` Xah Lee 0 siblings, 1 reply; 8+ messages in thread From: Richard Riley @ 2009-01-13 1:42 UTC (permalink / raw) To: help-gnu-emacs Richard Riley <rileyrgdev@gmail.com> writes: > ken <gebser@mousecar.com> writes: > >> Lee, >> >> Thanks for the link. I've been looking for something like this. >> >> I downloaded and installed the package, tried it, but consistently get >> errors after entering name and password. If anyone has any tips, let me >> know. Otherwise I'll just keep doing what I was doing before. >> >> Thanks again for the URL. > > Also thanks for the link. While I think Xah's language was a tad OTT, he > is right about the mess which is Emacs blogging solutions - it's not > easy. > > The link he appended > > http://code.google.com/p/e-blog/ > > worked fine first go for me and is nice. The only thing it, like most > emacs interfaces, seems to lack is the defaulting of the body to a > selected region if a region is selected. I like to use thingatpt+ and > the region-or-word-at-point function to default the text. It could also > do with prompting to accept the previous blog selected as a default. > > regards > > Richard. Some issues: C-c h in a post buffer already puts in the "http://" which is a bit silly since most of us will have http in the link we wish to paste in. Trying to post elisp doesnt work: e.g I pasted this in and hit C-c ,---- | (defvar e-blog-display-url nil | "If non-nil, e-blog will display the post/edit url in post/edit | buffers.") | (defvar e-blog-link-region-key "\C-ch" | "Default keybinding for inserting links in posts.") | (defvar e-blog-tt-region-key "\C-ct" | "Default keybinding for inserting `tt' style tags.") | (defvar e-blog-emphasize-region-key "\C-ci" | "Default keybinding for inserting `em' style tags.") | (defvar e-blog-strong-region-key "\C-cs" | "Default keybinding for inserting `strong' style tags.") `---- and got: ,---- | Debugger entered--Lisp error: (error "Invalid use of `\\' in replacement text") | replace-match(#("<p> (defvar e-blog-display-url nil \"If non-nil, e-blog will display the post/edit url in post/edit buffers.\") (defvar e-blog-link-region-key \"\\C-ch\" \"Default keybinding for inserting links in posts.\") (defvar e-blog-tt-region-key \"\\C-ct\" \"Default keybinding for inserting `tt' style tags.\") (defvar e-blog-emphasize-region-key \"\\C-ci\" \"Default keybinding for inserting `em' style tags.\") (defvar e-blog-strong-region-key \"\\C-cs\" \"Default keybinding for inserting `strong' style tags.\")</p>\n<p></p>" 5 11 (face font-lock-keyword-face) 12 30 (face font-lock-variable-name-face) 37 100 (face font-lock-doc-face) 101 110 (face font-lock-doc-face) 113 119 (face font-lock-keyword-face) 120 142 (face font-lock-variable-name-face) 143 150 (face font-lock-string-face) 153 203 (face font-lock-doc-face) 206 212 (face font-lock-keyword-face) 213 233 (face font-lock-variable-name-face) 234 241 (face font-lock-string-face) 244 279 (face font-lock-doc-face) 279 281 (face (font-lock-constant-face font-lock-doc-face)) 281 295 (face font-lock-doc-face) 298 304 (face font-lock-keyword-face) 305 332 (face font-lock-variable-name-face) 333 340 (face font-lock-string-face) 343 378 (face font-lock-doc-face) 378 380 (face (font-lock-constant-face font-lock-doc-face)) 380 394 (face font-lock-doc-face) 397 403 (face font-lock-keyword-face) 404 428 (face font-lock-variable-name-face) 429 436 (face font-lock-string-face) 439 474 (face font-lock-doc-face) 474 480 (face (font-lock-constant-face font-lock-doc-face)) 480 494 (face font-lock-doc-face))) | (while --cl-dolist-temp-- (setq repl (car --cl-dolist-temp--)) (search-forward repl nil t) (replace-match (nth counter slist)) (setq counter (+ counter 1)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) | (let ((--cl-dolist-temp-- rlist) repl) (while --cl-dolist-temp-- (setq repl ...) (search-forward repl nil t) (replace-match ...) (setq counter ...) (setq --cl-dolist-temp-- ...)) nil) | (catch (quote --cl-block-nil--) (let (... repl) (while --cl-dolist-temp-- ... ... ... ... ...) nil)) | (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) | (block nil (let (... repl) (while --cl-dolist-temp-- ... ... ... ... ...) nil)) | (dolist (repl rlist) (search-forward repl nil t) (replace-match (nth counter slist)) (setq counter (+ counter 1))) | (let (title content labels url rlist slist counter node-name) (kill-buffer (current-buffer)) (setq title (nth 0 prop-list) content (nth 1 prop-list) labels (nth 2 prop-list) url (nth 3 prop-list) node-name "<category scheme=\"http://www.blogger.com/atom/ns#\" term=\"") (set-buffer (get-buffer-create e-blog-tmp-buffer)) (erase-buffer) (insert e-blog-post-xml) (goto-char (point-min)) (setq rlist (quote ...)) (setq slist (list title content user-full-name e-blog-user)) (setq counter 0) (dolist (repl rlist) (search-forward repl nil t) (replace-match ...) (setq counter ...)) (goto-char (point-min)) (search-forward "</title>") (insert "\n") (if (equal ... "") nil (dolist ... ...)) (delete-blank-lines) (set-visited-file-name "/tmp/e-blog-tmp") (setq buffer-file-coding-system (quote utf-8)) (save-buffer) (message "Sending Post...") (call-process "curl" nil e-blog-buffer nil "-v" "--header" e-blog-auth "--header" "Content-Type: application/atom+xml" "-d" "@/tmp/e-blog-tmp" url) (e-blog-cleanup) (message "Sending Post... Done.")) | e-blog-post(("tes \n" #("<p> (defvar e-blog-display-url nil \"If non-nil, e-blog will display the post/edit url in post/edit buffers.\") (defvar e-blog-link-region-key \"\\C-ch\" \"Default keybinding for inserting links in posts.\") (defvar e-blog-tt-region-key \"\\C-ct\" \"Default keybinding for inserting `tt' style tags.\") (defvar e-blog-emphasize-region-key \"\\C-ci\" \"Default keybinding for inserting `em' style tags.\") (defvar e-blog-strong-region-key \"\\C-cs\" \"Default keybinding for inserting `strong' style tags.\")</p>\n<p></p>" 5 11 (face font-lock-keyword-face) 12 30 (face font-lock-variable-name-face) 37 100 (face font-lock-doc-face) 101 110 (face font-lock-doc-face) 113 119 (face font-lock-keyword-face) 120 142 (face font-lock-variable-name-face) 143 150 (face font-lock-string-face) 153 203 (face font-lock-doc-face) 206 212 (face font-lock-keyword-face) 213 233 (face font-lock-variable-name-face) 234 241 (face font-lock-string-face) 244 279 (face font-lock-doc-face) 279 281 (face ...) 281 295 (face font-lock-doc-face) 298 304 (face font-lock-keyword-face) 305 332 (face font-lock-variable-name-face) 333 340 (face font-lock-string-face) 343 378 (face font-lock-doc-face) 378 380 (face ...) 380 394 (face font-lock-doc-face) 397 403 (face font-lock-keyword-face) 404 428 (face font-lock-variable-name-face) 429 436 (face font-lock-string-face) 439 474 (face font-lock-doc-face) 474 480 (face ...) 480 494 (face font-lock-doc-face)) ("tes") "http://www.blogger.com/feeds/4166588008280027121/posts/default\n")) | e-blog-extract-for-post() | call-interactively(e-blog-extract-for-post nil nil) `---- -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-13 1:42 ` Richard Riley @ 2009-01-13 8:38 ` Xah Lee 2009-01-13 13:14 ` Richard Riley 0 siblings, 1 reply; 8+ messages in thread From: Xah Lee @ 2009-01-13 8:38 UTC (permalink / raw) To: help-gnu-emacs On Jan 12, 5:42 pm, Richard Riley <rileyrg...@gmail.com> wrote: > http://code.google.com/p/e-blog/ > > > worked fine first go for me and is nice. The only thing it, like most > > emacs interfaces, seems to lack is the defaulting of the body to a > > selected region if a region is selected. I like to use thingatpt+ and > > the region-or-word-at-point function to default the text. It could also > > do with prompting to accept the previous blog selected as a default. > > Some issues: > > C-c h in a post buffer already puts in the "http://" which > is a bit silly since most of us will have http in the link we wish to > paste in. > > Trying to post elisp doesnt work: e.g I pasted this in and hit C-c > > ,---- > | (defvar e-blog-display-url nil > | "If non-nil, e-blog will display the post/edit url in post/edit > | buffers.") > | (defvar e-blog-link-region-key "\C-ch" > | "Default keybinding for inserting links in posts.") > | (defvar e-blog-tt-region-key "\C-ct" > | "Default keybinding for inserting `tt' style tags.") > | (defvar e-blog-emphasize-region-key "\C-ci" > | "Default keybinding for inserting `em' style tags.") > | (defvar e-blog-strong-region-key "\C-cs" > | "Default keybinding for inserting `strong' style tags.") > `---- > > and got: > > ,---- > | Debugger entered--Lisp error: (error "Invalid use of `\\' in replacement text") > ... umm... thanks for the note. btw, there's wiki at http://code.google.com/p/e-blog/ so you might report it too. i just started to use it for my blog so i'll see how it goes. Recently am switching from livejournal to blogger. btw, someone in livejournal ( http://community.livejournal.com/emacs/29502.html ) mentioned there's also the g-client package in emacspeak, which supposedly integrate well with google services. (since the author works at google) Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-13 8:38 ` Xah Lee @ 2009-01-13 13:14 ` Richard Riley 2009-01-13 13:24 ` Richard Riley 0 siblings, 1 reply; 8+ messages in thread From: Richard Riley @ 2009-01-13 13:14 UTC (permalink / raw) To: help-gnu-emacs Xah Lee <xahlee@gmail.com> writes: > On Jan 12, 5:42 pm, Richard Riley <rileyrg...@gmail.com> wrote: >> http://code.google.com/p/e-blog/ >> >> > worked fine first go for me and is nice. The only thing it, like most >> > emacs interfaces, seems to lack is the defaulting of the body to a >> > selected region if a region is selected. I like to use thingatpt+ and >> > the region-or-word-at-point function to default the text. It could also >> > do with prompting to accept the previous blog selected as a default. >> >> Some issues: >> >> C-c h in a post buffer already puts in the "http://" which >> is a bit silly since most of us will have http in the link we wish to >> paste in. >> >> Trying to post elisp doesnt work: e.g I pasted this in and hit C-c >> >> ,---- >> | (defvar e-blog-display-url nil >> | "If non-nil, e-blog will display the post/edit url in post/edit >> | buffers.") >> | (defvar e-blog-link-region-key "\C-ch" >> | "Default keybinding for inserting links in posts.") >> | (defvar e-blog-tt-region-key "\C-ct" >> | "Default keybinding for inserting `tt' style tags.") >> | (defvar e-blog-emphasize-region-key "\C-ci" >> | "Default keybinding for inserting `em' style tags.") >> | (defvar e-blog-strong-region-key "\C-cs" >> | "Default keybinding for inserting `strong' style tags.") >> `---- >> >> and got: >> >> ,---- >> | Debugger entered--Lisp error: (error "Invalid use of `\\' in replacement text") >> ... > > umm... thanks for the note. > > btw, there's wiki at http://code.google.com/p/e-blog/ so you might > report it too. I already raised some issues there : specifically the default of the http:// prefix for url encoding regions. > > i just started to use it for my blog so i'll see how it goes. Recently > am switching from livejournal to blogger. > > btw, someone in livejournal > ( http://community.livejournal.com/emacs/29502.html ) > mentioned there's also the g-client package in emacspeak, which > supposedly integrate well with google services. (since the author > works at google) > > Xah > ∑ http://xahlee.org/ > > ☄ -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-13 13:14 ` Richard Riley @ 2009-01-13 13:24 ` Richard Riley 2009-02-06 22:23 ` B. T. Raven 0 siblings, 1 reply; 8+ messages in thread From: Richard Riley @ 2009-01-13 13:24 UTC (permalink / raw) To: help-gnu-emacs Just one small followup in case anyone else does some work on this - it could do with a "source region" function too for posting source code. Richard Riley <rileyrgdev@gmail.com> writes: > Xah Lee <xahlee@gmail.com> writes: > >> On Jan 12, 5:42 pm, Richard Riley <rileyrg...@gmail.com> wrote: >>> http://code.google.com/p/e-blog/ >>> >>> > worked fine first go for me and is nice. The only thing it, like most >>> > emacs interfaces, seems to lack is the defaulting of the body to a >>> > selected region if a region is selected. I like to use thingatpt+ and >>> > the region-or-word-at-point function to default the text. It could also >>> > do with prompting to accept the previous blog selected as a default. >>> >>> Some issues: >>> >>> C-c h in a post buffer already puts in the "http://" which >>> is a bit silly since most of us will have http in the link we wish to >>> paste in. >>> >>> Trying to post elisp doesnt work: e.g I pasted this in and hit C-c >>> >>> ,---- >>> | (defvar e-blog-display-url nil >>> | "If non-nil, e-blog will display the post/edit url in post/edit >>> | buffers.") >>> | (defvar e-blog-link-region-key "\C-ch" >>> | "Default keybinding for inserting links in posts.") >>> | (defvar e-blog-tt-region-key "\C-ct" >>> | "Default keybinding for inserting `tt' style tags.") >>> | (defvar e-blog-emphasize-region-key "\C-ci" >>> | "Default keybinding for inserting `em' style tags.") >>> | (defvar e-blog-strong-region-key "\C-cs" >>> | "Default keybinding for inserting `strong' style tags.") >>> `---- >>> >>> and got: >>> >>> ,---- >>> | Debugger entered--Lisp error: (error "Invalid use of `\\' in replacement text") >>> ... >> >> umm... thanks for the note. >> >> btw, there's wiki at http://code.google.com/p/e-blog/ so you might >> report it too. > > I already raised some issues there : specifically the default of the > http:// prefix for url encoding regions. > >> >> i just started to use it for my blog so i'll see how it goes. Recently >> am switching from livejournal to blogger. >> >> btw, someone in livejournal >> ( http://community.livejournal.com/emacs/29502.html ) >> mentioned there's also the g-client package in emacspeak, which >> supposedly integrate well with google services. (since the author >> works at google) >> >> Xah >> ∑ http://xahlee.org/ >> >> ☄ -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: is there a package to post to blogger.com? 2009-01-13 13:24 ` Richard Riley @ 2009-02-06 22:23 ` B. T. Raven 0 siblings, 0 replies; 8+ messages in thread From: B. T. Raven @ 2009-02-06 22:23 UTC (permalink / raw) To: help-gnu-emacs Richard Riley wrote: > > Just one small followup in case anyone else does some work on this - it > could do with a "source region" function too for posting source code. > > > In the interim, it's fairly easy to do this with C-x r t ;; : ;;(defvar e-blog-display-url nil ;; "If non-nil, e-blog will display the post/edit url in post/edit ;;buffers.") ;;(defvar e-blog-link-region-key "\C-ch" ;; "Default keybinding for inserting links in posts.") ;;(defvar e-blog-tt-region-key "\C-ct" ;; "Default keybinding for inserting `tt' style tags.") ;;(defvar e-blog-emphasize-region-key "\C-ci" ;; "Default keybinding for inserting `em' style tags.") ;;(defvar e-blog-strong-region-key "\C-cs" ;; "Default keybinding for inserting `strong' style tags.") ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-02-06 22:23 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <fe8a5a9f-7bb0-4336-872f-cec565f54fdd@s9g2000prm.googlegroups.com> [not found] ` <8505dba2-7ec1-4afc-9e68-2a80efbe6020@o40g2000prn.googlegroups.com> 2009-01-12 10:11 ` is there a package to post to blogger.com? David Kastrup 2009-01-12 18:40 ` ken [not found] ` <mailman.4653.1231785673.26697.help-gnu-emacs@gnu.org> 2009-01-12 18:53 ` Richard Riley 2009-01-13 1:42 ` Richard Riley 2009-01-13 8:38 ` Xah Lee 2009-01-13 13:14 ` Richard Riley 2009-01-13 13:24 ` Richard Riley 2009-02-06 22:23 ` B. T. Raven
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).