Sample of Homesteads Code

Below is a sample of Homesteads coding which you will need to remove.

Located in the Head:
Delete Items
<!-- <hs:xxxxxx> --> <---xxxxxx refers to a changing attribute
<meta name="generator" content="Homestead SiteBuilder">
<!-- </hs:metatags> -->
<!-- <hs:title> -->
<!-- </hs:title> -->
<script type="text/javascript">
<!--
function reDo() {
top.location.reload();
}
if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) < 5) {
top.onresize = reDo;
}
dom=document.getElementById
//-->
</script>
<link type="text/css" href="http://www.homestead.com/~media/elements/Text/font_styles_ns4.css" rel="stylesheet">
<style type="text/css">
@import url(http://www.homestead.com/~media/elements/Text/font_styles.css);
div.lpxcenterpageouter { text-align: center; position: absolute; top: 0px; left: 0px; width: 100% }
div.lpxcenterpageinner { position: relative; margin: 0 auto; text-align: left; width: 750px; }
</style>


Located in the Body:
Editing Only:
Edit these tags only because you still need them... it's the attributes you do not need. The attributes are represented in green.

<body id="element1" background="files/Images/picture_name.jpg">
<div id="elementxx"> <<<----------- xx refers to numbers


Delete Items:
<noscript>
<img alt="" src="http://www.homestead.com/~media/elements/shared/javascript_disabled.gif" height="40" border="0" width="373" /><br /> </noscript><br /> <div class="lpxcenterpageouter"><div class="lpxcenterpageinner"><br /><!-- </hs:elementxx> -->
<noscript>
<img alt="" src="http://www.homestead.com/~media/elements/shared/javascript_disabled.gif" height="40" border="0" width="373">
</noscript>
<div class="lpxcenterpageouter"><div class="lpxcenterpageinner">
<!-- <hs:element35> -->
<img alt="" src="http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=153&g=153&b=255" height="1000" width="730">
<!-- </hs:element35> --><!-- <hs:element2> -->
<img alt="" src="http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=0&g=0&b=0" height="994" width="724">
<!-- <hs:realtracker> -->
<script type="text/javascript">
<!--
var id='';var res='';var partnerid=90006;
var user='1750508968';
var pp='index';
function f(s){f2(s)};
function f2(s){document.write('<img alt="" src="'+s+'" height="1" width="1" border="0"/>')};
//-->
</script>
<script src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetJavaScript&H_SITEID=RTK1&H_AltURL=%2F%7Esite%2Frealtracker%2Frt_s90022.js&HSGOTOURL=http%3A%2F%2Flayout1.realtracker.com%2Fincludes%2Frt_s90022a.js" type="text/javascript">
</script>
<script type="text/javascript">
<!--
f('/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGotoURL&H_SITEID=RTK1&H_AltURL=%2f%7esite%2ftp.gif&H_HSGOTOURL=http%3a%2f%2fweb4.realtracker.com%2fnetpoll%2fimulti.asp&user='+escape(user)+'&pn='+escape(partnerid)+'&pp='+escape(pp)+'&js=1&to=-360&userurl='+escape(location.href)+res);
//-->
</script>
<noscript>
<img alt="" src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetGif&H_SITEID=RTK2&H_AltURL=%2F%7Esite%2Ftp.gif&H_HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fimulti.asp%3Fuser%3D1750508968%26pn%3D90006%26pp%3Dindex%26js%3D0%26b%3D0%26to%3D-360" height="1" border="0" width="1">
</noscript>
<!-- </hs:realtracker> -->


Side Notes:
Now each page and site will be different and each page and each site will have it's challenges. You have to take your time and go line by line. It is easy to do but does take time.

You can use homesteads CSS by simply going to this address - http://www.homestead.com/~media/elements/Text/font_styles.css and taking the text attributes you wish to use. It's not illegal because Homestead does not own the code. You are only copying it. I believe CSS belongs to the W3C or Microsoft. Make sure you DO NOT take the graphics or colored boxes... This is stealing and illegal.

Your site WILL NOT look the same... and if you have colored blocks as backgrounds you could try to use your own colored graphic by using MS-Paint and keeping these codes:

<img alt="" src="http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=0&g=0&b=0" height="994" width="724">

and then change the address from "http://www.homestead.com/~site/Scripts_Shapes/shapes.dll?CMD=GetRectangleGif&r=0&g=0&b=0" to "http://www.your-domain-name-here.com/files/colored-box.gif". You may have to do some tests because as I never tested this trick... but the theory is correct and I do use a similar approach to the blogs I build.

Inside your text box you could have extra FONT tags which can be removed... if you want... but it's not necessary to do so. There are also <BR> tags that have FONT tags. You can remove these FONT tags and leave the <BR> tags alone. It's up to you. By removing the extra FONT tags... this will add more time and more stress to your editing. When I clean a site... I remove them...

Also inside the text box... closer to the bottom you could have some Homestead comment tags. They look similar to this <!-- </hs:element287> -->. These are comment tags and not seen by web browsers. Search engines can see them... but won't hurt you. Comment tags are placed so the programmer can easily find a specific area. Example: If you were programming an area that contained a guestbook and you wanted to leave a reminder, or name the area you would use a comment tag. You could do something like this:

<!-- <google adsense code for bottom right> --> code code code code <!-- </google adsense code for bottom right> -->
<!-- <google adsense code for top left> --> code code code code <!-- </google adsense code for top left> -->
<!-- <main text box> --> text text text text <!-- </main text box> -->
<!-- <site counter> --> code code code code <!-- </site counter> -->

Now you can easily find the site counter and the left adsense code. Obviously these areas are larger and contain more characters not "code code code"... I didn't want to type out a lot. You should get the idea though.

No comments:

Post a Comment