Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-08 10:54:50



Reply to topic  [ 6 posts ] 
Custom Grids? 
Author Message

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
Would it be possible to add a grid manager to Cool Viewer, similar to what Hippo, Meerkat, and Imprudence have? So far, I've found it impossible to add new grids to the grids.xml file, because of a cryptic "Incomplete grid definition" error, and I'm fairly certain I entered in the data correctly.


2010-02-23 03:47:48
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 6028
Reply with quote
Adding a new grid is extremely simple... SImply add a new blocl, like so:

Code:
<map>
   <key>name</key><string>somegrid.domain.net</string>
   <key>label</key><string>Grid name</string>
   <key>login_uri</key><string>http://login.somegrid.net:8002/</string>
   <key>helper_uri</key><string>http://helper.somegrid.net/somepath/</string>
   <key>login_page</key><string>http://somegrid.net/loginpage</string>
</map>
All key lines are required, excepted for login_page. If there is no helper_uri, use an empty string for that key. The minimum block is therefore as follow:

Code:
<map>
   <key>name</key><string>somegrid.domain.net</string>
   <key>label</key><string>Grid name</string>
   <key>login_uri</key><string>http://login.somegrid.net:8002/</string>
   <key>helper_uri</key><string></string>
</map>
Note that the "name" key is not critical (it's a mere way to distinguish a grid from another in the code but it is not displayed neither used as a connection parameter). The label is displayed in the grid selection combo and is limited to 20 characters (the next release will extend it to 32). Also, the login URI is sometimes using another port than 8002 (9000, for example), simply use the parameters as provided on the grid website. The same remark goes for the URLs form used in this example (use the provided parameters).

The next release of the Cool SL Viewer will include an overhaul of the grid list (with all dead grids removed, a few updated, and some more added).


2010-02-23 08:33:42
Profile WWW

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
That's how I had entered it, unless there's some tiny error that escaped me:
Code:
         <map>
            <key>name</key><string>inworldz.com</string>
            <key>label></key><string>InWorldz</string>
            <key>login_uri</key><string>http://inworldz.com:8002/</string>
            <key>helper_uri</key><string></string>
         </map>


EDIT: Also, Cool Viewer apparently ignores the --loginuri command line parameter.


2010-02-23 19:22:24
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 6028
Reply with quote
Zauber Exonar wrote:
That's how I had entered it, unless there's some tiny error that escaped me:
[code]
<map>
<key>name</key><string>inworldz.com</string>
<key>label></key><string>InWorldz</string>
And here is the "tiny error": "<key>label></key>" should read "<key>label</key>"


2010-02-23 23:12:57
Profile WWW

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
/me's head explodes


2010-02-24 00:01:29
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
:ducks

eww, brain shrapnel


2010-02-24 11:34:05
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.