Monday, March 23, 2015

Index Page for your Mason Site

Okay, so if you're stumped about what's wrong with your mason site, there are a couple of things you'll need to look at first.  

First, go to this page.  It'll walk you through creating a publicly viewable folder on mason.gmu.edu/~USERNAME.

Now put your lab 6 html file, your va.json file, and your cities.tsv file into that public folder.  You still won't be able to see them, and that's because you need an index that tells your computer that they're available to be seen.

index.html is the default page, it'll be the one that gets pulled up when you type in mason.gmu.edu/~YOURMASON.

If you don't have one, you'll need to make an index file.  This file can be made in notepad or any other plaintext or html editor, and here's the code for it.

<html>
<head>
<title>YOUR NAME'S Mason Site</title>
</head>
<body bgcolor=blue" text="white">
<h1>Index</h1>
<p>
<a href="NAMEOFYOURLAB.html">Lab 6 Map of Virginia</a>
</p>
</body>
</html>

Just copy and paste that in, fill in the parts that are in allcaps, and put that in your public folder as well.

When you go there,  you should see something like this.


Click on the link.  If it doesn't lead you to your file, you made a typo somewhere.

No comments:

Post a Comment