forked from austin-----/weibo.emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
46 lines (31 loc) · 1.31 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
This is a Weibo client for EMACS.
Initialization:
1. Put .el files into a directory.
2. Make sure that directory is part of "load-path":
(add-to-list 'load-path "path to directory")
Usage:
1. Please make sure you have GNUTLS (or OPENSSL) installed and
functional:
- You should either have gnutls-cli or openssl in your PATH
- Or if you are using Emacs 24, you can also use the built-in GNUTLS
support if enabled
2. Load the weibo library:
(require 'weibo)
3. Authorization:
- The first time you use the client(e.g., check the time line) or
if your token expired, you will be redirected to the Sina
authorization page, where you can authorize this client and see a
pin number.
- Input that pin number into the echo area in EMACS
4. Check your timeline:
M-x weibo-timeline
Customization:
The following variables can be customized to fit your need.
- weibo-directory: the directory where the token file is stored. A
"cache" directory is also created in this directory to store image
files. (Default: "~/t.weibo.emacs.d")
- weibo-image-directory: when set, this variable specifies the
alternative directory where image files are stored. (Default: nil)
- weibo-display-image: whether to display image in the
timeline. (Default: t)
More features are being developed