Tag: orgmode
How to configure org2blog for multiple WordPress blogs.

The instructions provide clues, but don’t spell out, how to set up org2blog for multiple blogs. https://github.com/punchagan/org2blog
(setq org2blog/wp-blog-alist '(("wordpress" :url "http://username.wordpress.com/xmlrpc.php" :username "username" :default-title "Hello World" :default-categories ("org2blog" "emacs") :tags-as-categories nil) ("my-blog" :url "http://username.server.com/xmlrpc.php" :username "admin")))
But what if you don’t want to specify your username and password in this multi-site set-up?
The answer lies in expanding on the elisp provided.
(let (creds-stevedowe creds-warpuni creds-status) (add-to-list 'auth-sources "~/.netrc") (setq creds-stevedowe (auth-source-user-and-password "stevedowe.me")) (setq creds-warpuni (auth-source-user-and-password "warpuni.com")) (setq creds-status (auth-source-user-and-password "status.warphost.net")) (setq org2blog/wp-blog-alist `( ("stevedowe.me" :url "https://dowe.io/xmlrpc.php" :default-categories ("me" "process" "things" "world") :tags-as-categories nil :username ,(car creds-stevedowe) :password ,(cadr creds-stevedowe)) ("warpuni.com" :url "https://warpuni.com/xmlrpc.php" :default-categories ("Analytics","BioData","FreeSoftware","Internet","Mobile","News","Productivity","Security","Social" "Support") :tags-as-categories nil :username ,(car creds-warpuni) :password ,(cadr creds-warpuni)) ("status.warphost.net" :url "https://status.warphost.net/xmlrpc.php" :tags-as-categories nil :username ,(car creds-status) :password ,(cadr creds-status)))))
[ This is a legacy post. Some details may no longer be relevant to modern software implementations. ]
Emacs & org-mode: a selection to suit anyone’s palate
If it hasn’t been said enough times already, let it be said once more: Emacs and org-mode are quite probably the best way ever to organise your personal life.
Emacs, for starters
Emacs as a text editor is rock solid. If you have a computer where you type in text and which:
- is web based (e.g. a chromebook)
- has any kind of touch interface (a tablet, phone)
- is running a heavy GUI (graphical user interface)
.. then you are certain to observe a certain lag on input. It might be very slight, but it will likely be there. I know this to be the case for many devices out there, even those which purport to be “high-end”.
With Emacs, there seems to be a much more direct connection to the keyboard: you type, text appears. You type faster, text appears faster. In fact, text is capable of appearing much more quickly than you can possibly type. This makes blogging quick and painless.
org-mode, for main course
Life in Emacs simply came to be, through org-mode. Emacs itself is amazing; org-mode made organising data even better. A quick refresher:
- org-mode creates everything in plain text, for maximum portability between systems
- it is known as an “outline mode” enhancement for Emacs, meaning it helps to display semi-structured text effectively
- it allows for the creation of lists – of projects, tasks, notes, links … you name it, anything that can be represented in text
- it is portable, allowing for synchronisation with mobile devices
- using Emacs, it is powerful – allowing org-mode notes to interact with other aspects of Emacs

Org-mode also supports all sorts of fancy formatting and customisation, meaning text can look good and be easy to follow.
org2blog, for desert
What would all this power be for, unless blogging! 🙂
Actually, blogging is just one activity which benefits greatly from the power of org-mode, as org’s powerful and easy formatting options are seamlessly translated into HTML and published to a blog.
In my case, I’m using a WordPress site. I create a new post using the commands
M-x org2blog/wp-login
M-x org2blog/wp-new-entry
I then type in my post and save it to a local file, using
C-x C-s
and then post it to WordPress for subsequent tweaking, with
M-x org2blog/wp-post-buffer
I can then add some final polish and check the format in WordPress before final publishing.
As a demo and an indication of speed, this blog post took only 5 minutes to write, post, edit and publish.
2011 : wk9
this week (wk 9)
work
- General
- XHTML/CSS template conversion
- CRM meeting with client
- Hosting project planning
- Transfer notes to TD
- System:
- Complete populating Products/Quotes system
- Complete virtual inventory
- compile charity list
- Marketing/Intro letter to local .org.uk’s (in progress)
- Update shared accounts to new limits
- Update server software to latest stable
- Admin panel tasks
- test – scripting
- release
- networking group:
- training
- social events
- 1-2-1s
- f/up referrals
- changes to web site
- arrange visitors
life
misc
- Fix bike
- Buy bike lock & lights
- Order car tyres
- Meal at friends
- Birthday curry
- Other birthday drinks
last week (wk 8)
work
- General
- compile charity list
- mail merge & post out to charities
- System:
- Complete populating Products/Quotes system
- Marketing/Intro letter to local .org.uk’s (in progress)
- Update shared accounts to new limits
- Admin panel tasks
- test – scripting
- release
networking group trainingchanges to web site- arrange visitors
- sales leads / prospects / meetings for next week
life
misc
- Fix bike
Fix bed
2011 : wk7
this week (wk 7)
work
- General
- Improve CMS template / navigation handling on
onecool.com - Change home page (add jQuery slideshow like this)
- Improve CMS template / navigation handling on
- CRM
- System:
- Complete populating Products/Quotes system
- Update profiles
- Sales
- Marketing/Intro letter to local .org.uk’s
- System:
- Systems:
- Update shared accounts to new limits
- Check and update VS disk space
- PHP
- Admin panel tasks
- build – complete eCommerce
- test
- release
- Checkout testing
- Admin panel tasks
- [recurring] Organise
networking grouptraining- changes to web site
- arrange visitors
- sales leads / prospects / meetings for next week
life
misc
- Birthday celebration at the De Havilland / Jolly Miller
- Arrange 3 dinners
- Arrange drinks out
last week (wk 6)
work
- CRM
- System:
- Populate Products/Quotes system
- Update profiles
- Sales
- Arrange 1-2-1s with visdes’s
- Marketing/Intro letter to local .org.uk’s
- System:
- Systems:
- Update shared accounts to new limits
- Check and update VS disk space
- PHP
- Admin panel tasks
- build (ongoing)
- test
- release
- Checkout testing
- Admin panel tasks
- [recurring] Organise
- networking group training
- arrange visitors
- sales leads / prospects / meetings for next week
life
misc
2011 : wk6
this week (wk 6)
work
- System:
- Populate Products/Quotes system
- Update profiles
- Arrange 1-2-1s with visdes’s
- Marketing/Intro letter to local .org.uk’s
- Update shared accounts to new limits
- Check and update VS disk space
- Admin panel tasks
- build
- test
- release
- networking group training
- arrange visitors
- sales leads / prospects / meetings for next week
life
misc
last week (wk 5)
work
- System:
- Products/Quotes system
- Update profiles
- 1-2-1s with visdes’s
Tie down opps
- Update shared accounts to new limits
MTA switch- Check and update VS disk space
- Admin panel tasks
- build (in progress)
- test
- release
networking group trainingarrange visitorssales leads / prospects / meetings for next week
life
misc
2011 : wk5
this week (wk 5)
work
- CRM
- System:
- Products/Quotes system
- Update profiles
- 1-2-1s with visdes’s
- Tie down opps
- Update shared accounts to new limits
- MTA switch
- Check and update VS disk space
- Admin panel tasks
- build
- test
- release
- networking group training
- arrange visitors
- sales leads / prospects / meetings for next week
life
- Kung Fu
- Salsa
- Swim
misc
- Beer with fellow geek
last week (wk 4)
work
- PHP admin panel tasks
scopecreate/ implement- test
- release
- networking group training
- arrange visitors
sales leads / prospects / meetings for next week
life
-
shop for new trainers
misc
complete migration of personal emaildecide which tech books to get🙂
2011 : wk3
this week (wk 3)
work
- organise
- networking group training
- sales leads / prospects / meetings etc.
- financial year end
- archive digital & hard copies
- start new file
- configure Cisco router
- implement PHPUnit / Zend Framework unit testing
- the ongoing resolution of remaining issues on ccart 🙂
life
- organise
- documents
- photos
- reading plan
misc
- complete migration of personal email
last week (wk 2)
work
- organise
browser bookmarksdocuments- financial year-end
- archive digital & hard copies
- start new file
business cash flow planning- configure Cisco router
- resolve remaining issues on ccart
life
- organise
- documents
- reading plan
go out, eat curry
misc
- complete migration of personal email
2011 : wk2
this week (wk 2)
work
- organise
- browser bookmarks
- documents
- financial year-end
- archive digital & hard copies
- start new file
- business cash flow planning
- configure Cisco router
- resolve remaining issues on ccart
life
- organise
- documents
- reading plan
- go out, eat curry
misc
- complete migration of personal email
last week (wk 1)
work
bin the old chair 🙂- organise
customer appointments / projects- browser bookmarks
- documents
- financial year-end
- archive digital & hard copies
- start new file
- business cash flow planning
- configure Cisco router
visit dc to perform maintenance- resolve remaining issues on ccart
life
- organise
mp3s- documents
- reading plan
get busted ankle checked outschedule food/fit
misc
- complete migration of personal email
2011: wk1
With the aim of simplifying it all in 2011…
work
- bin the old chair 🙂
- organise
- customer appointments / projects
- browser bookmarks
- documents
- financial year-end
- archive digital & hard copies
- start new file
- business cash flow planning
- configure Cisco router
- visit dc to perform maintenance
- resolve remaining issues on ccart
life
- organise
- mp3s
- documents
- reading plan
- get busted ankle checked out
- schedule food/fit
misc
- complete migration of personal email