• Topic
  • Discussion
  • ODS.ODSSWATOTutorial(Last) -- DAVWikiAdmin? , 2017-06-29 07:30:11 Edit WebDAV System Administrator 2017-06-29 03:30:11

    SWAT0 in terms of ODS functionality Tutorial

    Actors

    1. Demo (a Person) owns a Personal Data Space that includes data spaces for structured Profile and Weblog oriented data.
    2. John (a Person) owns a Personal Data Space that primarily includes structured profile data.
    3. Mary (a Person) owns a Personal Data Space that primarily includes Feed subscriptions to Demo's Weblog.

    This tutorial demonstrates the use of ODS functionality to deliver on the SWAT0 open social web usecase where the following activities occur:

    1. Demo creates a blog entry that mentions John.
    2. John receives notification about the blog entry.
    3. Mary receives notification via her subscription to Demo's weblog.

    ODS functionality in use

    • Content Creation (Blog Post).
    • Mobile Blogging (use of Email messaging to create content e.g. Photos captured on a mobile phone which are emailed to Weblog data space).
    • Notifications (via Semantic Pingback mechanism).

    ODS Setup Steps

    Prerequisites

    1. Make sure the following packages are installed:
    2. Also make sure your virtuoso.ini file has the following settings:

      ... [HTTPServer] DefaultMailServer = mail.openlinksw.com:25

      • Note: you can also follow these steps.
    3. Go to http://cname/ods and register a user with the name demo.



    4. Go to http://cname/ods and register a user with name john.



    5. Go to http://cname/ods and register a user with name mary.



      • Note: all e-mails should be valid, as they are going to be used later in this tutorial.

    Demo's Activities

    1. Go to http://cname/ods and log in as user demo.
    2. Click "Weblog" from the left vertical navigation, which will result in a Weblog instance being created.
    3. Go to Application Settings -> Application Management.



    4. Click "Edit" for user demo's Weblog instance.



    5. In the form displayed change:
      • Member model: to "Open";
      • Hatch the "Visible to public" check-box



    6. Click "Save".
    7. Go to Application Settings -> Semantic Pingback.



    8. In the form displayed:
      • Select for "Application name" the name of the created from above demo's Weblog instance;
      • Enter a valid e-mail address for notification:



    9. Click "Add".



    10. Go to Application Settings -> Content Hyperlinking.



    11. In the form displayed:
    12. Click "Add ";



    13. Go to Weblog -> Settings -> Moblog Settings.







    14. In the form displayed:
      • Enter your external POP3 account' Server Settings;
      • Hatch "Automatic Moblogging enabled";
      • Set "Allowed MIME Types (comma separated list)" for images and text:







    15. Click "Save".

    John's Activities

    1. Go to http://cname/ods and log in as user john.
    2. Go to Application Settings -> Semantic Pingback.
    3. In the form displayed:
      • Select for "Application name" - "Personal Profile Manager", i.e. john in this way will configure Semantic Pingback for his Profile Space with the email option enabled.
      • Enter a valid e-mail address for notification:



    4. Click "Add".



    Demo's Activities

    Content Creation

    1. Take a photo with camera phone and email to the dedicated email account associated with the Moblogging service associated with Weblog. The body of the mail (actual blog post content) should refer to John by reference using '@john' (which triggers automatic hyperlinking within blog post content).
      • Note: you can also simply send an email from an email client to the Moblogging account with the picture attached too.

    Content Persistence To Weblog

    1. Enter Personal Data Space (using Digest, OpenID?, Webfinger, or WebID?).
    2. Go to Weblog -> New Post -> Moblog Messages.



    3. Click "Fetch" to retrieve and persist content to Weblog .



    4. At this point a notice is automatically sent to John (referenced by URI reference in the Weblog entry) via Semantic Pingback:

      From: Mail Admin Subject: Semantic Pingback Notification Date: September 29, 2010 9:29:02 PM GMT+03:00 To: John Smith The Data Space Entity: http://localhost:8994/dataspace/demo/weblog/demo%27s%20Weblog/22 has been updated with a new relation http://rdfs.org/sioc/ns#links_to that references http://localhost:8994/dataspace/person/john#this. You may also wish to make a reciprocal entry in your Data Space. Note: you are receiving this mail because you enabled Semantic Pingback notification (with email as notice mechanism) for your Personal Profile Management Data Space for WebID: http://localhost:8994/dataspace/person/john#this. You do not need to respond to this automated email.

    Mary's Activities

    1. Go to http://cname/ods and log in as user mary.
    2. Enter Personal Data Space (using Digest, OpenID?, Webfinger, or WebID?).
    3. Go to Weblog -> Feed Manager -> Administration-> Subscribe.



    4. Click "Next"
    5. In the form displayed:
      1. Enter in "From URL (RSS/Atom/OPML/OCS/SIOC ...)" the demo's Weblog RSS URL, for ex:

        http://cname/weblog/demo/demo-blog-0/gems/rss.xml





      2. Click "Subscribe".
    6. In the next form displayed:
      1. Optionally you can specify the "Feed folder" to which the Weblog content should be retrieved:



      2. Click "Subscribe".



    7. As result mary will also become aware of the Weblog entry based on her subscription to Demo's Weblog:
      1. Go to Read->Feeds->(demoWeblog folder).
      2. The retrieved Weblog entry should be dislayed.







    8. Go to demo's Weblog, for ex:

      http://cname/weblog/demo/demo-blog-0/





    9. Click "Comments" in order for mary to post a comment to the Weblog post.



    10. User mary authenticates with her OpenID? to this post:
      1. Enter mary's OpenID?, for ex:

        http://id.myopenlink.net/dataspace/person/mary





      2. Click "Verify".
      3. Enter user mary's credentials.



      4. Click "Login".
    11. This results in a redirection back to demo's Weblog post comment form with Verified OpenID?.
    12. Enter text some text:



    13. Click "Post"



    14. At this point a notice is automatically sent to John and Demo users (referenced by URI reference in the Weblog entry) via Semantic Pingback:

      -- the notice sent to John: From: Mail Admin Subject: Semantic Pingback Notification Date: September 29, 2010 9:29:02 PM GMT+03:00 To: John Smith The Data Space Entity: http://localhost:8994/dataspace/demo/weblog/demo%27s%20Weblog/22 has been updated with a new relation http://rdfs.org/sioc/ns#links_to that references http://localhost:8994/dataspace/person/john#this. You may also wish to make a reciprocal entry in your Data Space. Note: you are receiving this mail because you enabled Semantic Pingback notification (with email as notice mechanism) for your Personal Profile Management Data Space for WebID: http://localhost:8994/dataspace/person/john#this. You do not need to respond to this automated email.



      -- the notice sent to Demo From: Mail Admin Subject: Semantic Pingback Notification Date: September 29, 2010 9:29:02 PM GMT+03:00 To: Demo User The Data Space Entity: http://localhost:8994/dataspace/demo/weblog/demo%27s%20Weblog/22 has been updated with a new relation http://rdfs.org/sioc/ns#links_to that references http://localhost:8994/dataspace/person/demo#this. You may also wish to make a reciprocal entry in your Data Space. Note: you are receiving this mail because you enabled Semantic Pingback notification (with email as notice mechanism) for your Personal Profile Management Data Space for WebID: http://localhost:8994/dataspace/person/demo#this. You do not need to respond to this automated email.

    Related