ODS.VirtuosoOdsUbiquityTutorialsUpstreamWeblog

Weblog 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:

  1. Go to http://demo.openlinksw.com/ods/ods_ubiquity.html
  2. Click the button "Subscribe"
  3. Click the button "I know what I'm doing. Subscribe to it".
  4. 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

  1. Authenticate using ODS command mode:
    1. sid:
      1. Execute the command:

        ods-host http://demo.openlinksw.com/ods

      2. Execute the command:

        ods-set-mode sid

      3. Execute the command:

        ods-authenticate-user demo with demo

    2. oauth: detailed description you can find here.
  2. Execute the command:

    ods-get-instance-id myblog

  3. As result will be shown the instance id. For the "myblog" instance this should be 4.
  4. Execute the command:

    ods-create-weblog-post 4 title My Simple Test description This is My Blog Test

  5. As result will be shown message for successfully created Weblog post object with id 39
  6. The post can be viewed in the Weblog UI:
  7. 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

  8. As result will be shown message for Successfully created upstream. We can view it in Weblog UI under Settings->Upstreams:
  9. Execute the command:

    ods-create-weblog-post 4 title test for upstreaming description test

  10. As result will be shown message for successfully created Weblog post object with id 40.
  11. 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

  12. As result will be shown message for successfully posted Weblog comment.

CategoryODS CategoryOpenSource CategoryWebSite CategoryBlog