[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Myexperiment-discuss] adding stuff
From: |
Linde, A.E. |
Subject: |
[Myexperiment-discuss] adding stuff |
Date: |
Mon, 30 Jun 2008 10:27:00 +0100 |
Not so quick question:
I want the spacebook version of myExperiment to have extra bits added to it
(though I'm now trying to keep this to a bare minimum). The end goal is to
allow astronomy users to click an icon next to, say, a workflow and the
metadata associated with that workflow is sent to a SKUA application which
loads as a separate tab, window or AIR app. The SKUA app then fires up and
allows the user to store their metadata in a SKUA SAC (semantic assertion
collection).
So, what I'd like to add to myExperiment is:
1. a variable in the config file, sacEndpoint, whose value is the endpoint of
the SAC associated with this implementation of spacebook, which is then added
as a global Javascript variable to every web page rendered by the Rails code;
2. inclusion of a SKUA javascript file in every web page;
3. an icon and text next to (initially) each workflow in the Workflows tab and
in the individual workflow page such that clicking the icon/text will call a
function in the Javascript file passing it the workflow metadata and SAC
endpoint.
I can probably figure out 2 & 3 (but would like to know the *best* way of doing
it so as to make the minimum hit on my version of the myexp code) but
definitely need some help with 1 in how to reference and include the value of a
config variable.
Cheers,
Tony.
- [Myexperiment-discuss] adding stuff,
Linde, A.E. <=