-
Notifications
You must be signed in to change notification settings - Fork 9
Home
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.
- Check out code and set up a development environment
- Run the Wrapper Dev Assist
- Define data structures
- Extraction semantics
- Semantic actions
- Visualize semantics in MICE
- Advanced wrapper features
- Compiling Wrappers without Dev Assist
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.
- For XPath authoring, we recommend using
- 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.
- For XPath authoring, use XPather or Firefinder for Firebug.