---++Weblog Ubiquity Commands
1 establish OAuth session key for ODS Weblog instance:
Syntax: ods-set-weblog-oauth
Example: ods-set-weblog-oauth c4746c96bd8faa99798ad88448ba3bab
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsWeblogOAuthD][here]].
1 get weblog resource information by blog ID:
Syntax: ods-get-weblog-by-id
Example: ods-get-weblog-by-id 10
1 get weblog resource information by post ID:
Syntax: ods-get-weblog-post-by-id
Example: ods-get-weblog-post-by-id 1001
1 create weblog post:
Syntax: ods-create-weblog-post title description
[categories ] [dateCreated ] [enclosure ]
[source
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsUpstreamWeblog][here]].
1 update weblog post:
Syntax: ods-update-weblog-post title description
[categories ] [dateCreated ] [enclosure ]
[source
1 delete weblog post:
Syntax: ods-delete-weblog-post-by-id
Example: ods-delete-weblog-post-by-id 1001
1 create comment to existing post ID:
Syntax: ods-create-weblog-comment name text author authorMail authorUrl
Example: ods-create-weblog-comment 1001 name Re: RDF text Best RDF implementation!!! author Admin authorMail admin@rdf.org authorUrl http://rdf.com
1 get weblog comment information by resource ID:
Syntax: ods-get-weblog-comment-by-id comment_id
Example: ods-get-weblog-comment-by-id 1001 comment_id 10001
1 approve weblog comment by resource ID:
Syntax: ods-approve-weblog-comment comment_id flag <-1|0|1>
Example: ods-approve-weblog-comment 1001 comment_id 10001 flag 1
1 delete weblog comment by resource ID:
Syntax: ods-delete-weblog-comment post_id comment_id
Example: ods-delete-weblog-comment 1001 comment_id 10001
1 set weblog instance options/properties:
Syntax: ods-set-weblog-options options
1 get weblog instance options/properties:
Syntax: ods-get-weblog-options
Example: ods-get-weblog-options 10
1 create weblog upstreaming job:
Syntax: ods-set-weblog-upstreaming targetRpcUrl targetBlogId
targetProtocolId targetUserName targetPassword
[aclAllow ] [aclDeny ] [syncInterval ] [keepRemote ]
[maxRetries ] [maxRetransmits ] [initializeLog ]
Example: ods-set-weblog-upstreaming 10 targetRpcUrl http://blogs.com:80/RPC2 targetBlogId Demo targetProtocolId 1 targetUserName demo targetPassword ***
* Note: targetProtocolId range is:
1 - Blogger
2 - MetaWeblog
3 - MoveableType
5 - Atom
1 get information for weblog upstreaming job:
Syntax: ods-get-weblog-upstreaming
Example: ods-get-weblog-upstreaming 1001
1 delete weblog upstreaming job:
Syntax: ods-delete-weblog-upstreaming
Example: ods-delete-weblog-upstreaming 1001
1 set tagging options:
Syntax: ods-set-weblog-tagging flag <0|1>
Example: ods-set-weblog-tagging 10 flag 1
1 retag existing posts:
Syntax: ods-retag-weblog-tagging keepExistingTags <0|1>
Example: ods-retag-weblog-tagging 10 keepExistingTags 1
---+++References
* [[VirtuosoOdsUbiquity][ODS Ubiquity Commands]]