VirtuosoOdsUbiquityTutorialsUpstreamWeblogWeblog Upstreaming Ubiquity Tutorial This tutorial demonstrates how to manage weblog post(s) from OpenLink Demo server Weblog instance for user demo and how to make upstreaming to MyOpenlink server Weblog instance "demo's Weblog" for user demo. Ubiquity Commands Subscription If not already subscribed, perform the following steps: Go to http://demo.openlinksw.com/ods/ods_ubiquity.html Click the button "Subscribe" Click the button "I know what I'm doing. Subscribe to it". As result should be shown message for "Subscription Successful" and we are ready to perform the steps from the tutorial. Initial conditions In order to be executed correctly the steps below, there should be ODS Weblog instance for user demo at the Demo server. If not existing, it is enough after log in to go to Weblog from the left ODS Vertical Main Navigation. This will cause automatically to be created ODS Weblog instance. Basic Tutorial Steps Authenticate using ODS command mode: sid: Execute the command: ods-host http://demo.openlinksw.com/ods
Execute the command: ods-set-mode sid
Execute the command: ods-authenticate-user demo with demo
oauth: detailed description you can find here.
Execute the command: ods-get-instance-id myblog
As result will be shown the instance id. For the "myblog" instance this should be 4. Execute the command: ods-create-weblog-post 4 title My Simple Test description This is My Blog Test
As result will be shown message for successfully created Weblog post object with id 39 The post can be viewed in the Weblog UI:
Now we will set upstreaming to MyOpenlink server Weblog instance "demo's Weblog" for user demo. ods-set-weblog-upstreaming 4 targetRpcUrl http://myopenlink.net:8890/RPC2 targetBlogId demo's Weblog targetProtocolId 2 targetUserName demo targetPassword demo
As result will be shown message for Successfully created upstream. We can view it in Weblog UI under Settings->Upstreams:
Execute the command: ods-create-weblog-post 4 title test for upstreaming description test
As result will be shown message for successfully created Weblog post object with id 40. Now let's create comment to the first weblog message we have posted from above: ods-create-weblog-comment 39 name Re: My Simple Test! text test author demo authorMail demo@openlinksw.com authorUrl http://demo.openlinksw.com/dataspace/person/demo
As result will be shown message for successfully posted Weblog comment.
CategoryODS CategoryOpenSource CategoryWebSite CategoryBlog