You are currently browsing the category archive for the 'Tutorials' category.

Black Hat Search Engine Optimization Techniques
By Terry Detty

As search engine optimization has become more popular, so has the use of unethical SEO techniques. After you’ve read this, you’ll know what techniques are underhanded and which are acceptable.

“Black Hat” Techniques
“Black Hat” techniques are unethical methods that some Web site owners use to get their site listed on search engines (and to obtain a high search engine listing). Here’s a list of three common “Black Hat” techniques you should avoid since they could get your site banned.

1. Keyword stuffing: Keyword stuffing is the overuse of keywords in a piece of content. Generally, this is repeating the same keywords over and over just to achieve a higher search engine ranking.

2. Invisible text: Quite a few cheap sites use this tactic, which involves making keywords to be the same color as the background, so readers can’t see the massive amounts of keywords, but search engine spiders can.

3. Doorway pages: These are pages that regular visitors cannot see, but search engine spiders can. They are used to trick the search engines so that the site gets a higher ranking. Not only do they go against the rules, but they also hurt the visitor’s experience. Who wants to see a site stuffed with keywords?

Do “Black Hat” techniques work?

They do, but only temporarily. Eventually the search engine spiders catch on and your site can be permanently banned from the listings. It may pay off for a few short weeks, but it permanently hurts your site and its credibility on the Internet.

Fortunately, there are many techniques you can use to get your site ranked in a top spot with the search engines. We’ll go over two such techniques right now.

Keywords
Earlier in this article, we talked about keyword stuffing, which can get your site banned. In contrast, the natural use of keywords is perfectly fine. By natural, we mean keywords that are spread throughout a document in a way that isn’t blatant.

How do you naturally use keywords in your content? The first step is to identify some keywords that are relevant to your site, then begin to write the content. Essentially, you want to incorporate the keywords you’ve picked out in a natural way throughout the content. Ideally, if your content is 600 words, you’ll want to use the main keyword between 6-18 times, which is a keyword density of 1-3% (keyword density is the number of keywords divided by the total words of a document). Anything less than that won’t be beneficial. More than a keyword density of 3% might seem like keyword stuffing, so try not to past a keyword density of 5%. Also be aware that you’re not incorporating keywords for the search engines only, you’re going to have people reading your content, so it’s important that your keywords doesn’t interfere with your message.

Linking
Linking is a common practice between Web sites. In many cases, the simplest method is a link exchange, where you and another webmaster agree to post links to each other’s site.

From there, each time a search engine spider visits a page with a link to your site on it, the spider will then visit your site.This is one quick way of improving your position in the search engines.

Conclusion
While “Black Hat” techniques temporarily do work, they never pay off in the long run. So if you want a legitimately high search engine listing, don’t use “Black Hat” techniques. Use natural methods for high search engine rankings!

Thank you from WGC Designs to the author of this great article.

About the Author
Terry Detty, 42, enjoys all aspects of Internet marketing and occasionally getting out for a breath of fresh air. He has several sites, covering Internet marketing, time and attendance and credit repair.

http://www.webreference.com/promotion/blackhat/

Add time period to date
In the table the actual servers date is shown(first part of the table), and bellow we have add diferent intervals of times to actual date. The new date has been saved to a variable named Mydate and date, year, month, monthname, day, and weekday corresponding to Mydate has been shown in each line .

This kind of code may be useful to display the correct date corresponding to a country or region when the server is located in a different country (for example, the server is located in US, and the visitors are from Spain)

date Year Month MonthName Day Weekday
The actual date
9/13/2008
2008
9
September
13
7

Add a time period to actual date
Add 3 years to actual date:
9/13/2011 2011 9 September 13 3
Add 3 quarters to actual date:
6/13/2009 2009 6 June 13 7
Add 3 months to actual date:
12/13/2008 2008 12 December 13 7
Add 3 days to actual date:
9/16/2008 2008 9 September 16 3
Add 24 hours to actual date:
9/13/2008 3:00:00 AM 2008 9 September 13 7
Add 1440 minutes to actual date:
9/13/2008 12:03:00 AM 2008 9 September 13 7
Add 86400 seconds to actual date:
9/13/2008 12:00:03 AM 2008 9 September 13 7

http://www.asptutorial.info/sscript/Addtimeperiodtodate.html

As boring as an ASCII chart maybe.. sometimes you just need a look up table to reference if needed.

http://www.startupinternetmarketing.com/resources/ascii.html

————————–

ASCII Chart
This chart contains the code for all printable ASCII characters. Simply copy the code for the character that you want to display, and paste it into your document.

General font = any standard font face
Symbol font = the symbol font available in Windows

Character
General font Character
Symbol font # code Alternate
HTML Description
 Unused
 Unused
Carriage Return
 Unused
 Unused
Space Space
! ! ! Exclamation point
" " " " Double Quotes
# # # Number symbol
$ $ $ Dollar symbol
% % % Percent symbol
& & & & Ampersand
' ' ' Single quote
( ( ( Open parenthesis
) ) ) Close parenthesis
* * * Asterisk
+ + + Plus sign
, , , Comma
- - - Hyphen
. . . Period
/ / / Slash (bar)
0 0 0 Zero
1 1 1 One
2 2 2 Two
3 3 3 Three
4 4 4 Four
5 5 5 Five
6 6 6 Six
7 7 7 Seven
8 8 8 Eight
9 9 9 Nine
: : : Colon
; ; ; Semicolon
< > > > Greater than
? ? ? Question mark
@ @ @ At symbol

————————–

Plus many more at: http://www.startupinternetmarketing.com/resources/ascii.html

