-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathOrg2Blog.txt
117 lines (79 loc) · 2.55 KB
/
Org2Blog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Grant Rettke
1 Org2blog
==========
ID: orgmode:gcr:vela:BA37913C-D781-453B-B438-F6464B60CFDF
Configure Org2blog for use, development, and support.
Sysop is likely to use this periodically.
Start EMACS with this command:
`open /Applications/Emacs.app -n --args --quick --load
~/src/help/.org-mode-org2blog.emacs.el'
,----
| ;; -*- lexical-binding: t -*-
`----
,----
| (load-file "~/src/help/.org-mode-fundamentals.emacs.el")
`----
1.1 Watch What You Eat
~~~~~~~~~~~~~~~~~~~~~~
ID: orgmode:gcr:vela:59073E74-83D9-4218-917C-789A27D57E5A
*Code requiring package-management can only follow this block.*
Before ELPA, I used SVN to manage software packages for EMACS. After ELPA, I
used ELPA-packages. Now this system uses MELPA and GNU. MELPA packages always
have their issues fixed very quickly. GNU packages rarely have issues.
Initialize Package.
,----
| (package-initialize)
| (add-to-list 'package-archives
| '("melpa" . "http://melpa.org/packages/") t)
| (add-to-list 'package-archives
| '("gnu" . "http://elpa.gnu.org/packages/") t)
`----
Use-Package is the most configurable and performant way to manage ELPA
packages.
Add the Use-Package distribution the load path.
,----
| (add-to-list 'load-path"~/src/use-package")
`----
Load Use-Package and it's partner Diminish. Every package loaded before this
point uses `require'. Every package loaded after this point uses
`use-package'.
,----
| (eval-when-compile
| (require 'use-package))
| (use-package diminish)
`----
1.2 Blog
~~~~~~~~
ID: orgmode:gcr:vela:F5E33EB2-2E26-435C-85F6-26CB7CE7FC56
An elisp implementation of clientside XML-RPC
,----
| (use-package xml-rpc
| :ensure t)
`----
Weblog maintenance via XML-RPC APIs
,----
| (use-package metaweblog
| :ensure t)
`----
Blog from Org mode to wordpress
,----
| (add-to-list 'load-path "~/src/org2blog")
| (require 'org2blog-autoloads)
`----
Org2Blog depends on Org-Mode. This system loads Org-Mode from Git. Enter the
`ELPA' cache directory and delete it.
This system works with WisdomAndWonder. It keeps its posts separate giving
focus to each Web.
,----
| (setq org2blog/wp-track-posts nil)
`----
Configure Org2Blog.
,----
| (setq org2blog/wp-blog-alist
| '(("wisdomandwonder"
| :url "https://www.wisdomandwonder.com/xmlrpc.php"
| :username "admin"
| :default-categories ("Article" "Link")
| :confirm t
| :show 'show)))
`----