RE: proposal that we make an additional way to add the vocabulary

You can essentially do this in JS by calling in an appropriate JSON file, parsing the JSON and injecting the parsed data into the DOM. The only differentiating factor, unless I am misunderstanding this suggestion, is that the <aui-context> element would be readily available in the DOM.

Thad

From: lisa.seeman <lisa.seeman@zoho.com>
Sent: Tuesday, December 4, 2018 5:10 AM
To: public-personalization-tf <public-personalization-tf@w3.org>
Subject: proposal that we make an additional way to add the vocabulary

Hi Folks

This is a proposal is that we make an additional way to add the vocabulary into content using external files.
In other words we should have a way to add the vocabulary into the dom but also have a way via an external file.


External code

Example

<aui-context for="mysite.org/contactus.html" value="contactUs">

or some owl/rdf equivalent or a json version
or both....

json example

mysite.org/contactus.html{
context:contactUs
easyLang:"email us or phone us"
}

we also need a  a way for the webpage to identify the file that this is saved in.  such as the link attribute in the page header
<link rel="aui" scr="myauifile.html>

and a way to add files that are made by third parties to be linked too

Advantages

one line in the external linked to file adds the annotation for every occurrence on every page... (<aui-context for="mysite.org/contactus.html" value="contactUs">) making it much easier
third parties can add the annotations - such as NGO's. This maybe  realy important for our end user
accessibility can be added over the cloud
sites do not need to have full by in etc.
(we could expand it to the full accessibility aria vocabulary relatively easily making accessibility over the cloud reality)





All the best

Lisa Seeman

LinkedIn<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fil.linkedin.com%2Fin%2Flisaseeman%2F&data=02%7C01%7Cjjc6476%40psu.edu%7C27d4a4f9e0514ea77dfc08d659e9e26d%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C636795258395291251&sdata=UGAk4skGOZqKTVKX9%2FWV3a9ohAY%2FMH%2FnYeavY4%2B2j2c%3D&reserved=0>, Twitter<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FSeemanLisa&data=02%7C01%7Cjjc6476%40psu.edu%7C27d4a4f9e0514ea77dfc08d659e9e26d%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C636795258395291251&sdata=w%2BkIfx78bZb%2F4kH7tN5WVCJrTXn4gnV6WXoNIeQRiLM%3D&reserved=0>

Received on Wednesday, 5 December 2018 00:15:14 UTC