Bookmarks Ubiquity Commands

  1. establish OAuth session key for ODS Bookmark instance:

    Syntax: ods-set-bookmark-oauth <session_key> Example: ods-set-bookmark-oauth c4746c96bd8faa99798ad88448ba3bab

    • Example usage you can find here.
  2. create bookmark:

    Syntax: ods-create-bookmark <instance_id> title <title> url <url> [description <description>] [tags <tags>] Example: ods-create-bookmark 10 title OpenLink url http://openlinksw.com

    • Example usage you can find here.
  3. get bookmark resource information by resource ID:

    Syntax: ods-get-bookmark-by-id <bookmark_id> Example: ods-get-bookmark-by-id 1001

    • Example usage you can find here.
  4. update bookmark by resource ID:

    Syntax: ods-update-bookmark <bookmark_id> title <title> url <url> [description <description>] Example: ods-update-bookmark 1001 title OpenLink Software url http://openlinksw.com

  5. delete bookmark by resource ID:

    Syntax: ods-delete-bookmark-by-id <bookmark_id> Example: ods-delete-bookmark-by-id 1001

  6. create bookmarks folder by resource path:

    Syntax: ods-create-bookmarks-folder <instance_id> path <path> Example: ods-create-bookmarks-folder 10 path /Test

  7. delete bookmarks folder by resource path:

    Syntax: ods-delete-bookmarks-folder <instance_id> path <path> Example: ods-delete-bookmarks-folder 10 path /Test

  8. export bookmarks:

    Syntax: ods-export-bookmarks <instance_id> [exportType <Netscape|XBEL>] Example: ods-export-bookmarks 10

  9. import bookmarks:

    Syntax: ods-import-bookmarks <instance_id> source <source> sourceType <string|WebDAV|URL> Example: ods-import-bookmarks 10 /DAV/home/demo/bookmarks.html sourceType WebDAV

    • Example usage you can find here.
  10. create annotation to existing bookmark ID:

    Syntax: ods-create-bookmark-annotation <bookmark_id> author <author> body <body> Example: ods-create-bookmark-annotation 1001 author demo body OpenLink RDF Browser

  11. get annotation information by resource ID:

    Syntax: ods-get-bookmark-annotation-by-id <annotation_id> Example: ods-get-bookmark-annotation-by-id 10001

  12. create claim to existing annotation:

    Sybtax: ods-create-bookmark-annotation-claim <annotation_id> iri <iri> relation <relation> value <value> Example: ods-create-bookmark-annotation-claim 10001 iri http://openlinksw.com relation rdfs:seeAlso value http://dbpedia.org

  13. delete bookmark annotation by resource ID:

    Syntax: ods-delete-bookmark-annotation <annotation_id> Example: ods-delete-bookmark-annotation 10001

  14. create comment to existing bookmark ID:

    Syntax: ods-create-bookmark-comment <bookmark_id> title <title> body <body> author <author> authorMail <authorMail> [authorUrl <authorUrl>] Example: ods-create-bookmark-comment 1001 title RDF body OpenLink RDF Browser http://demo.openlinksw.com/rdfbrowser/ author demo authorMail demo@openlinksw.com

  15. get bookmark comment information by resource ID:

    Syntax: ods-get-bookmark-comment-by-id <comment_id> Example: ods-get-bookmark-comment-by-id 10001

  16. delete bookmark comment by resource ID:

    Syntax: ods-delete-bookmark-comment <comment_id> Example: ods-delete-bookmark-comment 10001

  17. create bookmarks publication:

    Syntax: ods-create-bookmarks-publication <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <WebDAV|URL>] destination <destination> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-create-bookmarks-publication 10 name Publish My Items destinationType WebDAV destination /~/demo/Public/DemoBookmarks.html userName demo userPassword demo

    • Example usage you can find here.
  18. get bookmarks publication information by resource ID:

    Syntax: ods-get-bookmarks-publication <publication_id> Example: ods-get-bookmarks-publication 1001

  19. update bookmarks publication by resource ID:

    Syntax: ods-update-bookmarks-publication <publication_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <destinationType>] destination <destination> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-update-bookmarks-publication 1001 name Publish My Bookmarks destinationType WebDAV destination /~/demo/Public/DemoBookmarks.html userName demo userPassword demo

  20. sync bookmarks publication by resource ID:

    Syntax: ods-sync-bookmarks-publication <publication_id> Example: ods-sync-bookmarks-publication 1001

    • Example usage you can find here.
  21. delete bookmarks publication by resource ID:

    Syntax: ods-delete-bookmarks-publication <publication_id> Example: ods-delete-bookmarks-publication 1001

  22. create bookmarks subscription:

    Syntax: ods-create-bookmarks-subscription <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tags <tags>] Example: ods-create-bookmarks-subscription 10 name Subscribe Company Items sourceType WebDAV source /~/demo/Public/CompanyBookmarks.html

    • Example usage you can find here.
  23. get bookmarks subscription information by resource ID:

    Syntax: ods-get-bookmarks-subscription <subscription_id> Example: ods-get-bookmarks-subscription 1001

    • Example usage you can find here.
  24. update bookmarks subscription by resource ID:

    Syntax: ods-update-bookmarks-subscription <subscription_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [folderPath <folderPath>] [tags <tags>] Example: ods-update-bookmarks-subscription 1001 name Subscribe Company Bookmarks sourceType WebDAV source /~/demo/Public/CompanyBookmarks.html

  25. sync bookmarks subscription by resource ID:

    Syntax: ods-sync-bookmarks-subscription <subscription_id> Example: ods-sync-bookmarks-subscription 1001

    • Example usage you can find here.
  26. delete bookmarks subscription by resource ID:

    Syntax: ods-delete-bookmarks-subscription <subscription_id> Example: ods-delete-bookmarks-subscription 1001

  27. set bookmarks instance options/properties:

    Syntax: ods-set-bookmarks-options <instance_id> options <options> Example: ods-set-bookmarks-options 10 options tbLabels=0 (hide toolbar labels from UI)

  28. get bookmarks instance options/properties:

    Syntax: ods-get-bookmarks-options <instance_id> Example: ods-get-bookmarks-options 10

References