VirtuosoOdsUbiquityWeblogWeblog Ubiquity Commands establish OAuth session key for ODS Weblog instance: Syntax: ods-set-weblog-oauth <session_key> Example: ods-set-weblog-oauth c4746c96bd8faa99798ad88448ba3bab Example usage you can find here. get weblog resource information by blog ID: Syntax: ods-get-weblog-by-id <blog_id> Example: ods-get-weblog-by-id 10 get weblog resource information by post ID: Syntax: ods-get-weblog-post-by-id <post_id> Example: ods-get-weblog-post-by-id 1001 create weblog post: Syntax: ods-create-weblog-post <instance_id> title <title> description <description> [categories <categories>] [dateCreated <dateCreated>] [enclosure <enclosure>] [source <source>] [link <link>] [author <author>] [comments <comments>] [allowComments <allowComments>] [allowPings <allowPings>] [convertBreaks <convertBreaks>] [excerpt <excerpt>] [pingUrls <pingUrls>] [textMore <textMore>] [keywords <keywords>] [publish <publish>] Example: ods-create-weblog-post 10 title RDF description Virtuoso RDF and SPARQL Example usage you can find here. update weblog post: Syntax: ods-update-weblog-post <post_id> title <title> description <description> [categories <categories>] [dateCreated <dateCreated>] [enclosure <enclosure>] [source <source>] [link <link>] [author <author>] [comments <comments>] [allowComments <allowComments>] [allowPings <allowPings>] [convertBreaks <convertBreaks>] [excerpt <excerpt>] [pingUrls <pingUrls>] [textMore <textMore>] [keywords <keywords>] [publish <publish>] Example: ods-update-weblog-post 1001 title RDF description Virtuoso RDF and SPARQL categories RDF, SPARQL delete weblog post: Syntax: ods-delete-weblog-post-by-id <post_id> Example: ods-delete-weblog-post-by-id 1001 create comment to existing post ID: Syntax: ods-create-weblog-comment <post_id> name <name> text <text> author <author> authorMail <authorMail> authorUrl <authorUrl> Example: ods-create-weblog-comment 1001 name Re: RDF text Best RDF implementation!!! author Admin authorMail admin@rdf.org authorUrl http://rdf.com get weblog comment information by resource ID: Syntax: ods-get-weblog-comment-by-id <post_id> comment_id <comment_id> Example: ods-get-weblog-comment-by-id 1001 comment_id 10001 approve weblog comment by resource ID: Syntax: ods-approve-weblog-comment <post_id> comment_id <comment_id> flag <-1|0|1> Example: ods-approve-weblog-comment 1001 comment_id 10001 flag 1 delete weblog comment by resource ID: Syntax: ods-delete-weblog-comment post_id comment_id <comment_id> Example: ods-delete-weblog-comment 1001 comment_id 10001 set weblog instance options/properties: Syntax: ods-set-weblog-options <instance_id> options <options> get weblog instance options/properties: Syntax: ods-get-weblog-options <instance_id> Example: ods-get-weblog-options 10 create weblog upstreaming job: Syntax: ods-set-weblog-upstreaming <instance_id> targetRpcUrl <targetRpcUrl> targetBlogId <targetBlogId> targetProtocolId <targetProtocolId> targetUserName <targetUserName> targetPassword <targetPassword> [aclAllow <aclAllow>] [aclDeny <aclDeny>] [syncInterval <syncInterval>] [keepRemote <keepRemote>] [maxRetries <maxRetries>] [maxRetransmits <maxRetransmits>] [initializeLog <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 get information for weblog upstreaming job: Syntax: ods-get-weblog-upstreaming <job_id> Example: ods-get-weblog-upstreaming 1001 delete weblog upstreaming job: Syntax: ods-delete-weblog-upstreaming <job_id> Example: ods-delete-weblog-upstreaming 1001 set tagging options: Syntax: ods-set-weblog-tagging <instance_id> flag <0|1> Example: ods-set-weblog-tagging 10 flag 1 retag existing posts: Syntax: ods-retag-weblog-tagging <instance_id> keepExistingTags <0|1> Example: ods-retag-weblog-tagging 10 keepExistingTags 1 References ODS Ubiquity Commands