Building SEO with free articles and other resources

PHP On-The-Fly!

Posted on June 30th, 2006. About General.

PHP On-The-Fly!

 by: Dennis Pallett

Introduction

PHP can be used for a lot of different things, and is one of the most powerful scripting languages available on the web. Not to mention it’s extremely cheap and widely used. However, one thing that PHP is lacking, and in fact most scripting languages are, is a way to update pages in real-time, without having to reload a page or submit a form.

The internet wasn’t made for this. The web browser closes the connection with the web server as soon as it has received all the data. This means that after this no more data can be exchanged. What if you want to do an update though? If you’re building a PHP application (e.g. a high-quality content management system), then it’d be ideal if it worked almost like a native Windows/Linux application.

But that requires real-time updates. Something that isn’t possible, or so you would think. A good example of an application that works in (almost) real-time is Google’s GMail (http://gmail.google.com). Everything is JavaScript powered, and it’s very powerful and dynamic. In fact, this is one of the biggest selling-points of GMail. What if you could have this in your own PHP websites as well? Guess what, I’m going to show you in this article.

How does it work?

If you want to execute a PHP script, you need to reload a page, submit a form, or something similar. Basically, a new connection to the server needs to be opened, and this means that the browser goes to a new page, losing the previous page. For a long while now, web developers have been using tricks to get around this, like using a 1×1 iframe, where a new PHP page is loaded, but this is far from ideal.

Now, there is a new way of executing a PHP script without having to reload the page. The basis behind this new way is a JavaScript component called the XML HTTP Request Object. See http://jibbering.com/2002/4/httprequest.html for more information about the component. It is supported in all major browsers (Internet Explorer 5.5+, Safari, Mozilla/Firefox and Opera 7.6+).

With this object and some custom JavaScript functions, you can create some rather impressive PHP applications. Let’s look at a first example, which dynamically updates the date/time.

Example 1

First, copy the code below and save it in a file called ’script.js’:


var xmlhttp=false;

/*@cc_on @*/

/*@if (@_jscript_version >= 5)

// JScript gives us Conditional compilation, we can cope with old IE versions.

// and security blocked creation of the objects.

 try {

  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

 } catch (e) {

  try {

   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");

  } catch (E) {

   xmlhttp = false;

  }

 }

@end @*/

if (!xmlhttp && typeof XMLHttpRequest!='undefined') {

  xmlhttp = new XMLHttpRequest();

}

function loadFragmentInToElement(fragment_url, element_id) {

    var element = document.getElementById(element_id);

    element.innerHTML = '<em>Loading ...</em>';

    xmlhttp.open("GET", fragment_url);

    xmlhttp.onreadystatechange = function() {

        if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {

            element.innerHTML = xmlhttp.responseText;

        }

    }

    xmlhttp.send(null);

}

Then copy the code below, and paste it in a file called ’server1.php’:


<?php

echo date("l dS of F Y h:i:s A");

?>

And finally, copy the code below, and paste it in a file called ‘client1.php’. Please note though that you need to edit the line that says ‘http://www.yourdomain.com/server1.php’ to the correct location of server1.php on your server.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">

<html>

<head>

<title>Example 1</title>

<script src="script.js" type="text/javascript"></script>

<script type="text/javascript">

	function updatedate() {

		loadFragmentInToElement('http://www.yourdomain.com/server1.php', 'currentdate');

	}

</script>

</head>

<body>

	The current date is	<span id="currentdate"><?php echo date("l dS of F Y h:i:s A"); ?></span>.<br /><br />

	<input type="button" value="Update date" OnClick="updatedate();" />

</body>



</html>

Now go to http://www.yourdomain.com/client1.php and click on the button that says ‘Update date’. The date will update, without the page having to be reloaded. This is done with the XML HTTP Request object. This example can also be viewed online at http://www.phpit.net/demo/php%20on%20the%20fly/client1.php.

Example 2

Let’s try a more advanced example. In the following example, the visitor can enter two numbers, and they are added up by PHP (and not by JavaScript). This shows the true power of PHP and the XML HTTP Request Object.

This example uses the same script.js as in the first example, so you don’t need to create this again. First, copy the code below and paste it in a file called ’server2.php’:


<?php

// Get numbers

$num1 = intval($_GET['num1']);

$num2 = intval($_GET['num2']);

// Return answer

echo ($num1 + $num2);

?>

And then, copy the code below, and paste it in a file called ‘client2.php’. Please note though that you need to edit the line that says ‘http://www.yourdomain.com/server2.php’ to the correct location of server2.php on your server.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">

<html>

<head>

<title>Example 2</title>

<script src="script.js" type="text/javascript"></script>

<script type="text/javascript">

	function calc() {

		num1 = document.getElementById ('num1').value;

		num2 = document.getElementById ('num2').value;

		var element = document.getElementById('answer');

		xmlhttp.open("GET", 'http://www.yourdomain.com/server2.php?num1=' + num1 + '&num2=' + num2);

		xmlhttp.onreadystatechange = function() {

			if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {

				element.value = xmlhttp.responseText;

			}

		}

	    xmlhttp.send(null);

	}

</script>

</head>

<body>

	Use the below form to add up two numbers. The answer is calculated by a PHP script, and <em>not</em> with JavaScript. What's the advantage to this? You can execute server-side scripts (PHP) without having to refresh the page.<br /><br />

	<input type="text" id="num1" size="3" /> + <input type="text" id="num2" size="3" /> = <input type="text" id="answer" size="5" />

	<input type="button" value="Calculate!" OnClick="calc();" />

</body>



</html>

When you run this example, you can add up two numbers, using PHP and no reloading at all! If you can’t get this example to work, then have a look on http://www.phpit.net/demo/php%20on%20the%20fly/client3.php to see the example online.

Any Disadvantages…?

There are only two real disadvantages to this system. First of all, anyone who has JavaScript turned off, or their browser doesn’t support the XML HTTP Request Object will not be able to run it. This means you will have to make sure that there is a non-JavaScript version, or make sure all your visitors have JavaScript enabled (e.g. an Intranet application, where you can require JS).

Another disadvantage is the fact that it breaks bookmarks. People won’t be able to bookmark your pages, if there is any dynamic content in there. But if you’re creating a PHP application (and not a PHP website), then bookmarks are probably not very useful anyway.

Conclusion

As I’ve shown you, using two very simple examples, it is entirely possible to execute PHP scripts, without having to refresh the page. I suggest you read more about the XML HTTP Request Object (http://jibbering.com/2002/4/httprequest.html) and its capabilities.

The things you can do are limitless. For example, you could create an extremely neat paging system, that doesn’t require reloading at all. Or you could create a GUI for your PHP application, which behaves exactly like Windows XP. Just think about it!

Be aware though that JavaScript must be enabled for this to work. Without JavaScript this will be completely useless. So make sure your visitors support JavaScript, or create a non-JavaScript version as well.

About The Author

Dennis Pallett is a young tech writer, with much experience in ASP, PHP and other web technologies. He enjoys writing, and has written several articles and tutorials. To find more of his work, look at his websites at http://www.phpit.net, http://www.aspit.net and http://www.ezfaqs.com

dennispallett@gmail.com

Source: http://www.365articles.com


   Comments (0)

Choosing the right web host

Posted on June 28th, 2006. About General.

Choosing the right web host

 by: Philip Wylie

Whatever type of website you want to host, choosing the correct host can be tricky. Most hosting companies offer you more than you will ever use, their sales staff recommend high-end packages for small websites.

Be careful when choosing, you will need room to expand but before you contact a company’s sales department; take a look at the size of your website. If it’s 10MB you wont need 1&1s Home package with 800MB for £4.99 a month!

Price and disk space aren’t the only factors to consider when choosing a host. Monthly transfer is how much information can be moved by both visitors and you; this may be from uploading and downloading files. Monthly transfer is also know as bandwidth and is slowly eaten up by every visit. I have seen many hosts offering more space then transfer! Don’t get caught out.

If you’re planning to install a forum or a content management system, they will both require a database. Linux and windows based hosts both handle MySQL databases, but Linux is usually praised as being the more efficient. Your host should allow you to add an extra database to your account with only a small fee, but you need to find out how many are included and how much upgrades cost before you decide on whom to hand your money too.

It is usually a good idea to use a company who you know is trustworthy, whether you know someone using them or have heard of their good services.

About The Author

Philip Wylie is the CEO of PWnet, a company offering web solutions to all types of business. For more information visit www.pwnet.org.uk.

sales@pwnethost.co.uk

Source: http://www.365articles.com


   Comments (0)

Screen Scraping Your Way Into RSS

Posted on June 28th, 2006. About General.

Screen Scraping Your Way Into RSS

 by: Dennis Pallett

Introduction

RSS is one the hottest technologies at the moment, and even big web publishers (such as the New York Times) are getting into RSS as well. However, there are still a lot of websites that do not have RSS feeds.

If you still want to be able to check those websites in your favourite aggregator, you need to create your own RSS feed for those websites. This can be done automatically with PHP, using a method called screen scrapping. Screen scrapping is usually frowned upon, as it’s mostly used to steal content from other websites.

I personally believe that in this case, to automatically generate a RSS feed, screen scrapping is not a bad thing. Now, on to the code!

Getting the content

For this article, we’ll use PHPit as an example, despite the fact that PHPit already has RSS feeds (http://www.phpit.net/syndication/).

We’ll want to generate a RSS feed from the content listed on the frontpage (http://www.phpit.net). The first step in screen scraping is getting the complete page. In PHP this can be done very easily, by using implode(file(”", “[the url here]“)); IF your web host allows it. If you can’t use file() you’ll have to use a different method of getting the page, e.g. using the CURL library (http://www.php.net/curl).

Now that we have the content available, we can parse it for the content using some regular expressions. The key to screen scraping is looking for patterns that match the content, e.g. are all the content items wrapped in <div>’s or something else? If you can successfully discover a pattern, then you can use preg_match_all() to get all the content items.

For PHPit, the pattern that match the content is <div class="contentitem">[Content Here]<div>. You can verify this yourself by going to the main page of PHPit, and viewing the source.

Now that we have a match we can get all the content items. The next step is to retrieve the individual information, i.e. url, title, author, text. This can be done by using some more regular expression and str_replace() on the each content items.

By now we have the following code;


<?php

// Get page

$url = "http://www.phpit.net/";

$data = implode("", file($url));

// Get content items

preg_match_all ("/<div class="contentitem">([^`]*?)</div>/", $data, $matches);

Like I said, the next step is to retrieve the individual information, but first let’s make a beginning on our feed, by setting the appropriate header (text/xml) and printing the channel information, etc.


// Begin feed

header ("Content-Type: text/xml; charset=ISO-8859-1");

echo "<?xml version="1.0" encoding="ISO-8859-1" ?>
";

?>

<rss version="2.0"

  xmlns:dc="http://purl.org/dc/elements/1.1/"

  xmlns:content="http://purl.org/rss/1.0/modules/content/"

  xmlns:admin="http://webns.net/mvcb/"

  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

	<channel>

		<title>PHPit Latest Content</title>

		<description>The latest content from PHPit (http://www.phpit.net), screen scraped!</description>

		<link>http://www.phpit.net</link>

		<language>en-us</language>



<?

Now it’s time to loop through the items, and print their RSS XML. We first loop through each item, and get all the information we get, by using more regular expressions and preg_match(). After that the RSS for the item is printed.


<?php

// Loop through each content item

foreach ($matches[0] as $match) {

	// First, get title

	preg_match ("/">([^`]*?)</a></h3>/", $match, $temp);

	$title = $temp['1'];

	$title = strip_tags($title);

	$title = trim($title);

	// Second, get url

	preg_match ("/<a href="([^`]*?)">/", $match, $temp);

	$url = $temp['1'];

	$url = trim($url);

	// Third, get text

	preg_match ("/<p>([^`]*?)<span class="byline">/", $match, $temp);

	$text = $temp['1'];

	$text = trim($text);

	// Fourth, and finally, get author

	preg_match ("/<span class="byline">By ([^`]*?)</span>/", $match, $temp);

	$author = $temp['1'];

	$author = trim($author);

	// Echo RSS XML

	echo "<item>
";

		echo "			<title>" . strip_tags($title) . "</title>
";

		echo "			<link>http://www.phpit.net" . strip_tags($url) . "</link>
";

		echo "			<description>" . strip_tags($text) . "</description>
";

		echo "			<content:encoded><![CDATA[
";

		echo $text . "
";

		echo " ]]></content:encoded>
";

		echo "			<dc:creator>" . strip_tags($author) . "</dc:creator>
";

	echo "		</item>
";

}

?>

And finally, the RSS file is closed off.


</channel>

</rss>

That’s all. If you put all the code together, like in the demo script, then you’ll have a perfect RSS feed.

Conclusion

In this tutorial I have shown you how to create a RSS feed from a website that does not have a RSS feed themselves yet. Though the regular expression is different for each website, the principle is exactly the same.

One thing I should mention is that you shouldn’t immediately screen scrape a website’s content. E-mail them first about a RSS feed. Who knows, they might set one up themselves, and that would be even better.

Download sample script at http://www.phpit.net/viewsource.php?url=/demo/screenscrape%20rss/example.php

About The Author

Dennis Pallett is a young tech writer, with much experience in ASP, PHP and other web technologies. He enjoys writing, and has written several articles and tutorials. To find more of his work, look at his websites at http://www.phpit.net, http://www.aspit.net and http://www.ezfaqs.com

Source: http://www.365articles.com


   Comments (0)

The Benefits Of Outsourcing

Posted on June 24th, 2006. About General.

The Benefits Of Outsourcing

 by: Raymond Walsh

The year 2005 is expected to be the year of “outsourcing”.

In case this word is new to you, then prepare yourself to the fact that this will be the buzz word of 2005.

Outsourcing is the act of exporting jobs to 3rd world countries, for the benefit of saving on production and administration costs.

The most popular form of outsourcing to this day is IT outsourcing, and the most popular countries where you can outsource IT jobs to are Romania and India.

For example: your firm is spending a lot of money hiring programmers to do some programming tasks and software writing that do not need special skills. You decide to cut costs by exporting these jobs to India, and let the same tasks be done by professional Indians instead of Americans, because their labor rate is a lot lower. This would easily save you money, sometimes up to 80%, that you can spend on other primary jobs (e.g: marketing).

Outsourcing does not only help you save money, but also gives you that push needed to walk and extra step towards winning the competitive market.

Brian Taylor, CEO of Comfosoft Inc. says that outsourcing to India helped his company “save more than $23,000 per month on software programming and debugging. There are a lot of talented Indians who can do the same job without getting paid a 5 figure number.”

Today, and in the world of “online business”, and to make things even easier for you, SupportUniverse.com (http://www.supportuniverse.com) has launched a new marketplace where programmers meet recruiters. All you need to do is post your project and let skilled workers around the world compete to bid on delivering the best work for the lowest cost and the shortest period of time. You can then select the best offer.

Although some people oppose the idea of outsourcing, the fact is that it is spreading like fever and it is becoming more and more “mandatory” for those who want to succeed in the internet world.

About The Author

Raymond Walsh, CEO of “Business 4 Pleasure”, and monthly printed newsletter targetting small and medium sized businesses.

Source: http://www.365articles.com


   Comments (0)

The Secret Benefit Of Accessibility Part 2: A Higher Search Engine Ranking

Posted on June 18th, 2006. About General.

The Secret Benefit Of Accessibility Part 2: A Higher Search Engine Ranking

 by: Trenton Moss

An additional benefit of website accessibility is an improved performance in search engines. The more accessible it is to search engines, the more accurately they can predict what the site’s about, and the higher your site will appear in the rankings.

Not all of the accessibility guidelines will help with your search engine rankings, but there are certainly numerous areas of overlap:

1. ALT descriptions assigned to images

Screen readers, used by many visually impaired web users to surf the web, can’t understand images. As such, to ensure accessibility an alternative description needs to be assigned to every image and the screen reader will read out this alternative, or ALT, description.

Like screen readers, search engines can’t understand images either and won’t take any meaning from them. Many search engines can now index ALT text though, so by assigning ALT text search engines will be able to understand all your images.

2. Text displayed through HTML, not images

Text embedded in images appears pixelated, blurry and often impossible to read for users utilising screen magnifiers. From an accessibility point of view this should therefore be avoided.

Search engines equally can’t read text embedded in images. Well, you can just give the image some ALT text, right? Unfortunately, there’s strong evidence to suggest search engines assign less importance to ALT text than they do to regular text. Why? Spammers. So many webmasters have been stuffing their ALT tags full of keywords and not using them to describe the image. Search engines have cottoned on to this form of spamming (as they eventually do every form of spamming) and have taken appropriate action.

3. Descriptive link text

Visually impaired web users can scan web pages by tabbing from link to link and listening to the content of the link text. As such, the link text in an accessible website must always be descriptive of its destination.

Search engines place a lot of importance on link text too. They assume that link text will be descriptive of its destination and as such examine link text for all links pointing to any page. If all the links pointing to a page about widgets say ‘click here’, search engines can’t gain any information about that page without visiting it. If on the other hand, all the links say, ‘widgets’ then search engines can easily guess what that page is about.

One of the best examples of this in action is for the search term, ‘miserable failure’. So many people have linked to George Bush’s bio using this phrase as the link text, that now when miserable failure is searched for in Google, George Bush’s bio appears top of the search rankings!

4. Website functions with JavaScript disabled

JavaScript is unsupported by about 9% of web users (source: http://www.thecounter.com/stats/2004/November/javas.php), either because they’ve turned it off (for example to prevent pop-up adverts) or because their browser doesn’t support it. Many forms of JavaScript aren’t accessible to web users utilising screen readers.

Search engines can’t understand JavaScript either and will be unable to index any JavaScript-driven content. Perhaps more importantly, they’ll also be unable to follow JavaScript-driven links. You may really like the look of your dropdown menu but search engines won’t if they can’t access certain pages on your site because there aren’t any regular links pointing at them.

5. Alternatives to Flash-based content provided

Flash, like JavaScript, isn’t accessible to many users, including those using screen readers. Equally, search engines can’t access Flash so be sure to provide equivalents.

6. Transcripts available for audio

Hearing impaired users obviously require written equivalents for audio content to be able to access it. Search engines too can’t access this medium, but transcripts provide them with a large amount of text for them to index.

7. Site map provided

Site maps can be a useful tool for visually impaired users as they provide a straightforward list of links to the main pages on the site, without any of the fluff in between.

Site maps are also great for search engines as search engines can instantly index your entire site when they arrive at the site map it. Next to each link you can also provide a short keyword-rich preview of the page. All links should, of course, be made through regular HTML and not through JavaScript (see 4. above).

8. Meaningful page title

When we arrive at web pages the first thing that appears, and the first thing that visually impaired users hear, is the page title. This latter group of web users don’t have the privilege of being able to quickly scan the page to see if it contains the information they’re after, so it’s essential that the page title effectively describes the page content.

If you know anything about search engine optimisation you’ll know that the page title is the most important attribute on the page. If it adequately describes the content of that page then search engines will be able to more accurately guess what that page is about.

9. Headings and sub-headings used

Visually impaired web users can scan web pages by tabbing from heading to heading, in addition to tabbing from link to link (see 3. above). As such, it’s important for accessibility to make sure that headings are correctly marked up by using h1, h2 etc.

Search engines assume that the text contained in heading tags is more important than the rest of the document text, as headings describe the content immediately below them. Make sure you use the heading tags properly and don’t abuse them, as the more text you have contained in heading tags, for example, the less importance search engines assign to them.

10. CSS used for layout

Screen readers can more effectively work through the HTML code of CSS-based sites as there’s a greater ratio of content to code. Websites using CSS for layout can also be made accessible to in-car browsers, WebTV and PDAs. Don’t underestimate the importance of this - in 2008 alone there’ll be an estimated 58 million PDAs sold worldwide (source: http://www.etforecasts.com/pr/pr0603.htm).

Search engines also prefer CSS-based sites and are likely to score them higher in the search rankings because:

  • The code is cleaner and therefore more accessible to search engines
  • Important content can be placed at the top of the HTML document
  • There is a greater density of content compared to coding

Conclusion

With all this overlap between web accessibility and search engine optimisation there’s no excuses for not implementing basic accessibility on to your website. It’ll give you a higher search engine ranking and therefore more site visitors.

About The Author

This article was written by Trenton Moss. He’s crazy about web usability and accessibility - so crazy that he went and started his own web usability and accessibility consultancy ( Webcredible - http://www.webcredible.co.uk ) to help make the Internet a better place for everyone.

Source: http://www.365articles.com


   Comments (0)

How Web Design Can Affect Search Engine Rankings

Posted on June 16th, 2006. About General.

How Web Design Can Affect Search Engine Rankings

 by: John Metzler

Uniquely built web sites can create unique issues when promoting your site on the search engines. From a basic 3 page brochure site, to a corporate site with hundreds of dynamically generated pages, every web site needs to have certain design aspects in order to achieve the full effects of an SEO campaign. Below are a few points to take into consideration when building or updating your web site.

1. Size Matters.

The size of a web site can have a huge impact on search engine rankings. Search engines love content, so if you have only a few pages to your site and your competitors have dozens, it’s virtually impossible to see a top page ranking for your site. In some cases it may be difficult to present several pages of information about your business or products, so you may need to think about adding free resources for visitors. It will help in broadening the scope of your web site (which search engines like) as well as keep visitors on your site longer, thus possibly resulting in more sales.

2. Graphics-Based Web Sites.

While web sites that offer the visitor a more esthetically-pleasing experience may seem like the best choice for someone searching for your product, they are the most difficult to optimize. Since search engine robots cannot read text within graphics or animation, what they see may be just a small amount of text. And if we learned anything from point #1, that will not result in top rankings. If you really must offer the visitor a site jam-packed with graphics, or even a Flash experience, consider creating an html-based side of your site that is also available to visitors. This site will be much easier to promote on the search engines and your new found visitors will also have to option to jump over to the nicer looking part of your site.

3. Dynamic Web Pages.

If most of your web site is generated by a large database (such as a large book dealer with stock that is changing by the minute) you may find that some of your pages do not get indexed by major search engines. If you look at the URL of these pages you may find that they are extremely long and have characters such as ?, #, &, %, or = along with huge amounts of seemingly random numbers or letters. Since these pages are automatically generated by the database as needed, the search engines have a tough time keeping them up to date and relevant for search engine users.

One way to combat this problem is to offer a search engine friendly site map listing all your static pages just to let them know that yes, you do have permanent content on your site. A good internal linking system also helps in this case because if search engines see links going to and from these dynamic pages, they may index and assign them decent PageRank values. The link popularity of your site may carry more weight in this case as well, so if you can’t offer as much static content as your competition, make sure you have an aggressive link campaign on the go.

4. Proper Use of HTML.

There is quite a bit of sub-par web design software out there. Word processors usually have a way to create HTML documents which can be easily uploaded to a site via ftp. However, in many cases the code that the search engine robots see is mostly lines and lines of font and size formatting, not actual relevant content. The more efficiently written web sites usually achieve higher rankings. Our choice for web design software is Macromedia Dreamweaver, as it is an industry standard. It also makes using CSS (Cascading Style Sheets) a breeze, which can drastically cut down on the amount of text formatting in HTML code.

And there are some no brainers too. Web sites with abnormal amounts of hyperlinks, bold or italicized text, improper use of heading, ALT, or comment tags can also expect to be thrown to the bottom of the rankings.

5. Choosing a Domain Name.

The golden rule to web development of any kind is to keep your visitors in mind above all else…even search engine optimization. When choosing a domain name, one should pick either your business name (if you are making yourself known by just your name, ie. Chapters or Kleenex brand tissues) or a brief description of your products. Domain names can always help with search engine optimization, as it is another area of your web site that important keywords can appear. Exclude long-winded domains such as www.number-one-best-books-on-earth.com as no one will ever remember it and it will be hard to print on business cards or in print ads.

If you need to change your domain name for any reason, you obviously don’t want to lose your existing rankings. An easy way to do this, and one that is currently supported by most search engines, is the 301 redirect. It allows you to keep your existing rankings for your old domain name, while forwarding visitors of that site to your new one virtually seamlessly.

6. Using Frames.

Just don’t, it’s that simple. Frames are a thing of the 90’s (and in the Internet world that is eons ago) and are not even supported by some search engines. The ones that are able to index your site through frames will most likely frown upon them. Whatever you are trying to accomplish by using frames can usually be done with the help of PHP includes or CSS (Cascading Style Sheets). Some browsers are not frames-compatible, so there’s the danger of some visitors not being able to see your site at all. Bookmarking of individual pages within a frame becomes difficult without lengthly scripts being written.

7. Update Your Information.

Not only does information printed two or three years ago look badly on your organization when it is read by a visitor, it is also looked down upon by search engines. Web sites that continuously update and grow their web sites usually experience higher rankings than stagnant sites. When the trick to SEO is offering visitors the most relevant information, you can bet that the age of web pages is taken into consideration by search engines. Consider creating a section of your site devoted to news within your organization, or have a constantly updated resources area.

Many shortfalls of web sites can easily be attributed to designers who just don’t keep the user or search engines in mind. Search engine algorithms are quickly improving to try and list the most user-friendly sites higher, given that the content and link popularity are there to back it up. So first and foremost, know your target market and make your web site work for them before focusing on search engine optimization. If you build it (properly), they will come.

About The Author

Copyright John Metzler of Abalone Designs, November 2004. This article may be freely distributed if credit is given to the author.

Abalone Designs is a family-run Search Engine Optimization firm in Vancouver, BC, Canada. Visit www.abalone.ca for a free personalized analysis of your web site.

john@abalone.ca

Source: http://www.365articles.com


   Comments (0)

Give Your Website A Chance

Posted on June 14th, 2006. About General.

Give Your Website A Chance

 by: Elizabeth McGee

I often wonder how serious people are when it comes to their websites. I thought that most everyone knew that the phrase “Build it and they will come” no longer applies on the internet but I’m not sure how many people really believe it.

I look at sites everyday as part of my sales strategy and I can’t tell you how many of them violate the obvious elements of good website design and submission.

What even amazes me more is that they can’t figure out why they don’t get sales or visitors.

Do yourself a favor and attempt to apply the following tactics to your site. They won’t cost you a thing except a little time and effort to apply them.

** About Page **

Always include an about page on your site. Don’t be afraid to tell your story and let people know who you are and how you arrived where you are.

Opening yourself up and letting people know who you are adds an element of trust. It exposes your personality, capabilities and knowledge. All factors that let your readers know you are genuine.

** Include all your contact information **

Let your visitors know that you are available. Encourage questions, email and phone calls. Include your name, address and phone number. If you can, it’s also helpful to place a photo on your site. Familiarity is key and it can add one more link in the ladder of trust.

** Headlines **

Create compelling headlines. Peak the interest of your readers. This is your chance to grab their attention and incite them to read on.

Don’t be flashy or obnoxious. Simply tell it like it is. Capture their attention with descriptive, informative words. Get your readers involved in your information. Ask questions. Make them think.

You might be surprised to learn that just one compelling headline can bring instant sales almost overnight.

**Create your meta tags **

This is the first place I look when people tell me they aren’t getting visitors. I often see sites that have no title or description tag or the tags don’t follow the suggested guidelines for proper setup.

Here’s an example of how the tags might look for a site that sells hummingbird feeders:

Hummingbird Feeders: Shop For Hummingbird Feeders Online

You will need to do this for each page of your site. Each page needs to have it’s own set of tags. I also recommend focusing on one keyword per page, two at the very most. Too many keywords can confuse what your page is about.

Always make sure that your keywords are scattered throughout your text as well, however don’t sacrifice good content for nonsense. Your text should be easy to read and should not sound redundant. Make your pages at least 250 words.

** Testimonials**

Solicit feedback from buyers you’ve had. Ask them to write a small testimonial that you can place on your site. This goes a long way to help convince your visitor that your products and services are sound.

** Linking **

Reciprocal linking is a common and effective tactic for obtaining search engine status and page rank but it’s also the most time consuming. It requires making contacts, following up with contacts and updating your website.

While reciprocal linking is an excellent way of establishing page rank it’s not the only way. Page rank can also be established by submitting your site to directories, writing articles and setting up blogs.

Don’t underestimate the power of website links. Take the extra few hours a day and get your site noticed.

** Offer Guarantees *

Always offer your products with a guarantee. This is often the extra boost a buyer needs to make the purchase.

A good site will offer 100%, no-questions-asked, money-back guarantees. People rarely take advantage of such guarantees but it’s this statement that may tip the scales in your favor.

** Submit Your Site **

Last, but not least, don’t neglect to submit your site to the search engines. Many of them are no longer free but the fees are nominal and worth the expense. Google still offers a free submit and it’s easy, simply type in your URL address, however make sure your meta tags include a title and description tag first.

For the free search engines I don’t recommend using automated submissions. Submit them yourself taking care to compose accurate titles descriptions and keywords.

About The Author

Elizabeth McGee has spent 20 years in the service and support industry. She has moved her expertise to the world wide web helping businesses find trusted tools, enhance customer service, build confidence and increase sales. You can visit Elizabeth’s sites at:

http://www.pro-marketing-online.com

http://www.homenotion.com

Source: http://www.365articles.com


   Comments (0)

Score BIG With The Search Engines - Maximising Your Site's Potential

Posted on June 12th, 2006. About General.

Score BIG With The Search Engines - Maximising Your Site’s Potential

 by: Steve Ashton

I often get asked, “How do I improve my site’s performance in the search engine’s.” or “I have a small budget, how can I compete with the larger sites.” It can seem daunting when you type in your key search term and you see Google returning 200,000 results! Over the course of this article I am going to teach you some techniques that you can use to improve your sites ranking in the major search engines. These are not in any particular order but you should try and cover all of these if you want to perform well.

Good content with your keywords

Most people use the internet to gather information, so accordingly, the search engines put a premium on good content. If you want the search engines to really start appreciating your site, you need to have lots of good, and more importantly, fresh content. Update your site regularly with new articles, news stories etc. Then make sure you promote this new content. Submit these articles to other websites with a teaser that then links back to your website. If you can get “authority” sites to link to your articles this will raise your sites profile in the eyes of the search engine.

Clean up your code

This is one step that is often over looked but it is more important that many people realize. The neater your html code is, the easier it is for the spiders to crawl through your site and therefore, the more willing they are to search for your links and crawl through those pages as well. The more pages you have indexed, the more chances you have of attracting someone to your site.

How do I go about cleaning up my code I hear you ask? There are some simple things you can do to quickly improve the readability of your code.

Put all JavaScript code in a separate .js file and include it in the header of your page.

<script language=”JavaScript” src=”/scripts/javascript_code.js”></script>

Use .css style sheets for all formatting and as much of the page layout as possible. This step alone will half the amount of code in your pages. Most of the code in an html document is table alignment code. If you are not yet familiar then you can find some good tutorials here.

Optimize for your keywords

Site down with a sheet of paper and write down a list of 20 keyword phrases that define what your site is about. These will be the phrases that you will want your visitors to be searching for to get to your site. Once you have your list then try and integrate as many of these phrases into your website copy as possible. Make sure however that the readability of a site’s content is not compromised as this will often be seen as spam. Try and use these keywords in your title’s and in the first couple of paragraphs as this is the part of the page the search engine will pay the most attention to.

Unique titles for all your pages

Search engines pay a lot of attention to the content in a page’s title and this should describe exactly what the page is about. As mentioned above, try and include your keywords in the page title and then give the page a heading title that matches or is very similar to the page title and include it in a <H1></H1>. If you don’t like the appearance of the text within a H1 you can format the text style within your css document.

External Links

All the major search engines place a high premium on this and therefore so should you! Actively seek good links from websites in the same interest area as your site. The more important the site the better as search engines will place a higher value for a link from an “authority” site than from for a link from a less popular site. Make sure that in your link text you include your keywords rather than just the name of your site. For example, if your site is about sauce pans, put “Buy Sauce Pans” instead of “www.saucepanheaven.com“.

Create search engine friendly url’s

This can have a huge effect on the number of pages of your site that will be indexed. A lot of search engines steer away from indexing pages that have a lot of parameters. We’ve all seen them. www.somesite.com/article.php?id=32&category=2 and such things. Some search engines will stop when they see a ? and therefore it won’t be able to see all the content in the site.

One way around this problem is through a method called mod_rewrite. I am not going to cover mod_rewrite in this article as it is too large a topic to cover within the scope of this article but a lot of articles can be found that teach you how do this. To summarise, it is a server side tool that converts the above url to something like www.somesite.com/article/32/2. This page can now be indexed along with every other article in the site. I would highly recommend looking into this as in my experience it has given me the best return.

Conclusion

If you follow these steps you’ll quickly start to see your website popularity grow. Sometimes you have to go through trial and error, especially when choosing keywords but the effort you put in will be returned as the search engines start to pick up on your improvements and start directing more traffic to you. We’ll be covering a lot of these topics in much greater detail in the coming articles so be sure to check back for more valuable advice.

About The Author

Steve Ashton is programmer and web developer. He runs 2 popular websites http://www.webdevshed.com and http://www.programmertutorials.com.

Source: http://www.365articles.com


   Comments (0)
RSS Feed from SEO Business Profit RSS | Link Resources - Thai Amulets & Wealth Builder | Web Hosting Services
Site Build It | Search Engines | E-Commerce is powered by WordPress and delivered to you in 0.687 seconds.