33
eComma drupal module Currently available for drupal 6

eComma

Embed Size (px)

DESCRIPTION

Collaborative online annotation offers a new kind of reading experience: instead of making notes in the margin of a book, readers can now share their reactions instantaneously and build a body of commentary about a text together. The eComma (eCommentary Machine) open source drupal module allows its users to annotate texts at the word level and to share their annotations with others. The eComma drupal module was created by developers at the Center for Open Educational Resources and Language Learning (COERLL) and based on a web application that was designed by a team of graduate students and faculty members of the Department of English at the University of Texas at Austin. The project was started on a Digital Humanities Start-Up Grant from the National Endowment for the Humanities as well as an IT Grants from the University’s Liberal Arts Instructional Technology Services and is now funded by the U.S. DoE Title VI Program.

Citation preview

Page 1: eComma

eComma drupal moduleCurrently available for drupal 6

Nathalie Steinfeld Childre COERLL

University of Texas at Austin

Page 2: eComma

http://www.quitano.com/article/learn-drupal

Page 3: eComma

MODULE DEPENDENCIES• cck• panels • page_manager• taxonomy • community_tags• Tagadelic• comment_delete• views_bonus_export• og (organic groups)• userplus

Page 5: eComma

ECOMMA RENDERED TEXT DISPLAY

Page 6: eComma

JAVASCRIPT TEXT RANGES

ecomma.js

$(".ecomma_line").mouseup(function() {if (window.getSelection){

sel = window.getSelection();text = window.getSelection().toString();

}else{

// IE.sel = document.selection.createRange();text = document.selection.createRange().toString();

}

if (sel.getRangeAt){range = sel.getRangeAt(0);

}else if (document.createRange){// Safari.range = document.createRange();range.setStart(sel.anchorNode, sel.anchorOffset);range.setEnd(sel.focusNode, sel.focusOffset);

}else{ie = true;

}

Page 7: eComma

RENDERED ECOMMA TEXT

HTML code of displayed rendered eComma text output from ecomma.module

Page 8: eComma

RENDERED ECOMMA TEXT

HTML code of displayed rendered eComma text output from ecomma.module

Page 9: eComma

RENDERED ECOMMA TEXT

HTML code of displayed rendered eComma text output from ecomma.module

Page 10: eComma

http://uberhumor.com

Page 11: eComma

PANEL DISPLAY

Page 12: eComma

PAGE MANAGER

Page 13: eComma

PANEL

Page 14: eComma

CUSTOM PANEL TEMPLATES & LAYOUTS

eomma.module

function ecomma_ctools_plugin_directory($module, $plugin) { return "includes/plugin/$plugin";}

Page 15: eComma

CUSTOM PANEL BLOCKS

Word Cloud with highlight links

Page 16: eComma

CUSTOM PANEL BLOCKS

Comment display panel with highlight buttons

Comment delete module

views_bonus_exportmodule

Page 17: eComma

CUSTOM PANEL BLOCKS

Comment display panel with highlight buttons

Views_bonus_export:• Export xml • Display views feed in google

spreadsheet

Page 18: eComma

CUSTOM PANEL BLOCKS

Tag display with highlight button and links (green on hover)

Page 19: eComma

CUSTOM PANEL BLOCKS

Annotation input draggable dialogue window

Page 20: eComma

CUSTOM PANEL BLOCKS

Comment Cloud

ecomma.moduleJQuery plugindrupal_add_js(drupal_get_path('module', 'ecomma') .'/js/jimpl_cloud.js');

Page 21: eComma

CUSTOM PANEL BLOCKS

User Annotation list and (totals)

Page 22: eComma

COLLABORATIVE TEXTS FOR CLASSES WITH OG

Organic Groups

Group

Node

Page 23: eComma

SUPERUSER MODULE

Page 24: eComma

DRUPAL DB TABLES CREATED ON INSTALLecomma_range

Page 25: eComma

DRUPAL DB TABLES CREATED ON INSTALLEcomma_field_enabled

Page 26: eComma

DRUPAL ECOMMA VOCABULARY ON INSTALL

ecomma.install

$vid_existing = db_result(db_query("SELECT vid FROM {vocabulary} WHERE name='ecomma'"));

if(!$vid_existing):$vocab = array(

'name' => 'ecomma','description' => $t('To use with

ecomma.'),'help' => 0,'relations' => 0,'hierarchy' => 0,'multiple' => 0,'required' => 0,'tags' => 1,'module' => 'taxonomy','weight' => 0,'nodes' => array('ecomma_node' =>

'ecomma_node'),);

Page 27: eComma

CCK TEXT FIELD IN ECOMMA CONTENT TYPE

Page 28: eComma

HOOK_MENU WITH AJAX

function ecomma_menu() {

$items['tag_range/%/%/%/%'] = array( 'title' => 'Annotation range', 'description' => 'Insert term annotation data.', 'page callback' => 'ecomma_tag_range_function', 'page arguments' => array(1,2,3,4), 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, );

Page 29: eComma
Page 30: eComma
Page 31: eComma
Page 32: eComma
Page 33: eComma

[email protected]

[email protected]

http://www.coerll.utexas.edu

http://sites.la.utexas.edu/ecomma

http://www.coerll.utexas.edu/coerll/projects/ecomma

http://www.coerll.utexas.edu/ecomma

Photo: NASA/Bill Ingalls