Skip to content
Cristian Bara edited this page Jul 8, 2013 · 4 revisions
  • Reference name: TVPlugin
  • Code source: tvplugin.coffee
  • Compiled Source: tvplugin.js

Features

  • Generates 3 types of widgets for concepts that refer to DBPedia entries describing actors, directors and characters
  • It has a maximum width of 500px and a variable height
  • The expanded widget consists of a composition of maximum 4 tiles (sqares with size of 300px X 300px)

Dependencies

  • LDPlugin

Web API connections

  • This plugin reacts to annotations that contain in their resource fields DBPedia API calls that point to resources, ex: http://dbpedia.org/resource/Michael_Moore
  • A positive match logic decides which type of widget will be rendered, by matching the rdf:type and dc:subject of to concept to entries in entity lists that describe actors, directors and film&tv series characters
  • The DBPedia response is cached by the Stanbol server. The annotation model implements extraction methods for foaf:depiction, rdfs:label, dbpedia-owl:abstract.
  • The plugin also integrates a LSI single image response by quarying the LSI for iamges related to the annotated DBPedia concept. The context input is void.

Widgets

Actor widget

  • Simple widget composed of: a button with a orange background, star icon and the label string value.
    • simple actor widget
  • Expanded widget composed a categorized list of biographical highlights and professional achievements
    • expanded actor widget - tile structure

Director widget

  • Simple widget composed of: a button with a orange background, fedora icon and the label string value.
    • simple actor widget
  • Expanded widget composed a categorized list of biographical highlights and professional achievements
    • expanded actor widget - tile structure

Events

  • This plugin will attach the rendering logic of the widgets in the becomeActive event handler of each annotation that contains a DBPedia call in its resource field.

Mouse interaction

  • Each simple widget is active to 'click' events and will trigger a modal window with additional information .
  • Expanded widgets close when 'clicking' the close (X) icon at the top left hand side of the expanded widget

Touch interaction

  • Each simple widget is active to 'tap' events and will trigger a modal window with additional information .
  • Expanded widgets close when 'tapping' the close (X) icon at the top left hand side of the expanded widget

Google TV remote control interaction

  • Each simple widget binds activate events to 'OK' events and will trigger a widget expansion
  • Expanded widgets close when pressing the 'BACK' button