KAG E-Corps: The Klingon Assault Group's Internet Support Division

E-Corps KAGernet Template Project README file


Site Map

Home
KAGernet
Web Design
Web Tips
Resources
CMS Guide
Kag Links
KAG Home

KAGernet

KAGernet Template
README

Download The Template Package
Unzip The Template Package
Edit And Save The HTML Files
Upload To Your Website
Adding Pages To Your Website

Download The Template Package

Click on the download url and select a directory on your computer where you want to save the file to, click "ok."

Unzip The Template Package

Double click the zipped file to begin the unzip process. Select a directory to save the unzipped files to.

Edit And Save The HTML Files

This is the big section, however it should be fairly painless. The package contains several HTML files, including a master template file that can be used as a framework for developing additional HTML files as needed. The basic website files consist of index.html, calendar.html, links.html, kagernet.css, and then several images located in the pics directory - joinkag.gif, Nightsky_and_clouds.jpg. The kagernet.css file is a Cascading Style Sheet used by each of the HTML files. You should not need to make any adjustments to it.

If you have a text editor like Komodo Edit, WinEdit, etc., you should use it to edit the HTML files. If not, use Notepad, whcih comes bundled with MS Windows. Do NOT use MS Word or other word processing utilities. They are not as friendly with plain text and make assumptions when it sees HTML tags in a document.

The index.html is the main page, or home page. It is the page that will be displayed when people view your site for the first time. It has been set up so that the only tag you need to know is the paragraph tag, which looks like <p>, and has a closing tag of </p>.

There are several places labeled "your Ship Name here" or similarly marked. You should replace these lines as appropriate. Example: "your ship name" should be changed to "IKV Shipname."

Here is a breakdown of the lines you should change:

<TITLE>Your Title</TITLE>
<META name="AUTHOR" content="Your Name">
<META name="DESCRIPTION" content="Your Page Name">
<META name="KEYWORDS" content="KAG,
                                Klingon Assault Group,
                                Klingon,
                                Your Ship Name,
				Star Trek">
<h1 class="klncenter">IKV Your Ship Name</h1>

Once these basic lines have been changed, it is time to add your content to the main part of the page. This section is indicated by the following lines:

<!-- column two, main content -->
<!-- this is where the page content, including images will go -->

Next, you should place your content, facts about your ship, location, crew, etc, in the index.html file with each paragraph beginning with the <p> tag and ending with the </p> tag.

As an example, here is an example of what your content section should look like:

<p>
Welcome to the home of the IKV Whatever. We are located in the Brewery Area, part of the Cold Beer Quadrant of the Big Surf Fleet.
</p>
<p>
Our Captain, Klaa’tu, has led us on many exploits into Federation Territory, and we regularly attend such conventions as DragonCon and CondorCon. Our crew members frequently participate in convention Masquarades and have taken top honors.
</p>
<p>
The IKV Whatever plays host to a summer Klingon Feast, open to all Klingon ships in the Cold Beer Quadrant. Some of the high points of the weekend are: pin the jammies on the Feddie, red shirt survivor, as well as the feast with entertainment (recitations of love poetry and drum circle) and awards ceremonies.
</p>

Okay, that should give you the idea of how to set up the index.html page. Be sure to spell check your content.

The kalendar.html page is even simpler to set up. Like the index.html page, there are a few lines to change (see above).

Once that is done, just to keep things easy, the calendar uses one tag to enclose your content. The preformatted text tag, which looks like <pre>.

Here’s an example:

<pre>
DragonCon
Our City, ST
This hotel
Labor Day Weekend
Guests include: Robert O’Reilly – better known as Gowron
                J.G. Hertzler   - the famous Martok
                and some guy named Shatner – claims to be a starship captain

Condorcon
Their City, ST
That hotel
March 7-9, 2008
Guests include: that Shatner guy again
                Tony Todd – Kern

</pre>

Anyrate, that’s enough to give you the idea. You’ll see this in the Kalendar.html file, so all you have to do is replace everything between the <pre> and </pre> tags. This will display spaces, line breaks, and so on without any additional tags.

