diff --git a/doc/setting_up_orng.html b/doc/setting_up_orng.html index 6438de25..53acd05f 100644 --- a/doc/setting_up_orng.html +++ b/doc/setting_up_orng.html @@ -35,20 +35,32 @@
Shindig uses several database tables in MySQL to store its data: which gadgets appear on which pages, how large are the gadgets, @@ -85,7 +97,7 @@ process the file.
-In your VIVO home directory, create a directory called shindig. Under that, create directories called conf and openssl. @@ -124,7 +136,7 @@ issue the command above, and copy the resulting file to your Windows machine.
-The Shindig application must know where to find the configuration file that you created in Step I. @@ -149,7 +161,7 @@ export CATALINA_OPTS='-Dshindig.host=localhost -Dshindig.port=8080' export CATALINA_OPTS='-Dshindig.host=localhost -Dshindig.port=8080 -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:MaxPermSize=128m'
-In the VIVO distribution directory, the file called deploy.properties contains configuration options for the VIVO application. @@ -200,7 +212,7 @@ export CATALINA_OPTS='-Dshindig.host=localhost -Dshindig.port=8080 -Djava.awt.he -
At the command line, from the top level of the VIVO distribution directory, type: @@ -210,7 +222,7 @@ export CATALINA_OPTS='-Dshindig.host=localhost -Dshindig.port=8080 -Djava.awt.he to configure the ORNG Shindig application and deploy it to Tomcat's webapps directory.
-Start VIVO. Enter a search term in the search box, and view the results. Check the gadgets there. Navigate to a person's profile page. Again, check for the expected gadgets. @@ -341,7 +353,191 @@ export CATALINA_OPTS='-Dshindig.host=localhost -Dshindig.port=8080 -Djava.awt.he
+ VIVO will look at tables in MySQL to determine what gadgets should be made available, + where they should appear, how big they will be, and much more. + At this time, VIVO doesn't provide a user interface to edit the contents of these tables. + Administrators will need to use a MySQL admin client, or SQL commands, to set these + parameters. +
++ The tables are named shindig_apps and shindig_app_views, + and are described in the following sections. +
+ +Field | +Type | +Usage | +
---|---|---|
appid | +int(11) | ++ Identifies the gadget. + In particular, this will be used to determine which rows in the + shindig_app_views table should apply to this gadget. + | +
name | +varchar(255) | ++ A user-friendly name for the gadget. + This will be displayed in the gadget's "Title Bar". + | +
url | +varchar(255) | ++ The location where the gadget's contents and behavior are defined. + | +
PersonFilterID | +int(11) | +unknown | +
enabled | +tinyint(1) | ++ If set to 0, this gadget will never be displayed. + If set to 1, it is displayed according to the rules in the shindig_app_views table. + | +
channels | +varchar(255) | +unknown | +
Field | +Type | +Usage | +
---|---|---|
appid | +int(11) | ++ Determines which gadget in shindig_apps is affected by this rule. + | +
viewer_req | +char(1) | ++ unknown + | +
owner_req | +char(1) | ++ unknown + | +
page | +varchar(50) | +
+ What page does this rule apply to?
+ A single gadget might have several views, but no more than one view per page.
+ Recognized values are
+
|
+
view | +varchar(50) | +
+ What is the view-mode of the gadget? These are defined as part of the OpenSocial standards.
+
|
+
closed_width | +int(11) | ++ How wide is the gadget when it is closed? (in pixels) + | +
open_width | +int(11) | ++ How wide is the gadget when it is open? (in pixels) + | +
start_closed | +tinyint(1) | ++ When the page is first loaded, is the gadget open or closed (1 = closed, 0 = open) + | +
chromeId | +varchar(50) | ++ The gadget will be displayed on the page inside a <div> with this id. + Note: the page must contain this <div> and its contents + will be replaced with this gadget (or gadgets). + | +
display_order | +int(11) | ++ If more than one gadget has the same chromeId, they will be displayed in order by this field. + | +