Page 1 of 1

Footy Club site

Posted: Mon May 25, 2009 6:52 am
by Locker101
Worked on a site for a club (for free)
Basically a modified version of the default theme! But eh :)

http://www.hdfcraiders.com.au

Cheers.

Re: Footy Club site

Posted: Tue May 26, 2009 1:27 am
by replytomk3
Clean site, but does not validate yet. Otherwise, good work (esp for free!). I hope that you get at least something from the work (if just popularity).

Re: Footy Club site

Posted: Tue May 26, 2009 1:31 am
by Locker101
replytomk3 wrote: Clean site, but does not validate yet. Otherwise, good work (esp for free!). I hope that you get at least something from the work (if just popularity).
I'm reasonably bad with validation :(

What are the main issues?

Re: Footy Club site

Posted: Tue May 26, 2009 2:54 am
by replytomk3
Scary at first, but not after you dig around a bit. At first, this gives an insane number of problems: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hdfcraiders.com.au%2F&charset=(detect+automatically)&doctype=Inline&ss=1&group=1&user-agent=W3C_Validator%2F1.654 (16 errors, 30 warnings).

Then, we just change the statement "<!DOCTYPE HTML PUBLIC" to "<!DOCTYPE html PUBLIC" (lowercase html), and that takes care of most problems. Yes, it is that stupid.

Code: Select all

    * Line 104, character 10:

      <div id="scores">
               ^

      Error: ID scores already defined
    * Line 88, character 10:

      <div id="scores">
               ^

      ID scores first defined here
    * Line 112, character 10:

      <div id="left-box">
               ^

      Error: ID left-box already defined
    * Line 80, character 10:

      <div id="left-box">
               ^

      ID left-box first defined here
    * Line 128, character 51:

      ... tre is filled with those who’ve made watching
                                       ^

      Error: illegal character number 128
    * Line 128, character 52:

      ... re is filled with those who’ve made watching
                                       ^

      Error: illegal character number 153

Input

      1   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      2   <__html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>HDFC - Home</title>
...
     77   </div>
     78   <hr class="accessibility" /> </div>
     79   <div id="sidebar2">
     80   <div id="left-box">
     81   <h4>Round 7 - 23rd May</h4>
     82   <p><strong>A Grade</strong></p>
     83   <p>HDFC <strong>19.16 130</strong><br />
     84   Ovingham <strong>9.9 63</strong></p>
     85   <__script__ type="text/javascript" language="javascript" src="HDFC%20-%20Home_files/helparea.js"></__script><a href="http://www.hdfcraiders.com.au/#AGrade" onclick="expandcontent('AGrade')" style="cursor: pointer;">Click
     86   for Details</a><br />
     87   <div style="display: none;" id="AGrade" class="expand">
     88   <div id="scores">
     89   <p><strong>Best Players</strong><br />
     90   M Wicks, M Newton, D Keetch, B Whales</p>
     91   <p><strong>Goal Scorers</strong><br />
     92   B Penn 4, D Dwyer 3, L Naylor 2, M
     93   Ballatori 2, J Kuhar 2, A Musolino 1, B Watson 1, B Kroepsch 1,
     94   S Shanan 1, D Keetch 1, B Whales 1</p>
     95   </div>
     96   </div>
     97   <br />
     98   <p><strong>B Grade</strong></p>
     99   <p>HDFC <strong>10.0 60</strong><br />
    100   Ovingham [Forfeit] <strong>0.0 00</strong></p>
    101   <a href="http://www.hdfcraiders.com.au/#BGrade" onclick="expandcontent('BGrade')" style="cursor: pointer;">Click
    102   for Details</a><br />
    103   <div style="display: none;" id="BGrade" class="expand">
    104   <div id="scores">
    105   <p><strong>Best Players</strong><br />
    106   N/A</p>
    107   <p><strong>Goal Scorers</strong><br />
    108   N/A</p>
    109   </div>
    110   </div>
    111   </div>
    112   <div id="left-box">
    113   <h4>Round 8 - 30th May<br />
    114   </h4>
    115   vs <strong>St Paul's OS</strong> @ Mawson
    116   Lakes Oval
    117   </div>
    118   </div>
    119   <div id="mainfrontpage">
    120   <div style="float: right;"><a href="http://www.hdfcraiders.com.au/index.php?mact=Printing,m4,printpage,1&m4showbutton=1&m4script=1&m4returnid=15&page=15" class="noprint"> <img src="HDFC%20-%20Home_files/printbutton.gif" title="Print this page" alt="Print this page" /></a>
    121   </div>
    122   <h2>Home</h2>
    123   <p>Welcome to the Houghton District Football Club website, home
    124   of <strong>The Raiders!</strong></p>
    125   <p>Our club is nestled in a unique location with picturesque
    126   surrounds.  The ambience of the region is only interrupted
    127   when
    128   the natural amphitheatre is filled with those who’ve made watching
    129   football there a regular and popular pastime.  Read more about
so, you have duplicate div tag names, and you are not using escape characters (/') and the like.

Re: Footy Club site

Posted: Tue May 26, 2009 2:57 am
by replytomk3
Then, whenever you feel like it, a bit of meta tags and SEO will not hurt. (meta tags are an option as a tab when you are editing a page in CMSMS)

Re: Footy Club site

Posted: Tue May 26, 2009 3:38 am
by Locker101
Many thanks guys!