<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Webmaster Resources - The Webmaster Weblog</title>
	
	<link>http://webmasterweblog.com</link>
	<description />
	<pubDate>Tue, 11 Nov 2008 14:48:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Webmaster-Resources" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Using special characters in a file link</title>
		<link>http://webmasterweblog.com/using-special-characters-in-a-file-link.html</link>
		<comments>http://webmasterweblog.com/using-special-characters-in-a-file-link.html#comments</comments>
		<pubDate>Tue, 11 Nov 2008 14:47:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=119</guid>
		<description><![CDATA[Today some people were uploading stuff with foot signs in the file name to one of my blogs. Obviously the links were all broken. I know the basic syntax for example for spaces (%2B), because you see it all the time, but I had to lookup the others in a book.
This small table can help [...]]]></description>
			<content:encoded><![CDATA[<p>Today some people were uploading stuff with foot signs in the file name to one of my blogs. Obviously the links were all broken. I know the basic syntax for example for spaces (%2B), because you see it all the time, but I had to lookup the others in a book.</p>
<p>This small table can help us to fix URL&#8217;s &#8230;<br />
<span id="more-119"></span></p>
<table border="1" width="450">
<tbody>
<tr bgcolor="#336666">
<td width="100" align="center"><strong>Character</strong></td>
<td width="150" align="center"><strong>URL Syntax</strong></td>
<td width="200" align="center"><strong>Description</strong></td>
</tr>
<tr>
<td width="100" align="center"></td>
<td width="150" align="center">%2B</td>
<td width="200">Space <strong>¹</strong></td>
</tr>
<tr>
<td width="100" align="center">&#8216;</td>
<td width="150" align="center">%27</td>
<td width="200">Foot Sign</td>
</tr>
<tr>
<td width="100" align="center">&#8220;</td>
<td width="150" align="center">%22</td>
<td width="200">Quote</td>
</tr>
<tr>
<td width="100" align="center">#</td>
<td width="150" align="center">%23</td>
<td width="200">Number sign</td>
</tr>
<tr>
<td width="100" align="center">%</td>
<td width="150" align="center">%25</td>
<td width="200">Percent sign</td>
</tr>
<tr>
<td width="100" align="center">&amp;</td>
<td width="150" align="center">%26</td>
<td width="200">Ampersand</td>
</tr>
<tr>
<td width="100" align="center">+</td>
<td width="150" align="center">\%2B</td>
<td width="200">Plus sign <strong>¹</strong></td>
</tr>
<tr>
<td width="100" align="center">/</td>
<td width="150" align="center">%2F</td>
<td width="200">Solidus (slash)</td>
</tr>
<tr>
<td width="100" align="center">:</td>
<td width="150" align="center">%3A</td>
<td width="200">Colon</td>
</tr>
<tr>
<td width="100" align="center">;</td>
<td width="150" align="center">%3B</td>
<td width="200">Semicolon</td>
</tr>
<tr>
<td width="100" align="center">&lt;</td>
<td width="150" align="center">%3C</td>
<td width="200">Less than</td>
</tr>
<tr>
<td width="100" align="center">&gt;</td>
<td width="150" align="center">%3E</td>
<td width="200">Greater than</td>
</tr>
<tr>
<td width="100" align="center">?</td>
<td width="150" align="center">%3F</td>
<td width="200">Question mark</td>
</tr>
</tbody>
</table>
<table border="1" width="450">
<tbody>
<tr bgcolor="#336666">
<td width="100" align="center"><strong>Character</strong></td>
<td width="150" align="center"><strong>URL Syntax</strong></td>
<td width="200" align="center"><strong>Description</strong></td>
</tr>
<tr>
<td width="100" align="center"></td>
<td width="150" align="center">+</td>
<td width="200">Space</td>
</tr>
<tr>
<td width="100" align="center">&#8216;</td>
<td width="150" align="center">%27</td>
<td width="200">Foot Sign</td>
</tr>
<tr>
<td width="100" align="center">&#8220;</td>
<td width="150" align="center">%26quot%3B</td>
<td width="200">Quote</td>
</tr>
<tr>
<td width="100" align="center">#</td>
<td width="150" align="center">%23</td>
<td width="200">Number sign</td>
</tr>
<tr>
<td width="100" align="center">%</td>
<td width="150" align="center">%25</td>
<td width="200">Percent sign</td>
</tr>
<tr>
<td width="100" align="center">&amp;</td>
<td width="150" align="center">%26amp%3B</td>
<td width="200">Ampersand</td>
</tr>
<tr>
<td width="100" align="center">+</td>
<td width="150" align="center">%2B</td>
<td width="200">Plus sign</td>
</tr>
<tr>
<td width="100" align="center">/</td>
<td width="150" align="center">%2F</td>
<td width="200">Solidus (slash)</td>
</tr>
<tr>
<td width="100" align="center">:</td>
<td width="150" align="center">%3A</td>
<td width="200">Colon</td>
</tr>
<tr>
<td width="100" align="center">;</td>
<td width="150" align="center">%3B</td>
<td width="200">Semicolon</td>
</tr>
<tr>
<td width="100" align="center">&lt;</td>
<td width="150" align="center">%26lt%3B</td>
<td width="200">Less than</td>
</tr>
<tr>
<td width="100" align="center">&gt;</td>
<td width="150" align="center">%26gt%3B</td>
<td width="200">Greater than</td>
</tr>
<tr>
<td width="100" align="center">?</td>
<td width="150" align="center">%3F</td>
<td width="200">Question mark</td>
</tr>
<tr>
<td width="100" align="center">™</td>
<td width="150" align="center">%26%23153%3b</td>
<td width="200">Trademark</td>
</tr>
<tr>
<td width="100" align="center">®</td>
<td width="150" align="center">%26%23174%3b</td>
<td width="200">Registered Trademark</td>
</tr>
<tr>
<td width="100" align="center">©</td>
<td width="150" align="center">%26%23169%3b</td>
<td width="200">Copyright</td>
</tr>
</tbody>
</table>
<table border="1" width="450">
<tbody>
<tr bgcolor="#336666">
<td width="100" align="center"><strong>Character</strong></td>
<td width="150" align="center"><strong>URL Syntax</strong></td>
<td width="200" align="center"><strong>Description</strong></td>
</tr>
<tr>
<td width="100" align="center"></td>
<td width="150" align="center">+</td>
<td width="200">Space</td>
</tr>
<tr>
<td width="100" align="center">′</td>
<td width="150" align="center">%27</td>
<td width="200">Foot Sign</td>
</tr>
<tr>
<td width="100" align="center">&#8220;</td>
<td width="150" align="center">%22</td>
<td width="200">Quote</td>
</tr>
<tr>
<td width="100" align="center">#</td>
<td width="150" align="center">%23</td>
<td width="200">Number sign</td>
</tr>
<tr>
<td width="100" align="center">%</td>
<td width="150" align="center">%25</td>
<td width="200">Percent sign</td>
</tr>
<tr>
<td width="100" align="center">&amp;</td>
<td width="150" align="center">%26</td>
<td width="200">Ampersand</td>
</tr>
<tr>
<td width="100" align="center">+</td>
<td width="150" align="center">%2B</td>
<td width="200">Plus sign</td>
</tr>
<tr>
<td width="100" align="center">/</td>
<td width="150" align="center">%2F</td>
<td width="200">Solidus (slash)</td>
</tr>
<tr>
<td width="100" align="center">:</td>
<td width="150" align="center">%3A</td>
<td width="200">Colon</td>
</tr>
<tr>
<td width="100" align="center">;</td>
<td width="150" align="center">%3B</td>
<td width="200">Semicolon</td>
</tr>
<tr>
<td width="100" align="center">&lt;</td>
<td width="150" align="center">%3C</td>
<td width="200">Less than</td>
</tr>
<tr>
<td width="100" align="center">&gt;</td>
<td width="150" align="center">%3E</td>
<td width="200">Greater than</td>
</tr>
<tr>
<td width="100" align="center">?</td>
<td width="150" align="center">%3F</td>
<td width="200">Question mark</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/using-special-characters-in-a-file-link.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Rewrite uppercase URL’s to lowercase</title>
		<link>http://webmasterweblog.com/rewrite-uppercase-to-lowercase.html</link>
		<comments>http://webmasterweblog.com/rewrite-uppercase-to-lowercase.html#comments</comments>
		<pubDate>Mon, 20 Oct 2008 16:57:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ModRewrite]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=117</guid>
		<description><![CDATA[Well today I had to rewrite some URL&#8217;s from upper to lower-case letters. Somehow it did not rewrite this automatically. I didn&#8217;t figure out the reason why it did not work properly but I found a workaround.
If you have access to the httpd.conf file of the apache server, then simply add the following lines:

&#60;VirtualHost IP:80&#62;
&#160;
 [...]]]></description>
			<content:encoded><![CDATA[<p>Well today I had to rewrite some URL&#8217;s from upper to lower-case letters. Somehow it did not rewrite this automatically. I didn&#8217;t figure out the reason why it did not work properly but I found a workaround.</p>
<p>If you have access to the httpd.conf file of the apache server, then simply add the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="apache apache" style="font-family:monospace;">&lt;<span style="color: #000000; font-weight:bold;">VirtualHost</span> IP:<span style="color: #ff0000;">80</span>&gt;
&nbsp;
   stuff here
&nbsp;
   &lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_rewrite.c&gt;
   <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span>
   <span style="color: #00007f;">rewritemap</span> lowercase int:tolower
   <span style="color: #00007f;">RewriteCond</span> $<span style="color: #ff0000;">1</span> [A-Z]
   <span style="color: #00007f;">RewriteRule</span> ^/(.*)$ /${lowercase:$<span style="color: #ff0000;">1</span>} [R=<span style="color: #ff0000;">301</span>,L] 
   &lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;</pre></div></div>

<p>Now it will redirect the URL&#8217;s properly. Yay!<br />
<a href="http://www.webmasterworld.com/forum92/5308.htm" >Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/rewrite-uppercase-to-lowercase.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Duplicate entry ‘127′ for key 1</title>
		<link>http://webmasterweblog.com/duplicate-entry-127-for-key-1.html</link>
		<comments>http://webmasterweblog.com/duplicate-entry-127-for-key-1.html#comments</comments>
		<pubDate>Sun, 19 Oct 2008 14:22:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=115</guid>
		<description><![CDATA[Well I&#8217;m not so familar with SQL, that&#8217;s why I was struggling with that problems for about 10 minutes. Actually it&#8217;s fairly simply, the error message says that there is already an entry with the ID 127 in the database.
The problem is the size of the SQL field. A signed TinyINT can only save entries [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;m not so familar with SQL, that&#8217;s why I was struggling with that problems for about 10 minutes. Actually it&#8217;s fairly simply, the error message says that there is already an entry with the ID 127 in the database.<br />
The problem is the size of the SQL field. A signed TinyINT can only save entries from -127 to 127, an unsigned TinyINT can hold entries that range from 0 to +255.</p>
<p>You can find some more information about it <a href="http://www.faqts.com/knowledge_base/view.phtml/aid/1256/fid/229"  target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/duplicate-entry-127-for-key-1.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Find occurences of multiple needles in haystack</title>
		<link>http://webmasterweblog.com/multiple-needles-in-haystack.html</link>
		<comments>http://webmasterweblog.com/multiple-needles-in-haystack.html#comments</comments>
		<pubDate>Fri, 17 Oct 2008 23:53:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=111</guid>
		<description><![CDATA[Let&#8217;s say you got a form and you don&#8217;t want to allow that people submit certain words. How would you do that? Right you will have to use the PHP function strpos. Unfortunately you can&#8217;t feed strpos with arrays (a list of needles)!
Here is a very simple solution that you can use to to check [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you got a form and you don&#8217;t want to allow that people submit certain words. How would you do that? Right you will have to use the PHP function strpos. Unfortunately you can&#8217;t feed strpos with arrays (a list of needles)!</p>
<p>Here is a very simple solution that you can use to to check multiple needles and their occurence in a specific string.</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">&nbsp;
<span style="color: #000088;">$haystack</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$myhaystack</span>;
<span style="color: #000088;">$needle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="">'badword'</span><span style="color: #339933;">,</span><span style="">'badword'</span><span style="color: #339933;">,</span><span style="">'badword'</span><span style="color: #339933;">,</span><span style="">'badword'</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$needle</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$pos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span>;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">!==</span> <span style="color: #000000; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">/* If we find one of those bad words do the following */</span>
&nbsp;
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: http://mysite.com?error=badcontent&quot;</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">exit</span>;
&nbsp;
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>I used the &#8220;header&#8221; command to redirect people to a specific site if they enter those bad words. You can output a customized error message by adding a variable at the end of the URL e.g. the variable &#8220;error&#8221;. Simply retrieve the variable via GET and then echo an appropriate message. </p>
<p>If you have any question feel free to ask!</p>
<p>Enjoy <img src='http://webmasterweblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/multiple-needles-in-haystack.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sponsored blog posts requirements</title>
		<link>http://webmasterweblog.com/sponsored-blog-posts-requirements.html</link>
		<comments>http://webmasterweblog.com/sponsored-blog-posts-requirements.html#comments</comments>
		<pubDate>Thu, 16 Oct 2008 17:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=108</guid>
		<description><![CDATA[Well I recently signed up for some PPP programs, which stands for &#8220;Pay Per Post&#8221;.
Webmasters can earn money for their opinion and increase their blog earnings.
But there are some requirements if you want to participate in one of those programs.
PayPerPost.com
1) Blogs must contain a monthly chronological archive of posts.
2) Posts may not be truncated. (I [...]]]></description>
			<content:encoded><![CDATA[<p>Well I recently signed up for some PPP programs, which stands for &#8220;Pay Per Post&#8221;.<br />
Webmasters can earn money for their opinion and increase their blog earnings.<br />
But there are some requirements if you want to participate in one of those programs.</p>
<p><strong>PayPerPost.com</strong><br />
1) Blogs must contain a monthly chronological archive of posts.<br />
2) Posts may not be truncated. (I suppose that means &#8220;Read more&#8221; is not allowed, which is pretty stupid!)</p>
<p>PayPerPost does not accept blogs from advertising community blog sites or AdSense monetized blogs such as, Blogger Party, WritingUp, BlogCharm, Blogitive, Blog4Cash, Senserely, etc.</p>
<p><strong>SocialSpark.com</strong><br />
1) Blog Posts must have a clearly visible time stamp.<br />
2) Blog must have 20 posts within the last 90 days.<br />
3) &#8220;Read more&#8221; is allowed on frontpage.</p>
<p>Obviously there are some more requirements. </p>
<p>Another great PPP program is <a href="http://www.sponsoredreviews.com/?aid=35947" >www.sponsoredreviews.com</a>:<br />
<a href="http://www.sponsoredreviews.com/?aid=35947" ><img src="http://www.srwww1.com/images/SR/Affiliate/2.jpg" border="0px"></a></p>
<p><strong>SponsoredReviews.com</strong> rejection might be due to the following reasons:</p>
<p>1. Blog is too new and has poor stats, including little traffic and/or links.<br />
2. Blog has too much paid content and does not meet our 2:1 ratio rule.<br />
3. Blog was over-priced based on its stats and our suggested price.<br />
4. Blog is written in a foreign language and does not follow guidelines on how to properly submit.</p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/sponsored-blog-posts-requirements.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress: Improve security, change default admin username</title>
		<link>http://webmasterweblog.com/wordpress-security.html</link>
		<comments>http://webmasterweblog.com/wordpress-security.html#comments</comments>
		<pubDate>Tue, 14 Oct 2008 18:07:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=105</guid>
		<description><![CDATA[Obviously one big security flaw of Wordpress is that the admin username is by default &#8220;admin&#8221;. This is a security risk, because hackers will only need your password and already have your username, that&#8217;s a clear advantage! People without experience don&#8217;t know that they can change this via PHPMyAdmin and therefore don&#8217;t change it. 
To [...]]]></description>
			<content:encoded><![CDATA[<p>Obviously one big security flaw of Wordpress is that the admin username is by default &#8220;admin&#8221;. This is a security risk, because hackers will only need your password and already have your username, that&#8217;s a clear advantage! People without experience don&#8217;t know that they can change this via PHPMyAdmin and therefore don&#8217;t change it. </p>
<p>To improve your blog security install the following <a href="http://w-shadow.com/blog/2008/07/24/change-admin-username-in-wordpress/"  target="_blank">plugin</a>.</p>
<p>This way you can change your admin username. Once that is done relogin and your wordpress blog should be a little bit more secure! </p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/wordpress-security.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>PageNavi not working on front page if you exclude categories</title>
		<link>http://webmasterweblog.com/pagenavi-not-working-on-front-page-if-you-exclude-categories.html</link>
		<comments>http://webmasterweblog.com/pagenavi-not-working-on-front-page-if-you-exclude-categories.html#comments</comments>
		<pubDate>Fri, 03 Oct 2008 02:07:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=72</guid>
		<description><![CDATA[Well did you ever use the command &#8220;query_posts(&#8217;cat=-xx&#8217;);&#8221; to exclude certain posts from your main page? I did!
Recently I found out that my pagenavi was no longer working.

A solution is to get this plugin that provides cms-like functions to exclude certain categories completely from specific parts of your blog.

If you don&#8217;t want to exclude posts [...]]]></description>
			<content:encoded><![CDATA[<p>Well did you ever use the command &#8220;query_posts(&#8217;cat=-xx&#8217;);&#8221; to exclude certain posts from your main page? I did!<br />
Recently I found out that my pagenavi was no longer working.<br />
<br/><br />
A solution is to get <a href="http://wordpress.org/extend/plugins/advanced-category-excluder/" >this plugin</a> that provides cms-like functions to exclude certain categories completely from specific parts of your blog.<br />
<br/><br />
If you don&#8217;t want to exclude posts from the sidebar you might also want to take a glance at this plugin: <a href="http://wordpress.org/extend/plugins/simply-exclude/" >Simply Exclude</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/pagenavi-not-working-on-front-page-if-you-exclude-categories.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Remove symbolic link to folder</title>
		<link>http://webmasterweblog.com/remove-symbolic-link-to-folder.html</link>
		<comments>http://webmasterweblog.com/remove-symbolic-link-to-folder.html#comments</comments>
		<pubDate>Thu, 02 Oct 2008 23:45:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/?p=55</guid>
		<description><![CDATA[If you created a symbolic link to a folder via &#8220;ln -s /source/ /target/&#8221; you have to be careful.
Should you accidently remove the symbolic link in your FTP application the real folder will be deleted as well. To avoid that simply use the command &#8220;rm -r /symboliclinkfolder&#8221; .
]]></description>
			<content:encoded><![CDATA[<p>If you created a symbolic link to a folder via <strong>&#8220;ln -s /source/ /target/&#8221;</strong> you have to be careful.<br />
Should you accidently remove the symbolic link in your FTP application the real folder will be deleted as well. To avoid that simply use the command <strong>&#8220;rm -r /symboliclinkfolder&#8221; </strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/remove-symbolic-link-to-folder.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adtoll Peel Adverts: Hide if Flash is not installed</title>
		<link>http://webmasterweblog.com/adtoll-peel-adverts-hide-if-flash-is-not-installed.html</link>
		<comments>http://webmasterweblog.com/adtoll-peel-adverts-hide-if-flash-is-not-installed.html#comments</comments>
		<pubDate>Sat, 19 Jul 2008 19:41:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/adtoll-peel-adverts-hide-if-flash-is-not-installed/</guid>
		<description><![CDATA[Well I wanted to try out Adtoll Peel Ads, that are those corner ads that are pretty neat.
As soon as I implemented it I noticed that it was asking me to install the Flash Player, this might be pretty annoying if you don&#8217;t want your visitors to install flash just for an advert. 
&#160;
Here is [...]]]></description>
			<content:encoded><![CDATA[<p>Well I wanted to try out Adtoll Peel Ads, that are those corner ads that are pretty neat.<br />
As soon as I implemented it I noticed that it was asking me to install the Flash Player, this might be pretty annoying if you don&#8217;t want your visitors to install flash just for an advert. </p>
<p>&nbsp;</p>
<p>Here is the solution, you can simply add before the </body> tag.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="java java" style="font-family:monospace;">&nbsp;
<span style="color: #339933;">&lt;</span>SCRIPT LANGUAGE<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;JavaScript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span> use <span style="color: #000000; font-weight: bold;">this</span> comment tag to hide the enclosed code from old browsers.
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #006633;">appName</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;Microsoft Internet Explorer&quot;</span> <span style="color: #339933;">&amp;&amp;</span>
    navigator.<span style="color: #006633;">appVersion</span>.<span style="color: #006633;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Mac&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span> 
     <span style="color: #339933;">&amp;&amp;</span>   navigator.<span style="color: #006633;">appVersion</span>.<span style="color: #006633;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;3.1&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> ||
&nbsp;
    <span style="color: #009900;">&#40;</span>navigator.<span style="color: #006633;">plugins</span> <span style="color: #339933;">&amp;&amp;</span> navigator.<span style="color: #006633;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;Shockwave Flash&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
                       || navigator.<span style="color: #006633;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;Shockwave Flash 2.0&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>SCRIPT<span style="color: #339933;">&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;!--</span> START ADTOLL.<span style="color: #006633;">COM</span> CODE V1.0 <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>SCRIPT src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;XXXXX YOUR ADTOLL URL XXXXX&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>SCRIPT<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span> END ADTOLL.<span style="color: #006633;">COM</span> CODE V1.0 <span style="color: #339933;">--&gt;</span>
&nbsp;
&nbsp;
<span style="color: #339933;">&lt;</span>SCRIPT LANGUAGE<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;JavaScript&quot;</span><span style="color: #339933;">&gt;</span>	
<span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">// Close the comment tag. --&gt;</span>
<span style="color: #339933;">&lt;/</span>SCRIPT<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/adtoll-peel-adverts-hide-if-flash-is-not-installed.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Managing Cronjobs via Crontab</title>
		<link>http://webmasterweblog.com/managing-cronjobs-via-crontab.html</link>
		<comments>http://webmasterweblog.com/managing-cronjobs-via-crontab.html#comments</comments>
		<pubDate>Mon, 14 Jul 2008 19:53:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webmasterweblog.com/managing-cronjobs-via-crontab/</guid>
		<description><![CDATA[To manage your cronjobs it is good to know that you can easily manage them via crontab instead of adding them cron.d 
crontab -l will show you your currently set up cron jobs on the server.
crontab -r will delete your current cron jobs.
crontab -e will allow you to add or edit your current cron jobs [...]]]></description>
			<content:encoded><![CDATA[<p>To manage your cronjobs it is good to know that you can easily manage them via crontab instead of adding them cron.d </p>
<p>crontab -l will show you your currently set up cron jobs on the server.<br />
crontab -r will delete your current cron jobs.<br />
crontab -e will allow you to add or edit your current cron jobs by using your default text editor to edit your &#8220;crontab file&#8221;.</p>
<p>Source: http://drupal.org/node/31548</p>
<p>To execute some commands just create a file with the extension .ssh, add #!/bin/sh at the first line, chmod it to 711 and add this cron to your crontab using the command above.  </p>
]]></content:encoded>
			<wfw:commentRss>http://webmasterweblog.com/managing-cronjobs-via-crontab.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
