buttonTrust
 

TRUST Partners and Researchers who attend TRUST conferences
FAQ
Editing group pages, and other forms of rocket science
Previous section  |  This section  |  Next section
Previous question  |  This question  |  Next question

Some of my groups pages do not show up properly. Why?
Christopher Brooks, 28 Jan 2011
Last updated: 23 Jan 2012

Based on Some of my group's pages don't show up properly from the GSRC FAQ by John Reekie, 1999.

Because this web server takes pages that you authored and "wraps" them in its own HTML to generate the web page header, footer, and on on, authored pages have some (reasonable) restrictions on what they can contain.

  • Frames don't work. In theory, frames could be supported but it hasn't been a high enough priority yet. Please just write simple flat HTML pages and let the server add the headers and other decoration. See the customization FAQ if you would like to have the server add your own margins or footers to your pages.
  • Pages need to be "well-formed." Because we are processing your HTML and embedding it within the pages of this website, it's a lot easier for the server to extract what it needs from your pages if it contains correctly-formed HTML. The overall structure of the page should be like this:
    <html>
    <head>
    <title>My Title</title>
    </head>
    <body>
    ...
    </body>
    
    </html>
    

    Other things that can prevent your page from displaying are:

    • No <body> tag.
    • Too many <body> and </body> tags.
    • Malformed tables. Each <table>, <tr>, and <td> tag must have a matching end tag.
    • Igor Markov points out that another trick is to read a page into Netscape Composer and then write it out again. This technique is especially useful in fixing table errors.

Links

When you are authoring your own pages, you are better off using relative links where ever you can. Relative links allow a copy of your pages to be viewed from anywhere.

If you must use an absolute link, consider using

< a href="/workgroup/myfile.html">myfile.html</a>

instead of < a href="http://www.truststc.org/workgroup/myfile.html">myfile.html</a>

Syntax Checking

Or - problem with centered text

If a public page has problems, then it is worth checking both the HTML Validation and the CSS Validation.

In particular, looking at the CSS Validation will show what cascading style sheets are in action.

For example, a page was having centered text. Running the CSS validator and looking for center showed that many tags were centered, but in particular that the body tag had the following style:

body {
        margin: 0px 0px;
        text-align: center;
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11pt;
}
The solution was to change the body tag to look like:

<body style="text-align: left">

HTML links from forum pages to the main workgroup pages should take into account that the main workgroup pages are can be found in /workgroup>/, whereas the forum is in /workgroup>/forum.

Broken Link Detection

This website uses the Htdig search engine. The search engine is run each night, and a log file is generated. We run a short script over that log file and send email about broken links to webmaster. The webmasters then either fix the links themselves, or send email to the authors.

If your pages are publicly readable, you can use one of the services from the Yahoo HTML Validation and Checkers Page Most of the services cost money, and most of them can only read pages that are accessible to the public, but some services provide a free sample run. (The GSRC website has been specially modified to allow out htdig process to be able to index non-public pages).

If you have a remote subsite, see also the remote subsite faq.

Previous section  |  This section  |  Next section
Previous question  |  This question  |  Next question
You are not logged in 
© 2005-2012 Trust