Page 1 of 1

How to use cel://?

Posted: 27.10.2017, 05:12
by SkyStars

Posted: 27.10.2017, 10:22
by selden
I'm not sure what you mean by the word "use".

Most often one includes a Cel:// URL in the text of a Web page file (one with a file type of .htm or .html). One then invokes a Web browser to read that Web page. That browser passes the Cel:// URL to Celestia for interpretation. This allows one, for example, to create an instructional file which tells the reader about astronomical objects and invokes Celestia to display them.

Cel:// URLs don't necessarily have to be used in Web pages. They can be included in any type of text file which can be used to access URLs. For example, in a PDF or Word document.

In more detail:

A URL (Uniform Resource Locator) usually consists of several parts
protocol://hostname:port/path-and-file-name
where "protocol" specifies the I/O protocol to be used when accessing the specified file on the specified computer. The contents of a Cel URL don't actually point to a computer or file, though.

In the case of Cel:// URLs, the protocol text string "Cel" tells the URL interpreter (usually a Web browser) to invoke whatever program is associated with the protocol "Cel". That program is responsible for interpreting the text of the URL and doing something appropriate with it.

Celestia's Windows installer associates the program Celestia with the "Cel" protocol. The Web browser which is reading the text of the URL invokes Celestia and passes to Celestia the text of the URL string. Celestia is then responsible for interpreting the information provided in the Cel:// URL and doing something appropriate.

FWIW, some of the I/O protocols recognized by Web browsers include http, https, ftp, telnet and others.

Here's an example of the contents of a Web page which includes your Cel: url:

Code: Select all

<html>
<head>
<title> URL Example </title>
</head>
<body>


<ul>
<li>
<a href="
cel://SyncOrbit/Sol:Jupiter:Io/2013-04-09T09:11:50.75716?x=NCr9592wdP///////////w&y=Fl7K2pIa&z=0e5sFK5DEw&ow=0.720462&ox=0.00940205&oy=0.69338&oz=-0.00832007&select=Sol:Jupiter:Io&fov=17.9577&ts=1&ltd=0&p=0&rf=57239&lm=0&tsrc=0&ver=3
">
View Io and its shadow on Jupiter.
</a>
</li>
</ul>
</body>
</html>

Posted: 27.10.2017, 13:19
by SkyStars
There are a lot of parameters inside the url, I do not know what it means. Sorry, my English is not very good. : :smile:

Posted: 28.10.2017, 02:00
by selden