![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
in comp.infosystems.www.authoring.site-design, Eric Lindsay wrote: I am wondering about good styling approaches to targeting individual topics and pages. syntax is invalid, should be class="sitename topicA filename" |
|
Nope, exept that don't trust too much on tutorials. They have propably copied this disinformation from one another |
|
While I am happy with the idea of giving my pages a <body class="dir-name file-name"> ... you should give classes based on what is content structure, not directory or filename IMHO. That also allows you use as good URLs as possible. If you are doing CMS, please use lots of time to consider URL schemes. Try to get this: * lasts foreever * no more than 78 chars (might be impossible depending on domain or site size) * no numbers/letters that human can't understand * makes good sence Good URL scheme is about 200 times more important than issues you are talking now (from my point of view). I hope this means you have already found real good URL scheme for your site... |
#2
| |||||
| |||||
|
|
I have been pretty impressed with the idea of a very flat file structure, with meaningful names for the topic directories. That is why I was targeting the topic directories in my <body class="dir-name file-name" suggestion. |
|
My own site (it long ago got out of control) is the first target for the change over to CMS. The topic directories have names like: airlie (pages about Airlie Beach) epoc (about Psion Epoc PDAs) sf (about science fiction) |
|
Within say airlie, I managed names like boats.htm, shops.htm, school.htm, which I thought were OK. However I also have a bunch of much worse names like 0306.htm and 0403.htm ( events in June 2003 and March 2004). |
|
Plus much of the name structure of my site dates from the MS-DOS days, and for convenience that has 8.3 names instead of more meaningful names. I believe I can stay with a very flat topic structure, however I will now use more than 8 letters where appropriate. I will also expand the name of files beyond 8.3. Plus I will get rid of inappropriate number names. |
|
Thank you for bringing up the need for a much better URL scheme. I'll go think up some extra rules to add to the ones you have kindly suggested. |
#3
| ||||
| ||||
|
|
in comp.infosystems.www.authoring.site-design, Eric Lindsay wrote: Remember to not limit your CMS to put one page to two categories. That was mistake I first made. So for example book review of bycycling book goes to bookreviews and bicycles, with one URL (which is more relevant). |
|
My own site (it long ago got out of control) is the first target for the change over to CMS. The topic directories have names like: airlie (pages about Airlie Beach) epoc (about Psion Epoc PDAs) sf (about science fiction) And story of using Epoc to read SF on Airlie beach would go to each I hope? |
|
airlie/events/2003/04 Especially if you have it for every month. Adding that extra part "events" clarifies numbers. Spelled out month names are good as well, especially when audience is not international or if day is also involved. |
|
I suggest not using .htm, rather .html, and better just slash with non slash redirect (or other way around) |
![]() |
| Thread Tools | |
| Display Modes | |
| |