Back to July Calendar 

Previous Entry Next Entry→

July 23, 2005
 

More html study.  I'm interested in this URL link business, especially since I tend to fail when it comes to inserting 'download' type links.  The code for the "Previous Entry" link above in this document, for instance, is
 

<a href="file:///C:/Documents%20and%20Settings/Third%20Monkey/My%20Documents/My%20Web%20Sites/sablog/Sabblog-7-21-05.htm">
<font size="3" face="Times New Roman">&#8592;</font><font size="3">Previous Entry</font></a>

 

The <a tag says, "here comes an address."  An address has the syntax,

scheme://host.domain:port/path/filename
 

where "scheme" is the defining type, usually "http," or in the example above "file."  The "host.domain" is usually something like "www.collegeofthedesert.edu," but in my example above it's "C," which, I gather, is the drive on my home computer? 

The :port number is normally omitted for the http default 80.  The path is defining a path (a sub directory) at the server. If the path is omitted, the resource (the document) must be located at the root directory of the Web site.

The filename is defining the name of a document. The default filename might be default.asp, or index.html or something else depending on the settings of the Web server.  For the COD faculty server I'm using, the default filename is default.htm.
 

URL Schemes

Some examples of the most common schemes can be found below:

Schemes Access
file a file on your local PC
ftp a file on an FTP server
http a file on a World Wide Web Server
gopher a file on a Gopher server
news a Usenet newsgroup
telnet a Telnet connection
WAIS a file on a WAIS server

For instance, you can enter the html code, <a href="news:alt.math.recreational"></a>  to link to the recreational math newsgroup.  You get the hyperlink math math newsgroup, where there is currently a little discussion of the old 1994 Pentium bug and some attendant humor:

> How many Pentium engineers does it take to change a light bulb?  Three:
> one to hold the bulb and one to turn the ladder.

Intel: Quality is Job 0.999986

Downloading with FTP

The following HTML code:

<a href="ftp://faculty.collegeofthedesert.edu/ghagopian/sablog/july05.htm/ftp/Too Hot.txt">Download WinZip</a>

creates a link to download a file like this: Download TooHot.  This link doesn't work so don't bother trying it. College of the Desert doesn't have that ftp directory.  This makes me think I should look into hosting my own internet server. 

In the meantime, here're the lyrics to Prince Buster's Too Hot, which it certainly is these days:

Too Hot, by Prince Buster, 1966

Intro: BbEbF with oooo and ska beat

Bb
Too hot, this town is too hot
F
Now they're calling for their guns
About to spoil the rude boys' fun
But rude boys never give up their guns
            Bb
It's too hot
                                                 F
No man can tell them what to do
Pound for pound, they say they're ruder than you
Bb                                                     F
They are the boss, and no back down
You might have a couple you like
Choose your burial site
Take insurance, make up your will
                       Bb
Come out and tell them, find them

Sax break

The soldiers came back to you without them
The police force are afraid, they can't even touch them
They say "You think you're bad? Why don't you come out yourself?"
These boys are calling for a fight, fighting tonight they don't lie
It's too hot

Too hot, too hot
Too hot, too hot
Too hot, too hot
Too hot, too hot

There you have them, the words. 

So I'm looking at https://www.dyndns.com/ for the purpose of hosting my own web site on my own computer.  I also note that hagopian.org is an available dns name. Through dyndns.org, I created hagopian.blogdns.net, but I'm not sure how to provide an http or ftp or whatever server for that.  So I set up IIS (Internet Information Services) in Windows XP and now when I type in http://hagopian.blogdns.net/ and enter in my username and password, I get access to my router.  This is not really what I want...

After much flailing about, all I've ascertained is that I can access my router from the internet.  Woo Hoo...

So I'll burn this server business back a bit and get on with some more Java investigations.

JOGL

Googling +OpenGL +"Java Programming" leads to http://opengl.j3d.org/

Apparently a formal Java OpenGL is still in development, but there are some things I want to try informally...  First off, I need JOGL.  That figures, huh.  To use JOGL, I need to update from my 1.4.1-07 version of the java plug-in, to the 1.4.2_01 or later.  *sigh* ok...here it goes.

Later:  Well, just installing the new java appears to be prohibitively time-consuming for today.  Mebbe stick with my old "Black Art of Jave Game Programming" Java 1.1 source and relearn some of that.