[Xerte] detect/retrieve url of an LO

Paul Swanson Paul.Swanson at harlandfs.com
Thu Sep 17 23:40:36 BST 2009


You might try a javascript function in the launching web page:

 

function returnURL() {

    var baseURL = document.URL;

    return baseURL;

}

 

Then use Xerte's callJS() method to get it.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, September 17, 2009 3:29 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] detect/retrieve url of an LO

 

Thanks for the suggestion but that doesn't work for what I want. _url
comes close but this may be a question for Pat as what I really want is
to automatically detect, or at least dynamically create, the public url
of the LO. Hopefully Pat will have a suggestion tomorrow.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: 17 September 2009 22:53
To: Xerte discussion list
Subject: RE: [Xerte] detect/retrieve url of an LO

 

FileLocation?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, September 17, 2009 2:50 PM
To: 'Xerte discussion list'
Subject: [Xerte] detect/retrieve url of an LO

 

Hi Pat/Julian

I should probably know this but is there a system variable or functions
or something which automatically contains the url of the LO? 

Cheers

Ron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090917/48226ba9/attachment.html


More information about the Xerte mailing list