-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
68 lines (45 loc) · 2.22 KB
/
README
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
Project : org-googlecl
Contents : Emacs org-mode interfaces to the google command line utility.
Author : Richard Riley
Email : rileyrgATgooglemailDOTcom
Started : Wednesday 8th Sept 2010
Git-Hub : http://github.com/rileyrg/org-googlecl
Requirement : Linux, google command line utility "googlecl".
Example Output
==============
http://splash-of-open-sauce.blogspot.com/
Usage
=====
M-x customize-group <enter> org-googlecl <enter>
(org-googlecl-blog) ; posts current org item to blogger/blogspot.
(googlecl-blog) ; more general function.
The most straightforward usage is to set up a hot key to call
(googlecl-prompt-blog)
This will detect if you are in org and if so ask you if you wish to blog the entire org
item - if you say "no" it will provide a normal text blog using (googlecl-blog).
This might be done like this:-
(global-set-key (kbd "C-c L") 'org-googlecl-list-blogs)
(global-set-key (kbd "C-c B") 'googlecl-prompt-blog)
Requirements
============
emacs, org-mode.
The command line google utility found here http://code.google.com/p/googlecl/ .
NOTE : you must set up the Blog authorisation from the command line before using these functions.
Thie command line tool is for Linux. I have no idea about Mac/Windows equivalents.
The easiest way to to this is to "google blogger list" from the command line. If you have not configured
google with the config file use the --blog option to specify which blog.
google --help
for more details.
Coming Up
=========
Ability to list blogs based on title contents (done) and then jump to asociated org item if it exists.
Delete blogs from the blog list.
assign a UID to the blog and org item for instant match ups.
Might be nice to allow config of a user defined function for defining labels so can have content aware tagging for reposts etc. Possibly even linking to a github commit node.
Known Issues
============
I have a sneaky suspicion using the googlecl tool is fundamentally
flawed. Probably better to use the google APIs directly.
There are numerous issues with trying to reblog from the output of org-googlecl-list-blogs.
Probably linked to untrimmed subjects. Nothing so devastating.
The process finished message is at the top of the blog list created by org-googlecl-list-blogs