This repository was archived by the owner on Dec 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
53 lines (35 loc) · 1.26 KB
/
Copy pathREADME
File metadata and controls
53 lines (35 loc) · 1.26 KB
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
[ About ]
This is a command line client for Microsoft SharePoint blog.
During first run you will need to provide blog url and username.
All information is stored in user's home directory (~/.mwshrc file)
For security reasons you will need to write your blog password
everytime when you run this script. If you really really want to
save password then simply write it as password=PASSWORD to ~/.mwshrc
config file.
For XML parsing it uses slighty modified awk script by Steve Coile
http://lawker.googlecode.com/svn/fridge/lib/awk/xmlparse.awk
[ Usage ]
Usage: ./mw.sh <command> [<post_id>]
All command list (and aliases) you can see by running this script without any argument.
[ Examples ]
to get blog information:
./mw.sh info
To create new blog post:
./mw.sh new
To remove blog post (using alias to remove):
./mw.sh rm
To get specific post (passing post id from command line):
./mw.sh get 1
[ Implemented MetaWeblog API ]
metaWeblog.newPost
metaWeblog.editPost
metaWeblog.getPost
metaWeblog.getCategories
metaWeblog.getRecentPosts
metaWeblog.newMediaObject NOT IMPLEMENTED
blogger.deletePost
blogger.getUsersBlogs
blogger.getUserInfo
[ MetaWeblog API Reference ]
http://msdn.microsoft.com/en-us/library/bb259697.aspx
http://msdn.microsoft.com/en-us/library/cc313100.aspx