Author |
Topic |
|
Panhandler
Average Member
USA
783 Posts |
|
gary b
Junior Member
USA
267 Posts |
Posted - 22 July 2007 : 17:00:01
|
What is it we are supposed to look for? The forum presents itself well...
My philosophy: If you like it and it works, don't fix it.
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 23 July 2007 : 04:51:57
|
You need to clean your HTML up a bit; you've got opening & closing html, head and body tags all over the place.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Panhandler
Average Member
USA
783 Posts |
Posted - 23 July 2007 : 09:58:06
|
gary b: When viewing the forum front page in IE, click View, Source to see how the html is presented.
Shaggy: Here is the html that I've placed before the inc_header.asp. A shorter version is used without the .ico reference in default.asp, forum.asp, topic.asp and other files. ------------------------- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Host Camper Owners</title> <link rel="shortcut icon" href="host_icon.ico" type="image/x-icon">
<style type="text/css">
</style> <link rel="stylesheet" type="text/css" href="hostcamp.css"> </head>
<body> <center> <div id="wrapper"> <div id="wrapleft">
--------------------------- The above html is placed just before the opening <% statement. And I've placed the appropriate closing html statements just after the %> at the end of the forum file. (The div tags are centering the forum and setting it's width.)
Apparently, the forum writes it's own html statements and the View,Source shows multiple html statements. It seems to work and achieves my goals but I'm totally in the dark about the reliability and safety of what I'm doing. Is it okay to use the html wrapping in the above manner?
|
"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install ". . .on a mote of dust, suspended in a sunbeam. . ." HarborClassifieds Support Snitz Forums
|
|
|
ILLHILL
Junior Member
Netherlands
341 Posts |
Posted - 23 July 2007 : 10:22:14
|
You need to edit inc_header.asp
If you search for: '## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
The lines above that are:
Response.Write "<html>" & vbNewline & _ vbNewline & _ "<head>" & vbNewline
Underneath that you can add:
Response.Write "<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">"
You can then edit:
Response.Write "<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline
Into: Response.Write "<title>Host Camper Owners</title>" & vbNewline (This example would remove dynamic titles! Keep that in mind!!!)
etc. etc.
Cause, like Shaggy said, you have multiple instances of <html> <head> <body>, which might result in problems as far as certain browsers. Also Search Engine spiders will not appreciate it at all, which might result in lower rankings on Google.
So, definitely remove the additions and replace/add the code in inc_header.asp
Greets, Dominic
|
CLPPR.com - All The News Only Seconds Away |
Edited by - ILLHILL on 23 July 2007 10:23:09 |
|
|
Panhandler
Average Member
USA
783 Posts |
Posted - 24 July 2007 : 10:05:34
|
ILLHILL: Thanks for that tip - that is what I needed to know. fyi, using FF, IE and Safari browsers, it appears okay using it (the html) as posted.
edit: (SEO becomes a lot more pointed with the html wrap.)
|
"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install ". . .on a mote of dust, suspended in a sunbeam. . ." HarborClassifieds Support Snitz Forums
|
Edited by - Panhandler on 25 July 2007 09:11:45 |
|
|
|
Topic |
|