-
Notifications
You must be signed in to change notification settings - Fork 1
Home
You will need to Check out code and set up development environment | set up a development environment.
- Develop HTML5 Web Applications with BigSemantics##
We provide a set of JavaScript functions as a library to help developers work with the service through regular function calls. The library also help prepare extracted metadata for presentation, by recursively binding metadata with meta-metadata which contains presentation semantics. We also provide another JavaScript library to render extracted metadata with a default interface consisted of styled HTML5 elements. The same libraries have been used to implement the Metadata In-Context Expander (MICE) that supports presenting and exploring metadata without leaving the page
See Developing a Web Application using Big Semantics for tutorials and API's.
- [Incorporate]
- Get Metadata
`function getMetadata(url)` `{` `var requestURL= SEMANTIC_SERVICE_URL + "metadata.jsonp?callback=" + "metadataCallback" + "&url=" + encodeURIComponent(url);` `var script = document.createElement('script');` `script.src = requestURL;` `document.head.appendChild(script);` `}`
`function metadataCallback(rawMetadata)` `{` `console.log(rawMetadata);` `}`