<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development Blog &#187; google</title>
	<atom:link href="http://www.web-development-blog.com/archives/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com</link>
	<description>Web development tutorials, SEO articles and PHP script resources</description>
	<lastBuildDate>Sun, 25 Jul 2010 14:38:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>404 Errors: Report, monetize and analyse</title>
		<link>http://www.web-development-blog.com/archives/404-errors-report-monetize-and-analyse/</link>
		<comments>http://www.web-development-blog.com/archives/404-errors-report-monetize-and-analyse/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 04:57:00 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[PHP scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[404 error]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[site search]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=1136</guid>
		<description><![CDATA[After your websites getting more pages and links, the chance that a visitor will follow a dead link to your site exists. If a visitor is trying to access a page on your site, the server will report (normally) a 404 error. The response is by default some unfriendly page with some spare information about [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>After your websites getting more pages and links, the chance that a visitor will follow a dead link to your site exists. If a visitor is trying to access a page on your site, the server will report (normally) a 404 error. The response is by default some unfriendly page with some spare information about the error which let most visitors stop visiting your site. But using the 404 error the right way, you the site owner can collect important information like:</p>
<ul>
<li>Of course the broken link or URL</li>
<li>The HTTP_REFERER information where the dead link is available</li>
<li>How often people try to access the bad URL</li>
</ul>
<p>Using the right tools you&#8217;re able to turn 404 errors into a powerful resource:</p>
<ul>
<li>Provide a site search feature and let people search what they are looking</li>
<li>Add advertisements to your error page and start earning money</li>
<li>Learn about what people like to see on your site</li>
</ul>
<p>In this tutorial we will show you how-to:</p>
<ul>
<li>Create a dynamic error page using the Google Site search and Adsense content ads</li>
<li>Setup Google analytics to track 404 errors using a filter</li>
<li>Set the site search feature with Google Analytics to collect the search queries from your visitor</li>
</ul>
<p><span id="more-1136"></span></p>
<h3>Error reporting page</h3>
<p>With the Apache webserver it&#8217;s possible to use custom directives for your error script, place this code into your .htaccess file (place the file into the site root):<br />
<code><br />
ErrorDocument 400 /error.php?err=400<br />
ErrorDocument 401 /error.php?err=401<br />
ErrorDocument 403 /error.php?err=403<br />
ErrorDocument 404 /error.php?err=404<br />
ErrorDocument 500 /error.php?err=500<br />
</code><br />
We use for the custom error script the most common HTTP errors.<br />
Next we need to create a PHP script called error.php which can handle the different errors:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$errorNum</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'err'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$err_str</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">404</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Not Found'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">400</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Bad Request'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">401</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Unauthorized'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">403</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Forbidden'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">500</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Internal Server Error'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$err_str</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$errorNum</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;An error occured: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$err_str</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$errorNum</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/h1&gt;
&nbsp;
&lt;!-- place here your advertisement --&gt;
&nbsp;
&lt;!-- place here your Google analytics code --&gt;
&lt;/body&gt;
&lt;/html&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This script will show the different errors and also some advertisement if you add the ad code. Don&#8217;t forget to add the GA code snippet.</p>
<h3>Track dead links in Google Analytics</h3>
<p>In case of a 404 error the page title on this custom error page will be &#8220;Not Found&#8221;. We use the page title as a filter in Google Analytics to track the page views. Create a new profile for the site you&#8217;re working on and add this filter:</p>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2010/06/Edit-Filter-Google-Analytics1.png" rel="shadowbox[post-1136];player=img;"><img src="http://www.web-development-blog.com/wp-content/uploads/2010/06/Edit-Filter-Google-Analytics1-300x178.png" alt="" title="Edit-Filter-Google-Analytics" width="300" height="178" class="alignnone size-medium wp-image-1144" /></a></p>
<h3>Adding Google Site Search to your 404 error page</h3>
<p>If you haven&#8217;t done yet, create a <a href="http://www.google.com/cse/manage/create">Google site search</a> for your website. Add only your own website to the list of searched sites and don&#8217;t search the entire web. Add your Google Adsense ID (section &#8220;Make Money&#8221;) and head to the section &#8220;Look and feel&#8221; and select the option Iframe. Choose a style for the search form / result and maybe you like to customize the style. Push now the button &#8220;Get code&#8221; (or enter the section &#8220;Get code&#8221; from the sidebar) and enter there the URL from your error page.<br />
Copy / paste the code for the search form and the results into the body section from your error page. Your completed page will look like:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$errorNum</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'err'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$err_str</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">404</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Not Found'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">400</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Bad Request'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">401</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Unauthorized'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">403</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Forbidden'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">500</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Internal Server Error'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$err_str</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$errorNum</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;An error occured: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$err_str</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$errorNum</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/h1&gt;
&nbsp;
&lt;form action=&quot;http://www.yourdomain.com/error.php&quot; id=&quot;cse-search-box&quot;&gt;
  &lt;div&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;cx&quot; value=&quot;thisCodeIsProvidedByGoogleCSE&quot; /&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;cof&quot; value=&quot;FORID:10&quot; /&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;ie&quot; value=&quot;UTF-8&quot; /&gt;
    &lt;input type=&quot;text&quot; name=&quot;q&quot; size=&quot;31&quot; /&gt;
    &lt;input type=&quot;submit&quot; name=&quot;sa&quot; value=&quot;Zoeken&quot; /&gt;
  &lt;/div&gt;
&lt;/form&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en&quot;&gt;&lt;/script&gt;
&nbsp;
&lt;div id=&quot;cse-search-results&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  var googleSearchIframeName = &quot;cse-search-results&quot;;
  var googleSearchFormName = &quot;cse-search-box&quot;;
  var googleSearchFrameWidth = 600;
  var googleSearchDomain = &quot;www.google.com&quot;;
  var googleSearchPath = &quot;/cse&quot;;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/afsonline/show_afs_search.js&quot;&gt;&lt;/script&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'q'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// show the ad only if there is no search</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'
&lt;!-- place here your advertisement --&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'
&lt;!-- place here your Google analytics code --&gt;
&lt;/body&gt;
&lt;/html&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>We placed the add code also into some <strong>IF</strong> clause, because there should not be another Google Adsense advertisement beside the Google ads from the result page.</p>
<h3>Enable site search tracking in Google Analytics</h3>
<p>The code for the error page is complete and we move to the last step: Tracking the site search queries from the error page. To do this we need to go in Google Analytics to the profile we created for the error page and click <strong>Edit</strong> (twice), check the setting <strong>Do Track Site Search</strong>, enter a &#8220;q&#8221; as the &#8220;Query Parameter&#8221; and click <strong>Safe Changes</strong>.</p>
<p>This error page is very basic and you need add your sites <a href="http://www.all4yourwebsite.com/website_templates.php">web template</a> to make it complete. If you like this tutorial and you have used the code on your own site please share the URL to your new or updated error page. Even if you don&#8217;t like to use the code from this page, we advice to track the errors and also the site search queries from your visitors. If you have questions or comments please post them below.<br />
<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/top-your-sales-with-google-commerce-search/" rel="bookmark" title="November 29, 2009">Top your sales with Google Commerce Search</a></li>
<li><a href="http://www.web-development-blog.com/archives/new-search-options-but-unrelated-results-in-google-blog-search/" rel="bookmark" title="October 1, 2009">New Search Options but unrelated results in Google Blog Search</a></li>
<li><a href="http://www.web-development-blog.com/archives/create-custom-backups-from-your-website-using-curl/" rel="bookmark" title="July 30, 2008">Create custom backups from your website using cURL</a></li>
</ul>
<p><!-- Similar Posts took 3.616 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/404-errors-report-monetize-and-analyse/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Create surveys with Google Forms</title>
		<link>http://www.web-development-blog.com/archives/create-surveys-with-google-forms/</link>
		<comments>http://www.web-development-blog.com/archives/create-surveys-with-google-forms/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 08:52:41 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[documents]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[spreadsheet]]></category>
		<category><![CDATA[surveys]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=1014</guid>
		<description><![CDATA[These days I needed an online tool to create a customer survey. Google Docs has a form feature which I tried this time and I was very surprised how easy and powerful this function is. Using Google forms, you don&#8217;t need any knowledge about how a web based form works. In this article we will [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>These days I needed an online tool to create a customer survey. Google Docs has a form feature which I tried this time and I was very surprised how easy and powerful this function is. Using Google forms, you don&#8217;t need any knowledge about how a web based form works. In this article we will show-case the following functionality:</p>
<ul>
<li>Create a form with the WYSIWYG form editor</li>
<li>How your customers getting access to the survey</li>
<li>Analyze and and work on the results</li>
<li><strong>Optional:</strong> How-to insert your survey form in your website using a lightbox</li>
</ul>
<h3>About Google Forms and Google Docs</h3>
<p>Google Forms is part of Google Docs or better some kind of extension for Google Spreadsheets a web based spreadsheet program. To create a form using Google Docs, you need to have a Google account or a <a href="http://www.google.com/apps/intl/en/business/index.html" rel="nofollow">Google Apps</a> account. Both account types are free available. Google offers also premium services for Google applications.<br />
<span id="more-1014"></span></p>
<h3>Creating web based forms without being a webmaster</h3>
<p>If you start using Google Docs the first time, you get the idea that you&#8217;re using a similar application from the Microsoft Office suite. The menu and a lot of functions are very similar. Creating a form is very easy, you don&#8217;t need to write any code, just click some buttons and enter your text information:</p>

<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/summary.png' rel='shadowbox[album-1014];player=img;' title='Summary'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/summary-150x150.png" class="attachment-thumbnail" alt="Summary" title="Summary" /></a>
<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/resulttable.png' rel='shadowbox[album-1014];player=img;' title='Results'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/resulttable-150x150.png" class="attachment-thumbnail" alt="Results" title="Results" /></a>
<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/conformation.png' rel='shadowbox[album-1014];player=img;' title='Confirmation Screen'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/conformation-150x150.png" class="attachment-thumbnail" alt="Confirmation Screen" title="Confirmation Screen" /></a>
<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/editform.png' rel='shadowbox[album-1014];player=img;' title='Edit form'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/editform-150x150.png" class="attachment-thumbnail" alt="Edit form" title="Edit form" /></a>
<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/datatypes.png' rel='shadowbox[album-1014];player=img;' title='Form elements'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/datatypes-150x150.png" class="attachment-thumbnail" alt="Form elements" title="Form elements" /></a>
<a href='http://www.web-development-blog.com/wp-content/uploads/2010/04/themes.png' rel='shadowbox[album-1014];player=img;' title='Themes for Google Forms'><img width="150" height="150" src="http://www.web-development-blog.com/wp-content/uploads/2010/04/themes-150x150.png" class="attachment-thumbnail" alt="Themes for Google Forms" title="Themes for Google Forms" /></a>

<p>Using Google Docs, you can build forms with all form elements you need: text fields, text areas, check boxes, radio buttons, select lists. Create forms with multiple pages and describe each page and/or form element with the information you like. There are also basic validations for required fields.<br />
Every element has clear and easy to use dialogs. Based on the language you&#8217;re using in Google Docs, you can create forms in most common languages. If your form is ready, you can choose from many fancy themes or if you don&#8217;t like them use plain theme type.</p>
<h3>How-to send the survey to your customers?</h3>
<p>Each Google Form is connected to the contact list from your Gmail account, you can use this list or just post the link to your survey using your <a href="http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/">mailing list hosted by Mailchimp</a> or any other provider you like. If you use the Google contact list you should create a contact group to save time.  Google Apps users are able to collect the user name and/or restrict the form only for users having an Google account from the same domain. If you use a regular Google account, these functions are not available. Don&#8217;t forget to post the survey to your company&#8217;s facebook fan page or your twitter feed if you have one or both of them.</p>
<h3>Easy data access and statistics</h3>
<p>Every form submission is stored in a spreadsheet at the moment the user has clicked the submit button. All submitted form values are accessible and stored together with the timestamp from the moment that the form was submitted. Beside the spreadsheet there is a data summary using graphics which will give you some quick information about how often the data was submitted. </p>
<h3>Optional: Stylish integrations for your website or blog</h3>
<p>Since Google Forms are hosted off-site, you need  some way to embed the code in your website. Google is offering some code snippet which you can use as an Iframe but you can&#8217;t customize the style to match your own site&#8217;s design. Because you can&#8217;t change the style or code, we need an easy way &#8220;make it a part&#8221; from your website:</p>
<ol>
<li>Create your form and use the plain theme</li>
<li>Add the following code to your websites header to include jQuery and the thickbox plugin:

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox.css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<p>You need to download upload the files if they don&#8217;t exist on your site.
</li>
<li>Create a link to the form URL (copy paste from the footer section on the page where you can edit the form)

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://spreadsheets.google.com/viewform?hl=en&amp;formkey=dDZjNGROdVllS2JYMGdSZnVSSWF4YkE6MA&amp;TB_iframe=true&amp;height=400&amp;width=500&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox&quot;</span>&gt;</span>Survey Form<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

<p>Don&#8217;t mix the query parameters, any parameter after &#8220;TB_iframe&#8221; is not recognized on the target page. Change also the values for the width and height to match your forms dimensions. The pseudo class name &#8220;thickbox&#8221; is used to enable the tickbox feature.
</li>
<li>After submission Google will show a confirmation screen, don&#8217;t forget to edit this message (from the edit screen: More actions -> Edit confirmation</li>
</ol>
<p>We created some <a href="http://spreadsheets.google.com/viewform?formkey=dDZjNGROdVllS2JYMGdSZnVSSWF4YkE6MA" rel="shadowbox;height=480;width=640" title="Google Forms example">example forms</a> using multiple pages and most of the form elements. </p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/" rel="bookmark" title="October 26, 2009">Integrate your MailChimp Newsletter Subscription</a></li>
<li><a href="http://www.web-development-blog.com/archives/jquery-form-plugin-and-php-file-uploads/" rel="bookmark" title="November 2, 2009">jQuery form plugin and PHP file uploads</a></li>
<li><a href="http://www.web-development-blog.com/archives/jquery-contact-form-for-your-website/" rel="bookmark" title="January 11, 2010">jQuery Contact form for your website</a></li>
</ul>
<p><!-- Similar Posts took 4.652 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/create-surveys-with-google-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Link building ideas for corporate websites</title>
		<link>http://www.web-development-blog.com/archives/8-link-building-ideas-for-corporate-websites/</link>
		<comments>http://www.web-development-blog.com/archives/8-link-building-ideas-for-corporate-websites/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 23:07:44 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google, SEO]]></category>
		<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[articles]]></category>
		<category><![CDATA[content writing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[link building]]></category>
		<category><![CDATA[natural links]]></category>
		<category><![CDATA[promotion]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=932</guid>
		<description><![CDATA[If you need to promote your corporate website, you will find out that this is not an easy job. Self-promotion via forums or blog comments is often eliminated as SPAM and many website owners doesn&#8217;t like to link to your site because you offer a product or service. We all know that inbound links are [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>If you need to promote your corporate website, you will find out that this is not an easy job. Self-promotion via forums or blog comments is often eliminated as SPAM and many website owners doesn&#8217;t like to link to your site because you offer a product or service. We all know that inbound links are important to get high-listed in search engines like Google. So what do you need to do to get links to your site? In this article we will suggest things which should work for most of the websites on the Internet. But first we need to change our mind:</p>
<blockquote><p>To get inbound links you need content which is not just your product information or some sales page. Start creating content which is <strong>interesting</strong> for your target group AND related to your products.</p></blockquote>
<h3>What do you need?</h3>
<ul>
<li>Beside your corporate website you need a blog. This blog might be a part of your website or if possible hosted on a second domain and IP address.</li>
<li>You need to create unique and fresh content, related to your product and services. Hire a content writer if you can&#8217;t write the articles by yourself.</li>
<li>You need time and maybe some money (more about the costs later)</li>
</ul>
<p><em><strong>Okay here are the natural link building ideas:</strong></em><span id="more-932"></span></p>
<ol>
<li> <strong>Write your blogs frequently</strong><br />
If you have already a blog, I guess most of your articles are about your news, products and services. Keep writing them, but write also information which is &#8220;not about you&#8221;. For example if your product is <strong>Web Hosting</strong>, provide valuable information about how-to secure websites or give some other advice related to hosting or websites. If your articles are interesting even for non-customers, those people might write about on their own blog and will link to the source.</li>
<li> <strong>Write content for 3rd party websites</strong><br />
Write articles on blogs, websites or networks like <a rel="nofollow" href="http://hubpages.com/">HubPages.com</a>, <a rel="nofollow" href="http://ezinearticles.com/">EzineArticles.com</a> or blogs which allow other authors to write for them. In these articles it&#8217;s possible to add also links to your site.</li>
<li><strong>Promote all articles via social networks</strong><br />
This one important, if you post your article-links to your <strong>twitter</strong> or <strong>facebook</strong> profile, more people will know about your blog and the chance is bigger that other people will blog about your article. Try also sites like <a rel="nofollow" href="http://digg.com/">Digg.com</a> or <a rel="nofollow" href="http://delicious.com/">delicious</a>.</li>
<li><strong>Get links from customers or partners</strong><br />
Ask your customers and partners for a link from their website. Start with the partners where you buy products and services, they might give some link back because you&#8217;re a customer. For your own customers it&#8217;s more effective to offer something for free.</li>
<li><strong>Offer freebies</strong><br />
Provide in some of your own blog posts a free gadget, e-book or service. Freebies are always a welcome subject to write about. Be creative and you will get many free links!</li>
<li><strong>Submit your press releases</strong><br />
Write press releases about your most important news and submit them to press release submission services. There are many of them (check Google), try also paid services like <a rel="nofollow" href="http://www.prweb.com/">PRWeb.com</a>, this way you&#8217;re able to reach many people which might pick up your news and will write about (incl. link). If you can&#8217;t write a press release article by yourself, hire a copy-writer.</li>
<li><strong>Ask for a product review</strong><br />
Search related websites or blogs and ask the owner to review your product or service in exchange for a free product. Get this way a link and also some publicity (works great if your product is a service).</li>
<li><strong>Create a second blog</strong><br />
If you&#8217;re able to produce enough unique content or articles, start a second website or blog. Host this website on by different web-host and don&#8217;t link this site from your other sites. If  you keep this site &#8220;product neutral&#8221; you can even write about your competitors products and services. Build links from different sections to your site.</li>
</ol>
<p>We didn&#8217;t mention here the reciprocal link exchange and paid links because those are against the Google webmaster guidelines. Exchanging links is not forbidden, but don&#8217;t have too much of them.</p>
<p><em><strong>Do you know some nice link building techniques? Please share them below as a comment, thanks!</strong></em><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/social-media-services-are-more-efficient-these-days/" rel="bookmark" title="September 27, 2009">Social media services are more efficient these days</a></li>
<li><a href="http://www.web-development-blog.com/archives/top-your-sales-with-google-commerce-search/" rel="bookmark" title="November 29, 2009">Top your sales with Google Commerce Search</a></li>
<li><a href="http://www.web-development-blog.com/archives/link-trades-with-link-admin-programs/" rel="bookmark" title="October 12, 2006">Link trades with link admin programs</a></li>
</ul>
<p><!-- Similar Posts took 3.623 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/8-link-building-ideas-for-corporate-websites/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Custom Search in a Lightbox!</title>
		<link>http://www.web-development-blog.com/archives/google-custom-search-in-a-lightbox/</link>
		<comments>http://www.web-development-blog.com/archives/google-custom-search-in-a-lightbox/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 08:42:33 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jQuery Code]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[thickbox]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=869</guid>
		<description><![CDATA[There are several tutorials on the Internet on how-to integrate the Google Custom search in your website, but the results are not very attractive. The older iframe version doesn&#8217;t fit perfectly in most of our templates and the style for ads and results doesn&#8217;t look good in the past. A few month Google has released [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>There are several tutorials on the Internet on how-to integrate the Google Custom search in your website, but the results are not very attractive. The older iframe version doesn&#8217;t fit perfectly in most of our templates and the style for ads and results doesn&#8217;t look good in the past. A few month Google has released some nice new features:</p>
<ul>
<li>Custom search element placements</li>
<li>Custom styles and themes using CSS</li>
<li>Promotions, set your own premium results for specific search queries</li>
<li>A new AJAX powered CSE using the Google AJAX API loader</li>
</ul>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2010/02/Google-Custom-Search.png" rel="shadowbox[post-869];player=img;"><img src="http://www.web-development-blog.com/wp-content/uploads/2010/02/Google-Custom-Search-300x156.png" alt="" title="Google-Custom-Search" width="300" height="156" class="alignnone size-medium wp-image-874" /></a></p>
<p>With all these new features the CSE (Custom Search Engine) becomes very attractive to use it on your own site as site search. In this tutorial we show you how-to add the custom search feature to you site using jQuery, the Thickbox plugin and the AJAX API provided by Google. To do this <strong>a result page is not necessary</strong> anymore, we show only a search box somewhere on a particular website.<span id="more-869"></span></p>
<h3>Including the Google API, jQuery and the Thickbox plugin</h3>
<p>First include the following rows to your page HEAD, you need to add them on every page where you like to show the search box.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-1.3.2.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com/jsapi?key=YOURAPYKEY&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>To use the Google API you need to register an API key for your website, request a key <a href="http://code.google.com/apis/ajaxsearch/signup.html" rel="nofollow">here</a>.</p>
<h3>HTML code for the search box</h3>
<p>Below the simple HTML code for the search form and the container for the results. Place both somewhere on your webpage.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchcont&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;query_input&quot;</span>&gt;</span>Search Query: <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;query_input&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchbtn&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;resultcont&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;title&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;visibility:hidden;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Close<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;results&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<h3>jQuery code snippet</h3>
<p>The following JS code will load the Google API and if the user has clicked the search button the <a href="http://code.google.com/apis/ajaxsearch/documentation/customsearch/index.html#_class_CSC" rel="nofollow">customSearchControl</a> is initiated, the Thickbox is called, the title inside the Thickbox becomes visible, the result element is prepared and at last the input element value is executed for the search query. Add this code in your page&#8217;s HEAD surrounded by some script tags.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">google.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'search'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#searchbtn&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #003366; font-weight: bold;">var</span> customSearchControl <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> google.<span style="color: #660066;">search</span>.<span style="color: #660066;">CustomSearchControl</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'UNIQUE_CSE_ID'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		tb_show<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;#TB_inline?height=480&amp;width=800&amp;inlineId=resultcont&amp;modal=true&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#title'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;visibility&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;visible&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
		<span style="color: #003366; font-weight: bold;">var</span> drawOptions <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> google.<span style="color: #660066;">search</span>.<span style="color: #660066;">DrawOptions</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		customSearchControl.<span style="color: #660066;">draw</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;results&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> drawOptions<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		customSearchControl.<span style="color: #660066;">execute</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;query_input&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#title a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		tb_remove<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#title'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;visibility&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;hidden&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#results&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The other click event is used to hide the Thickbox, the event will hide the title and hides also the results. The last action is needed because we show an inline element, if we don&#8217;t hide the content the results are still visible after the Thickbox is closed.</p>
<p>That&#8217;s all, simple or not? The code above needs of course some styling. I used a slightly modified version for my network site search on this blog. If you search for &#8220;wordpress&#8221; you see the &#8220;promotion&#8221; feature I mentioned above.</p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/ajax-requests-using-jquery-and-php/" rel="bookmark" title="December 24, 2009">Ajax requests using jQuery and PHP</a></li>
<li><a href="http://www.web-development-blog.com/archives/your-e-mail-address-hidden-with-jquery/" rel="bookmark" title="February 25, 2010">Your e-mail address hidden with jQuery?</a></li>
<li><a href="http://www.web-development-blog.com/archives/jquery-contact-form-for-your-website/" rel="bookmark" title="January 11, 2010">jQuery Contact form for your website</a></li>
</ul>
<p><!-- Similar Posts took 3.568 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/google-custom-search-in-a-lightbox/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Top your sales with Google Commerce Search</title>
		<link>http://www.web-development-blog.com/archives/top-your-sales-with-google-commerce-search/</link>
		<comments>http://www.web-development-blog.com/archives/top-your-sales-with-google-commerce-search/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 18:39:07 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[web shop]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=665</guid>
		<description><![CDATA[As a web shop owner you like to make your shop as popular and successful as possible. If you like to take your business to the next level, you should take a look at the Google Commerce Search. This hosted e-commerce search solution will allow your customers to have a much more pleasant and better [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p><img class="alignleft size-full wp-image-667" style="margin-left: 5px; margin-right: 5px;" title="Google commerce search" src="http://www.web-development-blog.com/wp-content/uploads/2009/11/commerce_search-64.gif" alt="Google commerce search" width="64" height="64" />As a web shop owner you like to make your shop as popular and successful as possible. If you like to take your business to the next level, you should take a look at the <a rel="nofollow" href="http://www.google.com/commercesearch/">Google Commerce Search</a>. This hosted e-commerce search solution will allow your customers to have a much more pleasant and better shopping experience. The easier your e-commerce website for your customers, the better the chances are that they will buy your product and maybe will become a loyal customer.</p>
<h3>Why Google Commerce Search?</h3>
<p>Google Commerce Search is a scalable hosted e-commerce search solution. Using this Google service it&#8217;s possible to present your products online with a &#8220;special&#8221; type of Google site search.<br />
But there is more:</p>
<ul>
<li>Don&#8217;t worry about pikes of high traffic, Google Commerce Search will serve results for all your customers.</li>
<li>Your shop data become available in Google Merchant Center and inside the Google Product Search.</li>
<li>Synchronize or upload your data using the Google XML API.</li>
<li>Customize your on-site search engine so that it has the appearance of your website.</li>
<li>Manage all your products via the easy to use administrative console.<span id="more-665"></span></li>
<li>Analyze your statistics and use Google Analytics for details you might have never seen before; Follow reports on such items as top queries, special features usage, and much more.</li>
<li>Google Commerce Search makes the product search user-friendly. Provide for your products alternative spelling options or common synonyms. Your customer will see how easy it is to find a product, with the result of a higher conversion rate and a big chance that the customer will buy again.</li>
<li>Promote certain products and add them to related search results. This way you&#8217;re give more attention to specific products and maybe you can raise the purchase amount as well.</li>
<li>There is no waiting time, after your products are available in the Google Merchant center, they are available inside the search results.</li>
<li>Integrate Google Checkout and create a standalone shopping cart system (option)</li>
</ul>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2009/11/featured_search_result.jpg" rel="shadowbox[post-665];player=img;"><img class="alignnone size-medium wp-image-671" title="featured search result" src="http://www.web-development-blog.com/wp-content/uploads/2009/11/featured_search_result-300x183.jpg" alt="featured search result" width="300" height="183" /></a></p>
<h3>Is my old shop or website not needed anymore?</h3>
<p>Sure of course not! The checkout process and all detailed product information stays on your current website. Even if you use Google Checkout as payment solution you should use your own website for detailed product information and reviews. Your main website is the key to get products into the results of the &#8220;regular&#8221; Google Search engine. Add the search engine form to all pages of your own site for your customers convenience.</p>
<h3>Is this a great solution or not?</h3>
<p>There is one point which makes this service only attractive for established online shops: The Google Commerce Search is not free, but it is well worth the cost.</p>
<p>Google Commerce Search will help your customers to find what product it is they are looking for quick and easy. They will be able to filter the product results they are looking for according to the price of the product, the brand, the category, or many other ways. This helps to cut down on the chances of your potential customers locating the products on another page first. When people can&#8217;t find exactly what they are looking for on one page, they will pull up a second page and begin looking at different options. With the help of Google Commerce Search you can avoid this happening to you.</p>
<p>Google Commerce Search is and easy and effective way to handle your online sale. The product search makes everything simple and you don&#8217;t need to use your own shopping cart software anymore</p>
<blockquote><p>Promote your products on your website, they way you did before and make more sales using Google Commerce Search!</p></blockquote>
<h3>Related products, services and resources:</h3>
<ul>
<li>Google Commerce Search <a href="http://www.youtube.com/watch?v=gj7qrotOmVY" rel="shadowbox[post-665];player=swf;width=640;height=385;" target="_blank">introduction video</a>.</li>
<li><a rel="nofollow" href="http://www.magentocommerce.com/product/community-edition" target="_blank">Magento</a> e-commerce platform (Community edition) and <a href="http://www.shopping-cart-templates.org/magento-templates.php">Magento Templates</a>.</li>
<li><a rel="nofollow" href="http://bit.ly/8uT9Sj" target="_blank">Yahoo Merchant Solutions</a> (if you don&#8217;t like Google Commerce Search or Magento)</li>
</ul>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/build-a-web-shop-with-oscommerce/" rel="bookmark" title="July 23, 2007">Build a web shop with osCommerce</a></li>
<li><a href="http://www.web-development-blog.com/archives/setting-up-an-internet-shopping-cart/" rel="bookmark" title="November 11, 2007">Setting up an Internet shopping cart</a></li>
<li><a href="http://www.web-development-blog.com/archives/paypal-payment-tools-information-and-resources/" rel="bookmark" title="July 25, 2010">PayPal Payment Tools: Information and Resources</a></li>
</ul>
<p><!-- Similar Posts took 3.689 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/top-your-sales-with-google-commerce-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add a Google Sitemap for your Posterous Blog</title>
		<link>http://www.web-development-blog.com/archives/add-a-google-sitemap-for-your-posterous-blog/</link>
		<comments>http://www.web-development-blog.com/archives/add-a-google-sitemap-for-your-posterous-blog/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:53:30 +0000</pubDate>
		<dc:creator>finalwebsites.com</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Posterous]]></category>
		<category><![CDATA[sitemaps]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=642</guid>
		<description><![CDATA[Posterous is a great hosted Blog system that we talked about in this blog about social media services. The current version has already a lot of features like custom themes and functions for services like Twitter and Facebook. The best of all their service is still free! I noticed the last weeks that Google doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>Posterous is a great hosted Blog system that we talked about in this blog about <a href="http://www.web-development-blog.com/archives/social-media-services-are-more-efficient-these-days/">social media services</a>. The current version has already a lot of features like custom themes and functions for services like Twitter and Facebook.</p>
<blockquote><p>The best of all their service is still free!</p></blockquote>
<p>I noticed the last weeks that Google doesn&#8217;t index all my Posterous pages and that while I point my blog <a href="http://primeblogger.com">Prime Blogger</a> to a .com domain name. My first idea was a missing Google Sitemap. I tried before to add my Posterous site to my Google Webmaster Tools account, but this requires a custom meta tag on your homepage or you need to upload a unique file to your site to proof the ownership. I suggested a function for a Google Sitemap to Brett from Posterous  and he gave me the hint that I&#8217;m able to change the HTML using a custom theme and yes this is key to get your site accepted in your Google Webmaster Tools account.</p>
<p>Just add your site to your account and choose the meta tag to proof the sites ownership:<span id="more-642"></span></p>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2009/11/verify-ownership.png" rel="shadowbox[post-642];player=img;"><img class="alignnone size-medium wp-image-643" title="verify ownership" src="http://www.web-development-blog.com/wp-content/uploads/2009/11/verify-ownership-300x203.png" alt="verify ownership" width="300" height="203" /></a></p>
<p>Next surf to your Posterous site and in the control panel choose your blog -&gt; Settings -&gt; Theme and customize my site -&gt; Advanced.</p>
<p>Paste the meta tag code into the code box at the top. Save the settings and confirm to copy your custom theme settings.</p>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2009/11/meta_posterous.jpg" rel="shadowbox[post-642];player=img;"><img class="alignnone size-medium wp-image-644" title="meta posterous" src="http://www.web-development-blog.com/wp-content/uploads/2009/11/meta_posterous-300x80.jpg" alt="meta posterous" width="300" height="80" /></a></p>
<p>Now it&#8217;s possible to confirm the website ownership within the Google Webmaster Tools. Next we like to add a sitemap, click Site Configuration -&gt; Sitemaps -&gt; Submit a sitemap</p>
<p>Posterous doesn&#8217;t offer a Google sitemap format but you can use the XML feed instead. This gives you not a complete sitemap but at least you can submit the latest 20 blogs to Google. I hope it helps&#8230;<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/a-new-wordpress-theme-for-our-blog/" rel="bookmark" title="March 15, 2009">A new WordPress theme for our blog</a></li>
<li><a href="http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-2/" rel="bookmark" title="April 14, 2008">Optimizing your WordPress Blog for Google: Part 2</a></li>
<li><a href="http://www.web-development-blog.com/archives/social-media-services-are-more-efficient-these-days/" rel="bookmark" title="September 27, 2009">Social media services are more efficient these days</a></li>
</ul>
<p><!-- Similar Posts took 3.430 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/add-a-google-sitemap-for-your-posterous-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Search Options but unrelated results in Google Blog Search</title>
		<link>http://www.web-development-blog.com/archives/new-search-options-but-unrelated-results-in-google-blog-search/</link>
		<comments>http://www.web-development-blog.com/archives/new-search-options-but-unrelated-results-in-google-blog-search/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 18:40:01 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[Google, SEO]]></category>
		<category><![CDATA[blog search]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search options]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=496</guid>
		<description><![CDATA[Today I read about the new search options on this Google Blog and thought great more control. I didn&#8217;t understood why people should use the Blog Search feature from Google because I was never that satisfied as the regular search. Using the new search options I tried some searches and selected the Blog filter as [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>Today I read about the new search options on this <a href="http://googleblog.blogspot.com/2009/10/refine-your-search-results-with-new.html" rel="nofollow">Google Blog</a> and thought great more control. I didn&#8217;t understood why people should use the Blog Search feature from Google because I was never that satisfied as the regular search. </p>
<p><a href="http://www.seobook.com/842-16-1-38.html" target="_blank" rel="nofollow"><img border="0" src="http://www.seobook.com/rf/banners/seobook-468x60-free.gif" width="468" height="60"></a></p>
<p>Using the new search options I tried some searches and selected the Blog filter as well. I was very surprised to find in the Blog search result a few duplicates from my <a href="http://www.web-development-blog.com/archives/upload-in-modal-window-and-pass-values-with-jquery/">Blog post</a> two weeks ago. </p>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2009/10/Upload-in-modal-window-Google-Search.png" rel="shadowbox[post-496];player=img;"><img src="http://www.web-development-blog.com/wp-content/uploads/2009/10/Upload-in-modal-window-Google-Search-300x191.png" alt="Upload in modal window - Google Blog Search" title="Upload in modal window - Google Blog Search" width="300" height="191" class="alignnone size-medium wp-image-497" /></a><span id="more-496"></span></p>
<p>First I thought maybe my blog was not so relevant at the moment, but after I switched off the Blog filter I found my Blog post at the top of the list. </p>
<p><a href="http://www.web-development-blog.com/wp-content/uploads/2009/10/Upload-in-modal-window-Google-Search2.png" rel="shadowbox[post-496];player=img;"><img src="http://www.web-development-blog.com/wp-content/uploads/2009/10/Upload-in-modal-window-Google-Search2-300x116.png" alt="Upload in modal window - Google Web Search" title="Upload in modal window - Google Web Search" width="300" height="116" class="alignnone size-medium wp-image-498" /></a></p>
<p>I know that the Blog search has some great real time results but this make no sense. Google shows some excepts or duplicates instead of the original content.  <strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/adsense-for-wordpress-5-plugins-reviewed/" rel="bookmark" title="November 30, 2009">Adsense for WordPress &#8211; 5 Plugins reviewed</a></li>
<li><a href="http://www.web-development-blog.com/archives/a-new-wordpress-theme-for-our-blog/" rel="bookmark" title="March 15, 2009">A new WordPress theme for our blog</a></li>
<li><a href="http://www.web-development-blog.com/archives/this-generation-web-advertising/" rel="bookmark" title="November 7, 2006">This generation web advertising</a></li>
</ul>
<p><!-- Similar Posts took 3.285 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/new-search-options-but-unrelated-results-in-google-blog-search/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sending e-mails via SMTP with PHPmailer and Gmail</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/</link>
		<comments>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 19:40:25 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[PHP scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google applications]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393</guid>
		<description><![CDATA[Using the SMTP server from Gmail is a good choice for mail application with less than 500 recipients a day. This tutorials shows you how to send mail messages via SMTP using PHPmailer and Gmail.]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>These days I tried some plugin to send e-mail message within bbpress via SMTP. Since my domains email is hosted with Google applications I decided to send my messages via the SMTP server from GMail. I found several articles and tutorials, but a lot of them didn&#8217;t worked for me. </p>
<h3>Why using GMail for sending mail messages?</h3>
<p>First of all it&#8217;s FREE! Sure most website owners can use their own SMTP server for sending email messages from their website, but it makes sense even than to use Gmail for sending mail. The chance is big that your websites IP address is on a blacklist if your site is on hosted by a shared web hosting provider. If not or you host your site on your own server, there is always a risk that your IP address get blacklisted. Because of some limitations, the SMTP server from Google is a good choice applications with less than 500 recipients a day, check this <a href="http://mail.google.com/support/bin/answer.py?hl=en&#038;answer=22839" rel="nofollow">information</a> from the Google help pages.<span id="more-393"></span></p>
<h3>Requirements</h3>
<p>You need for this code example a PHP5 enabled web host (I tested only on Linux), the port 465 need to be open and of course you need a GMail or Google Apps account. </p>
<h3>SMTP for Gmail tutorial</h3>
<ol>
<li>If you don&#8217;t have one, <a href="http://mail.google.com/mail/signup" rel="nofollow">register</a> a GMail account or setup your domain for Google applications.</li>
<li><a href="http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/" rel="nofollow">Download</a> a recent version of PHPMailer (I used the version 5.02)</li>
<li>Check with your web hosting provider if port 465 (TCP out) is open, if not ask him to open that port</li>
<li>Include the PHPMailer class file: <code>require_once('phpmailer/class.phpmailer.php');</code></li>
<li>Create those two constant variable to store your GMail login and password. Use the login for your Google application mail if you have one.

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'GUSER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'you@gmail.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Gmail username</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'GPWD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Gmail password</span></pre></div></div>

<li>Use the following function to send mail messages (add the function in one of your included files):

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from_name</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$body</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PHPMailer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// create a new object</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">IsSMTP</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// enable SMTP</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SMTPDebug</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// debugging: 1 = errors and messages, 2 = messages only</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SMTPAuth</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// authentication enabled</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SMTPSecure</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'ssl'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// secure transfer enabled REQUIRED for Gmail</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'smtp.gmail.com'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Port</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">465</span><span style="color: #339933;">;</span> 
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Username</span> <span style="color: #339933;">=</span> GUSER<span style="color: #339933;">;</span>  
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Password</span> <span style="color: #339933;">=</span> GPWD<span style="color: #339933;">;</span>           
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFrom</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from_name</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Subject</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Body</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$body</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">AddAddress</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Send</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Mail error: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ErrorInfo</span><span style="color: #339933;">;</span> 
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Message sent!'</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Most of the setting inside the function are required by GMail. While searching for tutorials I found articles with different settings for the port and security. My advice use them as in this tutorial.
</li>
<li>Call the function within your code:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'to@mail.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'from@mail.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'yourName'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'test mail message'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Hello World!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Use this more &#8220;advanced&#8221; usage inside your application:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'to@mail.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'from@mail.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'yourName'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'test mail message'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Hello World!'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// do something</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$error</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span></pre></div></div>

</li>
</ol>
<h3>Advanced setup with fall-back SMTP server</h3>
<p>Because of the limit it might be useful to use a secondary SMTP server if the Gmail option didn&#8217;t send the message. For this functionality we need to replace the part with the SMTP settings a little bit. First create login/server variables for the 2nd SMTP server:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SMTPUSER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'you@yoursmtp.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// sec. smtp username</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SMTPPWD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// sec. password</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SMTPSERVER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'smtp.yoursmtp.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// sec. smtp server</span></pre></div></div>

<p>Next we need to create a if/else statement using the variables for the second server (replace).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from_name</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$body</span><span style="color: #339933;">,</span> <span style="color: #000088;">$is_gmail</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PHPMailer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">IsSMTP</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SMTPAuth</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span> 
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$is_gmail</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SMTPSecure</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'ssl'</span><span style="color: #339933;">;</span> 
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'smtp.gmail.com'</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Port</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">465</span><span style="color: #339933;">;</span>  
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Username</span> <span style="color: #339933;">=</span> GUSER<span style="color: #339933;">;</span>  
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Password</span> <span style="color: #339933;">=</span> GPWD<span style="color: #339933;">;</span>   
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Host</span> <span style="color: #339933;">=</span> SMTPSERVER<span style="color: #339933;">;</span>
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Username</span> <span style="color: #339933;">=</span> SMTPUSER<span style="color: #339933;">;</span>  
		<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Password</span> <span style="color: #339933;">=</span> SMTPPWD<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>        
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFrom</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from_name</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Subject</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Body</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$body</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">AddAddress</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Send</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Mail error: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ErrorInfo</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Message sent!'</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And use the function now as followed:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$msg</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Hello World'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$subj</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'test mail message'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'to@mail.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'from@mail.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'yourName'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$name</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subj</span><span style="color: #339933;">,</span> <span style="color: #000088;">$msg</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Yippie, message send via Gmail'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>smtpmailer<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from</span><span style="color: #339933;">,</span> <span style="color: #000088;">$name</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subj</span><span style="color: #339933;">,</span> <span style="color: #000088;">$msg</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$error</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Yep, the message is send (after hard working)'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><a href="http://www.freelancer.com/affiliates/olederer/" rel="nofollow"><img src="http://www.freelancer.com/img/affiliates/Freelancer_b2.gif" width=468 height=60 alt="Freelance Jobs" border=0></a></p>
<p>Both examples are very simple and demonstrate only how-to send mail messages via the SMTP server from Gmail. Of course the user can extend the code to handle HTML messages and attachments etc. If you have any issues with these examples, just let me know. Post a comment here or post to our partner <a href="http://www.finalwebsites.com/forums">PHP script forum</a>.</p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/php-mail-scripts-using-smtp-transport-a-guide-for-beginners/" rel="bookmark" title="April 12, 2010">PHP Mail Scripts using SMTP transport, a guide for beginners</a></li>
<li><a href="http://www.web-development-blog.com/archives/create-custom-backups-from-your-website-using-curl/" rel="bookmark" title="July 30, 2008">Create custom backups from your website using cURL</a></li>
<li><a href="http://www.web-development-blog.com/archives/jquery-contact-form-for-your-website/" rel="bookmark" title="January 11, 2010">jQuery Contact form for your website</a></li>
</ul>
<p><!-- Similar Posts took 4.331 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Impressions from the Google I/0 conference</title>
		<link>http://www.web-development-blog.com/archives/impressions-from-the-google-i0-conference/</link>
		<comments>http://www.web-development-blog.com/archives/impressions-from-the-google-i0-conference/#comments</comments>
		<pubDate>Thu, 29 May 2008 20:52:23 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google services]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IO2008]]></category>
		<category><![CDATA[opensocial]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/archives/impressions-from-the-google-i0-conference/</guid>
		<description><![CDATA[or Google the Open Source Company presents their new technology! The Google I/O conference in San Francisco is the first of his kind, during two days the conference provides the attendee 90 sessions grouped by the following categories: Ajax and JavaScript APIs and Tools Maps and Geo Mobile Social Furthermore they held sessions like Code [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p><em><strong>or Google the Open Source Company presents their new technology!</strong></em></p>
<p>The Google I/O conference in San Francisco is the first of his kind, during two days the conference provides the attendee 90 sessions grouped by the following categories:</p>
<ul>
<li><img src="http://www.web-development-blog.com/wp-content/uploads/2008/05/logo.gif" alt="Google I/0" align="right" />Ajax and JavaScript</li>
<li>APIs and Tools</li>
<li>Maps and Geo</li>
<li>Mobile</li>
<li>Social</li>
</ul>
<p>Furthermore they held sessions like Code labs, Tech Talks and the Fireside Chat. So maybe you&#8217;re looking for the &#8220;Search&#8221; category? Yes there are a few lessons about search optimization and the Ajax Search API, but most sessions are about new modern technologies like Gears and the Google App Engine.</p>
<p><img src="http://www.web-development-blog.com/wp-content/uploads/2008/05/google_io_20081.jpg" alt="Google I/O registrations" /></p>
<p>Those people who knows Google as the search engine provider and advertising company would be very surprised about the strong open source character of this conference. <span id="more-139"></span>With the vision</p>
<blockquote><p>Create a better, full featured Internet using modern technologies</p></blockquote>
<p>Google has invited any developer to use Google technologies in their own applications.</p>
<p>While listening to several sessions, I get an good idea about Gears, OpenSocial, Google APIs like Authentication API, content API&#8217;s and the Google Checkout API. Before joining this conference I accepted to learn something I can use within my next projects. OpenSocial is something I like, a kind of standard how to create your own Social Community.</p>
<p>My first impression about Gears is not so positive; the idea is really good, but it looks like a browser add-on aka Adobe flash (not the function but the idea how to provide the technology to the client). All presentations are available to the public next week on the <a href="http://code.google.com/events/io/">Google I/0 website</a>.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/google-custom-search-in-a-lightbox/" rel="bookmark" title="February 5, 2010">Google Custom Search in a Lightbox!</a></li>
<li><a href="http://www.web-development-blog.com/archives/google-guidelines-against-modern-web-development/" rel="bookmark" title="June 8, 2007">Google guidelines against modern web development?</a></li>
<li><a href="http://www.web-development-blog.com/archives/first-steps-within-the-zend-framework/" rel="bookmark" title="November 16, 2007">First steps within the Zend Framework</a></li>
</ul>
<p><!-- Similar Posts took 3.570 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/impressions-from-the-google-i0-conference/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Optimizing your WordPress Blog for Google: Part 1</title>
		<link>http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-1/</link>
		<comments>http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-1/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 09:34:33 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Google, SEO]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googlebot]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-1/</guid>
		<description><![CDATA[How to avoid the duplicate content penalty when using a WordPress blog There’s no denying it, Google is the powerhouse of the internet; more than capable of showering targeted visitors on your website like a torrential downpour backed by gale-force winds. That is, if you happen to be in Google’s good graces and rank highly [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><h3> How to avoid the duplicate content penalty when using a WordPress blog</h3>
<p>There’s no denying it, Google is the powerhouse of the internet; more than capable of showering targeted visitors on your website like a torrential downpour backed by gale-force winds.  That is, if you happen to be in Google’s good graces and rank highly for popular keywords.</p>
<p>Bloggers often times find themselves in the position to receive great traffic from Google simply because of the way that blogs work; namely, they allow for quick inclusion into major search engines even when using the default setup.  Being the most popular blogging software on the planet, WordPress blogs are the content management system (CMS) of choice for bloggers due to ease of use and the large community of supporters that help to develop plugins for this open source blogging software.</p>
<p>However, just because WordPress blogs can help websites to get noticed by the major search engines easily, this doesn’t mean that they are inherently search engine friendly; in fact, the default settings for WordPress blogs almost guarantee that, if left untouched, your blog will end up suffering from the duplicate content penalty.</p>
<h3>The duplicate content penalty and WordPress blogs</h3>
<p>The duplicate content penalty is a term that is used to describe what happens when a web page is removed from the primary search results for a certain keyword phrase due to identical content elsewhere on the internet.  In Google, the lower-ranking websites and individual pages that contain the duplicate content are hidden, and this phrase is displayed instead:<span id="more-132"></span></p>
<p>In order to show you the most relevant results, we have omitted some entries very similar to the X (number) already displayed.</p>
<p>This happens primarily in two situations; with article marketing, A.K.A. article directory submissions, and when you post content to an unmodified blog.  Since this article is focused on WordPress blog optimization, we’ll focus on how you can avoid the duplicate content penalty for the latter.</p>
<p><a href="http://www.widgetready.org/" title="WidgetReady WordPress Themes"><img src="http://www.finalwebsites.com/images/banners/banner_widget_ready.gif" alt="WidgetReady" border="0" height="60" width="468" /></a></p>
<h3>Unmodified WordPress blogs are search engine &#8220;unfriendly&#8221;</h3>
<p>By using a WordPress blog with its default setup, you are creating an atmosphere where your blogs’ content is almost guaranteed to suffer from the duplicate content penalty.  The reason for this is simple: By default, your WordPress blog will have the exact same content, word for word:</p>
<ol>
<li>On the blogs main page</li>
<li>Within the blogs RSS feed</li>
<li>On the category page</li>
<li>On the monthly archive page</li>
<li>On the posts unique page</li>
</ol>
<p>Clearly, having 5 different instances of the exact same content within a single website will undoubtedly lead to your content being seen as &#8220;duplicate&#8221; content by Google, and other major search engines for that matter.</p>
<h3>Avoiding the duplicate content penalty with a WordPress blog</h3>
<p>There are a couple of things that can be done with your WordPress blog that will help you to keep your blog in the primary search results:</p>
<h3>Limit the text shown on your blogs pages</h3>
<p>The duplicate content penalty comes about due to large amounts of significantly identical text being shown on numerous pages throughout the internet, not a few characters or even a couple of sentences.  WordPress blogs allow bloggers the option to use what is called the &#8220;more&#8221; tag, where they can limit the amount of text that is displayed on the blogs main page, the category pages and the archive pages.  By utilizing this tag, WordPress users are limiting the content for a post to be displayed, in full, only on the posting page itself; thus removing four of the five aforementioned instances of locations of duplicate content when adding a post to their blog, which can help to decrease the chances of being affected by the duplicate content penalty.</p>
<p>However, if you have an established blog – it would be a cumbersome chore to edit every existing post, not to mention it’s another step you would have to endure to use this option for all future posts.  Fortunately, there is a WordPress plugin that will replicate the effects of the &#8220;more&#8221; tag, yet not requiring you to manually add it to your blog posts.</p>
<p><strong><a href="http://www.thunderguy.com/semicolon/wordpress/evermore-wordpress-plugin/" rel="nofollow">Evermore WordPress Plugin</a></strong></p>
<p>The evermore WordPress Plugin will replicate the effects of the &#8220;more&#8221; tag, effectively limiting the amount of text shown on your blogs main page, category page and archive pages.  You have the ability to specify the character limit, so you can have more or less text displayed in these other areas depending on your needs.  Installing this plugin is as easy as uploading a file via FTP to your WordPress plugin directory, and the effects can be reversed completely by deactivating it.</p>
<h3>Choose &#8220;Summary&#8221; for your blog&#8217;s RSS feed file</h3>
<p>Another way to help stop the chances of becoming the next victim of the duplicate content penalty is to simply change the settings from within your WordPress blogs administration area.</p>
<p>Once you’re logged into your blogs administration area, go to Options&gt;&gt;Reading.  Under the sub-heading &#8220;Syndication Feeds&#8221;, select the &#8220;summary&#8221; option.  This will effectively cut down your chances of suffering from the duplicate content penalty.</p>
<h3>Using the robots.txt file to keep Google (and other search engines) away</h3>
<p>Now, of course you want search engines to crawl your blog, but in some cases it’s not in your best interest to have all of your pages crawled and indexed by all search engine robots.  Another trick to helping you avoid the duplicate content penalty is to tell the Googlebot to stay away from your RSS feed.  Some bloggers even go so far as to disallow the Googlebot from crawling their blog archives and category pages, but that is a personal preference; in all honesty we have yet to see conclusive evidence as to which approach is best.  Here is an example of a set of commands that will help you to keep the Googlebot from accessing your blogs feeds.</p>
<p><strong>Sample robots.txt file to disallow the Googlebot from your RSS feed</strong></p>
<p>(if your WordPress blog is at the root of your domain)</p>
<p><code><br />
User-agent: Googlebot<br />
Disallow: /feed/$<br />
Disallow: /feed/rss/$<br />
Disallow: /trackback/$<br />
</code></p>
<p>You can check out some advanced commands for your WordPress blogs robots.txt file on the <a href="http://www.askapache.com/seo/wordpress-robotstxt-seo.html" rel="nofollow">Ask Apache</a> website.  As with any modifications of this type, you should implement changes with extreme caution as improperly forming commands to your robots.txt file may cause it to be excluded from search engines all together!</p>
<p>Using the tips and tricks outlined here, you can help keep your blog in Google’s primary index and avoid the duplicate content penalty that many other bloggers suffer from.  It goes without saying that one of the major contributing factors to the duplicate content penalty is syndicating articles from article directories; and for best results it’s always suggested that your blog is comprised of unique content rather than syndicated content.</p>
<p>This article is a 2 part series on how to optimize your WordPress blog for Google.  In our next article, we will show you how to optimize your WordPress blog for ultimate search engine friendliness and also how you can pull your blog out of Google’s supplemental index as well as covering ways to stay out of it.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-2/" rel="bookmark" title="April 14, 2008">Optimizing your WordPress Blog for Google: Part 2</a></li>
<li><a href="http://www.web-development-blog.com/archives/google-has-cutted-my-pagerank-too/" rel="bookmark" title="October 24, 2007">Yes, Google has &#8220;cutted&#8221; my PageRank too!</a></li>
<li><a href="http://www.web-development-blog.com/archives/8-link-building-ideas-for-corporate-websites/" rel="bookmark" title="March 11, 2010">8 Link building ideas for corporate websites</a></li>
</ul>
<p><!-- Similar Posts took 4.390 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/optimizing-your-wordpress-blog-for-google-part-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->