Forum Moderators: open

Message Too Old, No Replies

Does Ink. Consider This Spam

using javascript to write head and footer

         

watt

1:41 am on Oct 26, 2001 (gmt 0)



Wondering if any one knows if Ink considers using javascript to create header and footers of a page as spam.
I created a Javascript file that is being included in the page i'm submiting to Ink. The javascript file has 2 functions one to write out the header and one to write out the footer.

EXAMPLE:

setup.js
----------------------------------------------------
function CreateHeader() {
document.writeln('Put Header Stuff In Here');
}

function CreateFooter() {
document.writeln('Put Footer Stuff In Here');
}

index.html
-----------------------------------------------------
<HTML>
<HEAD>
<TITLE>My Keywords</TITLE>
<META NAME="keywords" CONTENT="My Keywords">
<META NAME="description" CONTENT="My Descriptions">
<script LANGUAGE='JavaScript' src="js/setup.js"></script>
</HEAD>
<BODY>
<script LANGUAGE='JavaScript'>CreateHeader()</SCRIPT>
Some optimized Text
Bla bla bla
<script LANGUAGE='JavaScript'>CreateFooter()</SCRIPT>
</BODY>
</HTML>

I'm under the impression that Ink. Likes small pages so because of this. I thought it would be handy to have doorways that look like your own site, but have small file size. Any input as to how this trick has worked for people is greatly appreciated.

Thanks in Advance.

stcrim

1:50 am on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



watt - welcome to WMW and the INK forum...

Ink considers anything misleading to be spam - I doubt they would consider your script spam unless it is creating one thing and sending the surfer to something else.

It's always better to play it safe - if you have any concerns, don't use it...

-s-

rogerd

9:24 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Looks sound to me, watt. Javascript is relatively common to pull standardized or remote content onto pages, and the spiders currently don't process this. As stcrim pointed out, though, be sure that there isn't a mismatch between the header/footer content and the main page. (E.g., if your page content is about Britney Spears but the header/footer info is about web design, you could have a problem if someone reports you.)

Keep in mind that a few users who don't handle javascript won't see the included content, but it doesn't sound like that is a big deal for what you have in mind. Be sure you have some navigation links in the optimized text in case the user doesn't get the header/footer.