8000 GitHub - ardumont/blog-pack: emacs-live blog pack to rapidly post org-mode as wordpress article
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ardumont/blog-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 

Repository files navigation

blog-pack

Overview

A pack to wrap the setuping of org2blog, an excellent org-mode to wordpress mode for emacs.

This is licensed under GPLv3.

Install

This is compatible with emacs-live-packs and prelude-packs.

Add this snippet in your .emacs-live.el:

(emacs-live-packs/add-live-packs "~/.emacs-live-packs/" '("blog-pack"))

Add this snippet in your prelude-packs.el:

(prelude-packs/load-packs "~/.prelude-packs/" '("blog-pack"))

Setup

Create a ~/.authinfo.gpg file with your wordpress credentials your blog description:

Credentials

In a line, add your wordpress credentials in a machine blog line:

machine blog login some-login password some-password

The machine blog is static, do not change it.

Example:

machine blog login tony password "this is a password for my blog"

Note If you have space in your password, indeed quote the password with ".

Description

In another line, add the machine blog-description entry like this:

machine blog-description blog-name your-blog-name blog-url-rpc http://your-wordpress-blog.com/blog/xmlrpc.php

Example:

machine blog-description blog-name tony-blog blog-url-rpc http://tony-blog.fr/blog/xmlrpc.php

The machine blog-description is static too, so do not change it.

Ok, now you're all ready to go.

Run

Start emacs. Open a org-mode file and write whatever you wish.

When ready to publish a draft, hit C-t d. When ready to publish, hit C-t p.

More

About

emacs-live blog pack to rapidly post org-mode as wordpress article

Resources

Stars

Watchers

Forks

Packages

No packages published
0