Skip to content
adunofaiur edited this page May 31, 2014 · 16 revisions

It is possible that you want to work with semantics from a web site but BigSemantics has not yet provided support for that site. Don't worry, one of the advantages of using BigSemantics is that you can author your own wrapper and then be able to work with that site!

This section will show you how to author your own wrapper for an unsupported web site. First, you need to set up a development environment. Then, you will learn about the in-and-outs of wrappers: defining data structures, extracting semantics, and attaching presentation semantics and semantic actions. The Wrapper Dev Assist tool can help you handle some details.

Tutorials

Don't forget to use Pull Requests to share your wrappers to the world! Please refer to the [wiki] (https://github.com/ecologylab/BigSemantics/wiki) for support.

Tools

These tools are not necessary but we have found them helpful in authoring meta-metadata. They help when locating information in a page's HTML and forming XPath expressions:

  • If you use Google Chrome, we recommend using its built-in Developer Tools (accessible from menu).
    • For XPath authoring, we recommend using $x("XPATH-EXPRESSION-HERE") in its JavaScript console, or the XPath Helper extension.
  • If you use Firefox, we recommend the Firebug add-on to help identify the parts of the HTML code which contain the information you need.