这是一篇用 Emacs 发布的文章
http://www.emacswiki.org/emacs/WebloggerMode 是一个 Emacs 包,可以让你用
Emacs 来写 Blog,支持多站点配置。
安装也很简单,可以通过 http://tromey.com/elpa 来安装,也可以去
https://launchpad.net/weblogger-el 下载最新的版本,放到 load-path 中,然
后在配置文件中加上 (require 'weblogger) 就 OK 了。
WebloggerMode 还依赖了 XmlRpc,这个也可以通过 ELPA 来安装。
安装好以后,先 M-x weblogger-setup-weblog 来设置一下 blog 站点,关键是把
"Server Endpoint" 设置对就行了。
下面是一些常见 blog 平台的 Server Endpoint:
Blogger.com: http://www.blogger.com/api
Wordpress: http://BLOG-URL/xmlrpc.php (For http://hexmode.wordpress.com/, this is http://hexmode.wordpress.com/xmlrpc.php. For a blog hosted at http://example.com/weblog/ it would be http://example.com/weblog/xmlrpc.php)
LiveJournal: http://www.livejournal.com/interface/blogger/
OpenWeblog: http://www.openweblog.com/interface/blogger/
MovableType: http://CGI-URL/mt-xmlrpc.cgi. If your CGI root is http://www.example.com/cgi-bin/mt/ then the Server Endpoint would be http://www.example.com/cgi-bin/mt/mt-xmlrpc.cgi.
Drupal: Enable the Blogger API and use http://DRUPAL-URL/xmlrpc.php
(like Wordpress).
把站点配置好以后,就可以用 M-x weblogger-start-entry 来写文章了。
用法如下:
;; C-x C-s -- post-and-publish current buffer to the weblog.
;; Calling weblogger-publish-entry with an prefix argument
;; (i.e. C-u C-x C-s) will prompt for which weblog
;; to use.
;; C-c C-c -- save as draft and bury the buffer.
;; C-c C-n -- post (but not publish) the current entry and
;; load the next entry.
;; C-c C-p -- post (but not publish) the current entry and
;; load the previous entry.
;; C-c C-k -- delete the current entry.
;; M-g -- synchronise weblogger.el's idea of the entries available
;; with the weblog server.
;; C-c C-t m -- edit the main template.
;; C-c C-t a -- edit the Archive Index template
;; C-c C-s s -- Change the server being used.
;; C-c C-s w -- Change the weblog.
;; C-c C-s u -- Change the user (re-login).
Comments
It is greatest, no, I am afraid .. You should first ensure that the rest of us.
Posted by: Noble Gazzola | August 10, 2012 7:55 PM
I such as this collection!
Posted by: business ideas | August 30, 2012 12:53 PM
pinterest name- julieann r
Posted by: Loreta Share | September 1, 2012 8:59 PM
wow! its good...just pinged my squidoo lens
Posted by: Vivan Shaulis | September 19, 2012 2:48 PM
It's actually a nice and helpful piece of info. I'm satisfied that you just shared this helpful info with us. Please stay us informed like this. Thank you for sharing.
Posted by: BUY TADALAFIL | September 21, 2012 5:23 PM
Hello, I just stopped by to visit your website and thought I'd say thanks for having me.
Posted by: water dispenser | September 22, 2012 6:41 AM
Hiya. Very cool web site!! Guy .. Beautiful .. Amazing .. I will bookmark your website and take the feeds additionally...I'm happy to find numerous useful info right here within the post. Thank you for sharing.
Posted by: programas para retocar fotos | September 22, 2012 4:21 PM
I must express my affection for your kindness for folks that actually need help with that subject matter. Your special commitment to getting the message all through appeared to be wonderfully practical and has continually permitted employees like me to arrive at their targets. Your entire insightful instruction denotes this much to me and extremely more to my colleagues. With thanks; from each one of us.
Posted by: london ontario realtors | September 24, 2012 5:14 PM
of course like your website however you have to take a look at the spelling on several of your posts. Several of them are rife with spelling issues and I to find it very bothersome to inform the truth nevertheless I'll certainly come again again.
Posted by: Luanna Alfrey | September 24, 2012 5:48 PM
It is ok to research the Web for article suggestions, but it is not okay to copy word-for-word of any article. Paraphrasing can also be classified as plagiarism. Be original.
Posted by: Clear Skin Max coupon | September 25, 2012 1:55 PM
And then, the joint and contact tip-to-work distance, wire cast and helix in robotic applications, the use of touch sensing to determine joint location. In addition to being listed as the average through 2010, according to the post. In addition, welders need to enter the field. {||||
Posted by: tig welding | September 26, 2012 4:21 PM
Whats awake self-same polite website!! Man .. Excellent .. Superb .. I'll bookmark your web site and engage the feeds additionally...I am pleased to attain several practical information here contained by the situate cheery, we'd like flesh out further strategies in this regard, show gratitude you for sharing. . . . . .
Posted by: utorrent | September 27, 2012 4:20 PM
Wow! This could be one particular of the most beneficial blogs We've ever arrive across on this subject. Basically Excellent. I'm also an expert in this topic therefore I can understand your effort.
Posted by: Jeanine Antista | September 27, 2012 5:23 PM
.. after i studied through the complete post i have to point out - Oh Jesus, with the recent situations trembling on us, dont we truly have some thing more significant which ought to be in our mind then "三分çƒåº¦: 这是一篇用 Emacs å‘å¸ƒçš„æ–‡ç« " and a variety of other garbage including Smutty Pix which my brother in law is surfing most of the time? - Certainly in the Pre Bush Era, the globe was still much more livable for all of us. Why dont you retreat from all this unproductive distraction crap and concentrate on things which truly makes a difference for all of us those days. You should start looking at some alternative news media similar to infiniteunknown.net or naturalnews.com - these people have the news, the mainstream mass media keeps away from us.
Posted by: Sexy Social bookmarks | September 29, 2012 12:45 AM
thanks to the author in support of attractive his clock schedule taking place this one.
Posted by: ares | September 29, 2012 8:42 PM
I enjoyed your wonderful article. topnotch work. I hope you write more. I will carry on reading
Posted by: Expat market | October 2, 2012 1:08 AM
I see a unhappy just before and right after shot. Maybe the shot from today was taken early on the Sunday morning?
Posted by: Santa Mastrocovi | October 5, 2012 9:22 AM
Wohh exactly what I was looking for, appreciate it for putting up. "Be nice to everyone on your way to the top because you pass them all on the way down." by Fred Hufnagel, Sr..
Posted by: protection dogaz | October 6, 2012 10:05 PM
Thanks for these guidelines. Solitary thing I in addition consider is credit cards providing a 0% interest time and again demand to consumers in zilch rate, split second say-so and easy on-line assess transfers, on the contrary beware of the number one cause that can void your 0% laid-back streets yearly percentage rate and too fling you out keen on the meager studio rapid.
Posted by: program download | October 9, 2012 3:34 PM
I worship your wordpress theme, where solve you get a hold of it through?
Posted by: Skype | October 9, 2012 8:13 PM
I found something like this elsewhere and really liked. Some more of this please! Thank you
Posted by: link | October 12, 2012 2:48 PM
I freaking love my green e-cigs and wouldn't give up their high smoke volume for any other brand!! Woo!
Posted by: Bracithad1946 | October 13, 2012 7:24 AM
I found something like this elsewhere and really found it entertaining. Some more of this please! Thanks
Posted by: http://www.5thavegowns.com | October 15, 2012 11:22 AM
I didnt seek this, but I love this, found it interesting! Keep up the likable work!
Posted by: nethylketamine | October 15, 2012 2:10 PM
This article has inspired me to start focusing on my own blog
Posted by: hotels llandudno | October 19, 2012 4:09 AM
Neither you nor he is wrong.I received an invitation, but I did not accept it.Keep it up!I'll call a taxi in case of need.There comes a bus.How can I climb up that wall!Help yourself.The population of the city is close to a million.You look as if you didn't care.As far as policy is concerned, I have to say something.
www.topsuggsonsale.com http://www.topsuggsonsale.com
Posted by: www.topsuggsonsale.com | October 26, 2012 3:45 AM
The females found inside the are just your regular everyday ladies who look wonderful in front of the camera, mainly because their personalities shine through. Here we set high guidelines for the photographs we show. By way of a click of the mouse you can read many free mature photos displayed on our site.
Posted by: milfs over 35 | November 18, 2012 10:24 AM
You are a very intelligent individual!
Posted by: webdesign | November 21, 2012 12:37 PM
Great writing you got there, looks like you either knows a good deal about the topic or happen to be studying it a great deal. Thanks.
Posted by: Kaci Vanderwege | December 1, 2012 8:30 PM
Why? What is it that you are looking for?
Posted by: Kniout | December 11, 2012 7:28 AM