Recordset.Move()

The Recordset.Move() technique was the first example I ever posted in this article. In an attempt to eliminate the need for heavy recordset objects, I decided to try the Move() method to skip the first n rows in the resultset to start at the first row for the page we are interested in.

<%
rstart = PerPage * Pagenum – (PerPage – 1)

dataSQL = “SELECT ArtistName, Title FROM SampleCDs WITH (NOLOCK)”

set rs = conn.execute(dataSQL)

if not rs.eof then

rs.move(rstart-1)

response.write “

for x = 1 to PerPage

if rs.eof then exit for

artist = rs(0)
title = rs(1)

if artist prevArtist then
prevArtist = artist
response.write “


response.write ”

rs.movenext
next

response.write “


response.write artist & “

else
response.write “

end if

response.write title & “


else
response.write “No rows found.”
response.end
end if
%>

This code can be found at:
http://databases.aspfaq.com/database/how-do-i-page-through-a-recordset.html

Display an Image in a SQL Database

second option :

in file test.html, put this code :-

<img src=”image.asp?id=1″>

then, in same directory, make file image.asp
and put this code :-

<%
Response.ContentType = “image/gif” 

Response.Expires = 0
Response.Buffer = TRUE
Response.Clear

id = Request.QueryString(“id”)

`checking the data exist or not
`Server Name=test
`SQL Server database name=test

cme = “DRIVER={SQL SERVER};SERVER=test;UID=sa;pwd=;DATABASE=test”

`field ImageItem is image datatype in SQL Server.
cmdsql = “SELECT ImageItem from EQUIPMENT WHERE id =`”&id&”`”
set rs = Server.CreateObject(“adodb.Recordset”)
rs.open cmdsql, cme

Response.BinaryWrite rs(“ImageItem”)
Response.End 
%>

FOUND AT: http://www.codetoad.com/forum/16_9829.asp

Looking for an easy to install slide show?

The Google AJax slide show is very easy to install and can even use a custom rss feed to use your own images from your database on the fly.  Uses flash with no real options for button changes but the ease of installation makes this a great call for most any project.

AJAX Slide Show Specs

The Slide Show is a simple to use application of the Google AJAX Feed API that is designed to let you add photo slide shows to your pages, sites, and blogs. The slide show control takes photo feeds from all popular sites, such as PhotoBucket, Flickr, and Picasa Web Albums. Any feeds that use Media RSS can be used without customization. However, the slide show control allows any photo-based feed to be accomodated, such as iTunes feeds similar to those found in the Tune Bar solution or the custom feed example below.

The Slide Show control is highly customizable, allowing you to specify options such as the number of photos to display, display and transition time between photos, how the photos link back to their source, etc.

Adding the Slide Show to your page is a snap. The easiest way is to start with our sample “hello world” sample. If you want to tweak the code even further, we have a complete Slide Show Programming Guide available for you to learn from.

Submit Site-map to MSN & Yahoo!

Did you know you can now submit your websites site-map to both MSN Live along with Yahoo? Submitting a valid site-map allows the search engines to easily find and index every page within your website. If your site isn’t dynamic it will be easy to product your site-map with just able any free site-map generators you find when searching the web. If your site is dynamic and contains anymore then 500 pages you will need a special generator that can help.

GSite Crawler: http://gsitecrawler.com/en/download/

Or try AuditMyPC: http://www.auditmypc.com/free-sitemap-generator.asp

Once you generate a site-map for your site visit MSN and Yahoo’s developers section for complete instructions on adding your site-map.

MSN Developers: http://webmaster.live.com/

Yahoo! Site Explorer: http://siteexplorer.search.yahoo.com/

In todays market we all need to be sure our websites are up and running properly, but what if you have multiple websites?  Try this service..  its totally free!

Montastic

Website monitoring made cool:

  • Get an email when your site goes down
  • Get an email when it goes back up
  • Read statuses via RSS or Yahoo widget
  • Fun, easy and elegant user interface
  • No unreasonable limit on the number of websites monitored
  • Working with google maps you will sooner or later need to center your map to a certain point.. how do you find the exact location? I needed to center my map at the middle of Lake Winnipesaukee in New Hampshire so i found this website.. http://www.juggling.org/bin/do/map-find?

    —————————

    Latitude/Longitude Position Finder

    Use this resource to identify the latitude and longitude position of any point within the United States. Simply touch the map below to zoom in on the area you select, until you find the precise location. There are 9 zoom levels in all. You may zoom out if the position is not on the visible portion of the map

    http://www.juggling.org/bin/do/map-find?

    Need a quality spam filter that doesn’t give tons of errors and actually filters your email and learns over time to block 95% of your Junk. Try http://www.spamfighter.com/

    This is a free tool that will insert a small signature if you use their free version but a paid version is only $29.00 and well worth the time you will save not having to fight with a box full of junk mail.

    —————————–

    Spam Filter for Outlook and Express, Windows Mail and Servers

    SPAMfighter Standard is a free tool for Outlook, Outlook Express and Windows Mail that automatically and efficiently filters spam and phishing fraud.

    When a new e-mail arrives, it is automatically tested by SPAMfighter. If it’s spam, it will be instantly moved to your SPAMfighter folder. If you receive a spam mail that is not detected, click on a single button, and the spam mail is removed from the rest of the 4.770.489 SPAMfighters in 223 countries/areas in seconds.

    ————————

    Pages

     

    December 2009
    M T W T F S S
    « Oct    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  

    RSS Example RSS Real Estate Feed

    • An error has occurred; the feed is probably down. Try again later.