Next up is the links.html page. This is where you should list other websites that you link to with some additional information describing what that website is. By default, this page already includes links to the main KAG website and some additional KAG websites (known fleet and quadrant websites). Adding additional websites is a matter of adding an additional anchor tag. An anchor tag consists of the tag and an attribute and looks like:

<a href="http://www.kag.org/">KAG</a> - main website of the Glorious Klingon Assault Group.<br>

It will display as:
KAG - main website of the Glorious Klingon Assault Group.

Here you will see the line break tag, <br>. This helps break up the content by putting each website link on a separate line without using the paragraph tag.

The easiest way to add more links is to copy and paste a line with a link and then change the URL, that’s the http://www.stuff.org/, to the URL you want, then change the accompanying text to what should be displayed with the new link.

Once you have completed updating these files, it is time to upload them to your web host provider.

Upload To Your Website

Connect to your web hosting account using whatever ftp client you have installed on your system I generally use Filezilla. It is a two paned graphical interface that allows you to drag and drop files between your computer and your hosting provider’s server. This is fairly easy.

Once the files are uploaded, you should be able to point your browser to your new website. Review your site for correctness including verifying all of the links to make sure they work.

After you have checked the site out and determined that it is working as expected, you are done.

For reference, you can check out a sample site, the IKV Tequila, on the E-Corps website.

Adding Pages To Your Website

Okay, now you are ready to add an additional page to your website. The Kagernet template has a starter set for you. Begin with the kag_template.html file and make a copy of it, naming it for the new page. In our example we'll create the krew.html to add some content about the crew of our fictitious ship, the IKV Tequila.

As with the index.html and other intital pages, update the various lines as indicated above.

Next, just as with the other pages, write up your content, then place it in the block marked for your content, again, just like you did with the index.html.

Here's an example:

<p>
Captain Krag sutai-Krassus, captain of the IKV Tequila.<br>
Commander Korvite vestai-Krassus, ship's XO<br>
Lt. Cmdr. Klueless vestai-Klue, ship's communications officer and webmaster for the IKV Tequila.</br>
Lt. Klack tai-Klink, weapons officer<br>
</p>

and so on, ending the section with </p>

You can also use the image tag to post images of the individual crew, preferably in uniform, and with more background information, like:

<p>
<img src="pics/krag.jpg" alt="Captain Krag"><br>Captain Krag sutai-Krassus, captain of the IKV Tequila. Fearless leader and warrior extraordinaire. Able to consume barrels of Blood Wine in a single sitting
</p>
<p>
<img src="pics/korvite.jpg" alt="Korvite"><br>Commander Korvite vestai-Krassus, ship's XO. He is always contriving ways to usurp command of the IKV Tequila from Krag.
</p>

And so on. Note, in the case of the second example, I have replaced the use of the line break tag <br> with the paragrpah tag to help keep the formatting neat. The line brak tag is used after the image tag so that the text will appear directly underneath the image.

Once you have completed the content, it is time to update the site map on all of your html files.

On each file, look for the following set of lines:

<p class="klingondagger">Site Map</p>
<!-- links to other pages on the site -->
<!-- modify/add as needed -->
<a href="index.html">Home</a> <br>
<a href="kalendar.html">Kalendar</a> <br>
<a href="links.html">Links</a> <br>

Then add a link to the new page as follows:

<p class="klingondagger">Site Map</p>
<!-- links to other pages on the site -->
<!-- modify/add as needed -->
<a href="index.html">Home</a> <br>
<a href="krew.html">Krew</a> <br>
<a href="kalendar.html">Kalendar</a> <br>
<a href="links.html">Links</a> <br>

After you have updated and saved the site map on all of your html files, and saved your new html file, upload all of the updated files to your web site. Don't forget to upload your images to the "pics" directory. Verify that they look correct using your favorite web browser. If it looks correct you are all done.


This site is best viewed using the Klingon Dagger font. You can download it from The Klingon Academy
Contact the E-Corps Commander at
This document last modified on 06/20/2007.
Copyright © 2007 Todd C. Hansen