How to use cel://?
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:
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<d=0&p=0&rf=57239&lm=0&tsrc=0&ver=3
">
View Io and its shadow on Jupiter.
</a>
</li>
</ul>
</body>
</html>
Selden
Most, probably all, of the fields are defined on https://en.wikibooks.org/wiki/Celestia/Celx_Scrip ... Lua_Methods/CEL_command_seturl
Selden