<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><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:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Hot Scripts Blog</title>
	
	<link>http://www.hotscripts.com/blog</link>
	<description />
	<lastBuildDate>Mon, 16 Nov 2009 05:27:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/HotScriptsBlog" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Hot Scripts Forum Digest – Nov 8th, 2009</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/BhqM70mrXoE/</link>
		<comments>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-8th-2009/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 05:27:12 +0000</pubDate>
		<dc:creator>Pete Soheil</dc:creator>
				<category><![CDATA[Forum Digest]]></category>
		<category><![CDATA[programming forum digest]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=783</guid>
		<description><![CDATA[Welcome to another edition of the Hot Scripts Forum Digest.
Poll of the Week
What Open Source Software Development Sites do you use for either developing your open source projects or downloading existing Open Source Software? Let us know by voting on the following page.
Forum Topics Week in Review
Simple Email Notification  
How to send a simple [...]<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-8th-2009/">Hot Scripts Forum Digest &#8211; Nov 8th, 2009</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Welcome to another edition of the <a href="http://www.hotscripts.com/forums">Hot Scripts Forum</a> Digest.</p>
<h2>Poll of the Week</h2>
<p>What Open Source Software Development Sites do you use for either developing your open source projects or downloading existing Open Source Software? Let us know by voting on the <a href="http://www.hotscripts.com/forums/lounge/55883-what-open-source-software-development-site-do-you-use.html">following page</a>.</p>
<h2>Forum Topics Week in Review</h2>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/showthread.php?t=55827">Simple Email Notification  </a><br />
How to send a simple Email Notification in PHP </div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/javascript/55845-preventing-dupes-javascript-array.html">Prevent Duplicate Items In Array  </a><br />
Prevent duplicate items from getting populated in a PHP Array </div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/javascript/55856-js-code-disable-checkbox.html">Disable Checkbox  </a><br />
Simple way to disable a checkbox using JavaScript code. </div>
<p>Pete Soheil<br />
Hot Scripts Forum Administrator<br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
DigiOz Multimedia<br />
</em><a href="http://www.digioz.com"><em>www.digioz.com</em></a><br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</em></p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-8th-2009/">Hot Scripts Forum Digest &#8211; Nov 8th, 2009</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009&amp;bodytext=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20Open%20Source%20Software%20Development%20Sites%20do%20you%20use%20for%20either%20developing%20your%20open%20source%20projects%20or%20downloading%20existing%20Open%20Source%20Software%3F%20Let%20us%20know%20by%20votin" title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;t=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009&amp;notes=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20Open%20Source%20Software%20Development%20Sites%20do%20you%20use%20for%20either%20developing%20your%20open%20source%20projects%20or%20downloading%20existing%20Open%20Source%20Software%3F%20Let%20us%20know%20by%20votin" title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009&amp;source=Hot+Scripts+Blog+&amp;summary=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20Open%20Source%20Software%20Development%20Sites%20do%20you%20use%20for%20either%20developing%20your%20open%20source%20projects%20or%20downloading%20existing%20Open%20Source%20Software%3F%20Let%20us%20know%20by%20votin" title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009&amp;annotation=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20Open%20Source%20Software%20Development%20Sites%20do%20you%20use%20for%20either%20developing%20your%20open%20source%20projects%20or%20downloading%20existing%20Open%20Source%20Software%3F%20Let%20us%20know%20by%20votin" title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%208th%2C%202009&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-8th-2009%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/BhqM70mrXoE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-8th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-8th-2009/</feedburner:origLink></item>
		<item>
		<title>RSS: Really Simply Syndication</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/cqCMce1MMs0/</link>
		<comments>http://www.hotscripts.com/blog/rss-simply-syndication/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:14:55 +0000</pubDate>
		<dc:creator>DEVpapers</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=693</guid>
		<description><![CDATA[Using XML can provide an amazingly versatile method of syndicating content on your website. The most common usage today is that of the humble news/blog RSS feed.<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/rss-simply-syndication/">RSS: Really Simply Syndication</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>This paper summarises the basics of using RSS to provide syndicated content.  I will be using the <a href="http://blogs.law.harvard.edu/tech/rss">RSS 2.0</a> specification simply because that is my personal preference. There are a number of alternative specifications available, but I will not be looking that those.</p>
<p>The author, Peter Cowburn, has been working with XML in conjunction with a variety of other web technologies for over 6 years.</p>
<h2>RSS is XML</h2>
<p>That&#8217;s correct! Building on the amazingly versatile eXtensible Markup Language, RSS is a useful application of XML. This explains the way RSS is marked up in XML style tags.</p>
<h2>The Structure of RSS</h2>
<p>All RSS documents absolutely must contain the root element <code>&lt;rss&gt;</code> within which there can only be a single <code>&lt;channel&gt;</code> element. Do not do it any other way! The basic meaning when &#8216;reading&#8217; the RSS file is that first we are actually in an RSS document (the &#8220;rss&#8221; tag) and have a channel (the &#8220;channel&#8221; tag). Only three other tags are 100% necessary in any RSS document, namely; <code>&lt;title&gt;</code>, <code>&lt;link&gt;</code> and <code>&lt;description&gt;</code>.</p>
<p>There are a whole host of other tags which can optionally be used within the &#8220;channel&#8221; which are:<br />
<span style="font-family: courier new,courier,monospace;">category, cloud, copyright, docs, generator, image, item, language, lastBuildDate, managingEditor, pubDate, rating, skipDays, skipHours, textInput, ttl <span style="font-family: arial,helvetica,sans-serif;">and</span> webMaster.</span> Details of these are listed in the <a href="http://blogs.law.harvard.edu/tech/rss">specification</a>.  The commonly used ones are <span style="font-family: courier new,courier,monospace;">pubDate</span> and <span style="font-family: courier new,courier,monospace;">lastBuildDate</span> as they are of use to RSS Feed Aggregator programs.  However the most important is the <span style="font-family: courier new,courier,monospace;">item</span> tag!</p>
<h2>The item tag</h2>
<p>The channel can contain any number of items (though having none would be silly); think of them as stories in a newspaper or entries in a blog. The available tags which can be used within an item tag are <span style="font-family: courier new,courier,monospace;">author, category, comments, description, enclosure, guid, link, pubDate, source <span style="font-family: arial,helvetica,sans-serif;">and</span> title</span>.  Note that all of the tags are optional individually but the item tag must contain at the very least either a <span style="font-family: courier new,courier,monospace;">description</span> or <span style="font-family: courier new,courier,monospace;">title</span> tag.</p>
<h2>A bare-bones example</h2>
<p>Below is an example of a minimal RSS feed, note that this is not the absolute minimum required in an RSS document but just contains the most commonly used tags. Note: <span style="color: #009900;">required</span> tags are coloured green.</p>
<p><span style="font-family: courier new,courier,monospace;"><span style="color: #009900;">&lt;rss version=&#8221;2.0&#8243;&gt;</span><br style="color: #009900;" /> <span style="color: #009900;"> &lt;channel&gt;</span><br style="color: #009900;" /> <span style="color: #009900;"> &lt;title&gt;My Personal Blog&lt;/title&gt;</span><br style="color: #009900;" /> <span style="color: #009900;"> &lt;link&gt;http://www.mypersonalblog.com&lt;/link&gt;</span><br style="color: #009900;" /> <span style="color: #009900;"> &lt;description&gt;A small web log all about me.&lt;/description&gt;</span><br />
&lt;pubDate&gt;Tue, 2 Nov 2004 14:48:32 GMT&lt;/pubDate&gt;<br />
&lt;lastBuildDate&gt;Tue, 2 Nov 2004 14:48:32 GMT&lt;/lastBuildDate&gt;<br />
&lt;item&gt;<br />
</span><span style="font-family: courier new,courier,monospace;"> &lt;title&gt;The Weather Today&lt;/title&gt;<br />
</span><span style="font-family: courier new,courier,monospace;"> &lt;link&gt;http://www.mypersonalblog.com/the-weather-today/&lt;/link&gt;<br />
</span><span style="font-family: courier new,courier,monospace;"> &lt;description&gt;<br />
</span><span style="font-family: courier new,courier,monospace;"> </span><span style="font-family: courier new,courier,monospace;">I looked out of the window this morning and it was<br />
</span><span style="font-family: courier new,courier,monospace;"> </span><span style="font-family: courier new,courier,monospace;">pouring with rain. Obviously my first reaction<br />
</span><span style="font-family: courier new,courier,monospace;"> was to turn over and go back to sleep.</span><br />
<span style="font-family: courier new,courier,monospace;"> </span><span style="font-family: courier new,courier,monospace;">&lt;/description&gt;<br />
</span><span style="font-family: courier new,courier,monospace;"> &lt;/item&gt;</span><br />
<span style="font-family: courier new,courier,monospace;"><span style="color: #009900;"> &lt;/channel&gt;</span><br style="color: #009900;" /> <span style="color: #009900;">&lt;/rss&gt;</span></span></p>
<h2>More real-world example</h2>
<p>Most commonly RSS documents are used for news/blog feeds, so I will give you a quick example (modified from my own web log). Note the various groups of tags are coloured to distinguish groups.</p>
<p><span style="font-family: courier new,courier,monospace; color: #330000;">&lt;rss version=&#8221;2.0&#8243;&gt;</span><br style="font-family: courier new,courier,monospace; color: #330000;" /> <span style="font-family: courier new,courier,monospace; color: #330000;"> &lt;channel&gt;</span><br style="font-family: courier new,courier,monospace; color: #333333;" /> <span style="font-family: courier new,courier,monospace; color: #333333;"> <span style="color: #006600;">&lt;title&gt;cowburn&lt;/title&gt;</span></span><br style="font-family: courier new,courier,monospace; color: #006600;" /> <span style="font-family: courier new,courier,monospace; color: #006600;"> &lt;link&gt;http://blog.cowburn.info/&lt;/link&gt;</span><br style="font-family: courier new,courier,monospace; color: #006600;" /> <span style="font-family: courier new,courier,monospace; color: #006600;"> &lt;description&gt;Web, Life and Photography&lt;/description&gt;</span><br style="font-family: courier new,courier,monospace; color: #006600;" /> <span style="font-family: courier new,courier,monospace; color: #006600;"> &lt;language&gt;en-us&lt;/language&gt;</span><br style="font-family: courier new,courier,monospace; color: #006600;" /> <span style="font-family: courier new,courier,monospace; color: #006600;"> &lt;pubDate&gt;Tue, 2 Nov 2004 14:48:32 GMT&lt;/pubDate&gt;</span><br style="font-family: courier new,courier,monospace; color: #006600;" /> <span style="font-family: courier new,courier,monospace; color: #006600;"> &lt;lastBuildDate&gt;Tue, 2 Nov 2004 14:48:32 GMT&lt;/lastBuildDate&gt;</span><br style="font-family: courier new,courier,monospace; color: #333333;" /> <span style="font-family: courier new,courier,monospace; color: #333333;"> <span style="color: #003366;">&lt;item&gt;</span></span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;title&gt;So you want a photolog?&lt;/title&gt;</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;link&gt;http://blog.cowburn.info/archives/2004/11/2/photolog/&lt;/link&gt;</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;description&gt;</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> I have been working on re-arranging this site so that the different </span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> areas (Blog, Photos, etc) will all appear consistantly, styled along </span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> the same theme.</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;/description&gt;</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;pubDate&gt;Tue, 2 Nov 2004 14:48:32 GMT&lt;/pubDate&gt;</span><br style="font-family: courier new,courier,monospace; color: #003366;" /> <span style="font-family: courier new,courier,monospace; color: #003366;"> &lt;/item&gt;</span><br style="font-family: courier new,courier,monospace; color: #333333;" /> <span style="font-family: courier new,courier,monospace; color: #333333;"> <span style="color: #990000;">&lt;item&gt;</span></span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;title&gt;Got Logo?&lt;/title&gt;</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;link&gt;http://blog.cowburn.info/archives/2004/11/1/logo/&lt;/link&gt;</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;description&gt;</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> Out of the goodness of my heart, I have decided to help those </span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> designers out who are non-logoly gifted in a contest which is </span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> going on over at yaXay currently.</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;/description&gt;</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;pubDate&gt;Mon, 1 Nov 2004 19:12:02 GMT&lt;/pubDate&gt;</span><br style="font-family: courier new,courier,monospace; color: #990000;" /> <span style="font-family: courier new,courier,monospace; color: #990000;"> &lt;/item&gt;</span><br style="font-family: courier new,courier,monospace; color: #333333;" /> <span style="font-family: courier new,courier,monospace; color: #333333;"> <span style="color: #330066;">&lt;item&gt;</span></span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;title&gt;Birnie 2004&lt;/title&gt;</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;link&gt;http://blog.cowburn.info/archives/2004/10/30/birnie/&lt;/link&gt;</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;description&gt;</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> For those of you wondering where on earth I have been for the </span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> past month or so, fear not for I am about to enlighten you. </span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> I have been digging up in the North East of Scotland excavating </span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> the lovely settlement site of Birnie in Moray.</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;/description&gt;</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;pubDate&gt;Sat, 30 Oct 2004 22:19:58 GMT&lt;/pubDate&gt;</span><br style="font-family: courier new,courier,monospace; color: #330066;" /> <span style="font-family: courier new,courier,monospace; color: #330066;"> &lt;/item&gt;</span><br style="font-family: courier new,courier,monospace; color: #333333;" /> <span style="font-family: courier new,courier,monospace; color: #333333;"> <span style="color: #330000;">&lt;/channel&gt;</span></span><br style="font-family: courier new,courier,monospace; color: #330000;" /> <span style="font-family: courier new,courier,monospace; color: #330000;">&lt;/rss&gt;</span></p>
<h2>Summary</h2>
<p>So, essentially we have covered the very basics of what RSS is all about and what the documents look like.  In the real world RSS documents are generally generated on-the-fly whenever a new news article or blog entry is published.  This is an area not to be covered in this paper but there are many methods of achieving this to be found around the internet.</p>
<p>Happy publishing!</p>
<div class="hotlist"><strong>About the Author: Peter Cowburn</strong></div>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/rss-simply-syndication/">RSS: Really Simply Syndication</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication&amp;bodytext=Using%20XML%20can%20provide%20an%20amazingly%20versatile%20method%20of%20syndicating%20content%20on%20your%20website.%20The%20most%20common%20usage%20today%20is%20that%20of%20the%20humble%20news%2Fblog%20RSS%20feed." title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;t=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication&amp;notes=Using%20XML%20can%20provide%20an%20amazingly%20versatile%20method%20of%20syndicating%20content%20on%20your%20website.%20The%20most%20common%20usage%20today%20is%20that%20of%20the%20humble%20news%2Fblog%20RSS%20feed." title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication&amp;source=Hot+Scripts+Blog+&amp;summary=Using%20XML%20can%20provide%20an%20amazingly%20versatile%20method%20of%20syndicating%20content%20on%20your%20website.%20The%20most%20common%20usage%20today%20is%20that%20of%20the%20humble%20news%2Fblog%20RSS%20feed." title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F&amp;title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication&amp;annotation=Using%20XML%20can%20provide%20an%20amazingly%20versatile%20method%20of%20syndicating%20content%20on%20your%20website.%20The%20most%20common%20usage%20today%20is%20that%20of%20the%20humble%20news%2Fblog%20RSS%20feed." title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Hot+Scripts+Blog%3A%20Really%20Simply%20Syndication&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Frss-simply-syndication%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/cqCMce1MMs0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/rss-simply-syndication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/rss-simply-syndication/</feedburner:origLink></item>
		<item>
		<title>OOP in JavaScript</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/23hDMXU6Q-4/</link>
		<comments>http://www.hotscripts.com/blog/oop-javascript/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:13:08 +0000</pubDate>
		<dc:creator>DEVpapers</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=695</guid>
		<description><![CDATA[The article by Sergey Zavadski introduces the object model of the JavaScript programming language and demonstrates common practices in the OOP (object oriented programming) with the JavaScript.<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/oop-javascript/">OOP in JavaScript</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong><em>OOP in JavaScript.</em></strong></p>
<p>The article by Sergey Zavadski introduces the object model of the JavaScript programming language and demonstrates common practices in the OOP (object oriented programming) with the JavaScript.</p>
<p><strong><em>Simplicity of the JavaScript.</em></strong></p>
<p>JavaScript is proven to be the one of the simplest programming languages to learn and use. Minor snippet of the code (in fact one string) performs various actions like creating of the windows or changing the text in the status bar. The flexibility, short learning curve and the fact that JavaScript is not “strongly typed” language explains extreme popularity of the JavaScript among the web masters community which selected this language as the language of choice to provide the static HTML pages with the dynamic attractive content.</p>
<p><strong><em>The powerful tool.</em></strong></p>
<p>However in spite of its visible simplicity the JavaScript, when following the DOM specifications, is quite advanced and powerful tool providing all the required facilities for the creation of the complex solutions (client side) such as menus, trees, grids. These possibilities are actually reflecting the JavaScript’s power when it comes to the layers manipulations. Not the last reason for this power is OOP structure of the JavaScript programming language which was planned and implemented as an object oriented language!</p>
<p><strong><em>Object model.</em></strong></p>
<p>The JavaScript object is the entity with the properties that can be either other objects or variables. For example we have ‘Country_Italy’ object. We can assign the values to the properties of this object like this:</p>
<p>Country_Italy.Name=”Italy”;</p>
<p>Country_Italy.Capital=”Rome”;</p>
<p>Country_Italy.Area=301000;</p>
<p>However the ‘Country_Italy’ object itself can be the property of other object:</p>
<p>Europe.MostBeautifulCountry= Country_Italy;</p>
<p>JavaScript comes with the library of the built-in objects like ‘Window’, ‘Math’, ‘String’ and many others. But what makes the language really flexible is the ability of creating own custom objects. There are two possible methods for making custom objects in the JavaScript. First one is using of the direct initialization. The code in this case may look like this:</p>
<p>Country={Name:”France”,Capital:”Paris”,Government:{President:”Jacques Chirac”}};</p>
<p>We have created the Country object with the ‘Name’, ‘Capital’ and ‘Government’ properties and the ‘Government’ property is the object with own list of properties. We’ve also initialized these properties with the initial values. All is done in the one single string. The following construction creates and initializes the empty object:</p>
<p>Country={};</p>
<p>Another way to create objects in the JavaScript is defining the special function constructor for the object and initialization of the object with the ‘new’ operator. For example:</p>
<p>function Country(Name,Capital,Population){</p>
<p>this.Name=Name;</p>
<p>this.Capital=Capital;</p>
<p>this.Population=Population;</p>
<p>}</p>
<p>The ‘Country’ function is the constructor function. Now to create the object using this defined constructor we use the new operator:</p>
<p>Country_Italy=new Country(“Italy”,”Rome”,301000);</p>
<p>Just like in the previous example the property can be the object itself:</p>
<p>function Government(President){</p>
<p>this.President=President;</p>
<p>}</p>
<p>function Country(Name,Capital,Government){</p>
<p>this.Name=Name;</p>
<p>this.Capital=Capital;</p>
<p>this.Government=Government;</p>
<p>}</p>
<p>Government_France=new Government(“Jacques Chirac”);</p>
<p>Country_France=new Country(“France”,”Paris”,Government_France);</p>
<p>Another advantage of the OOP fully implemented in the JavaScript is that the object can have the methods (not only properties). The methods are the functions described within the object scope that usually operate with object’s properties. The methods are described much like the properties:</p>
<p>function describeCountry(){</p>
<p>var desc=”Name: ”+this.Name+” Capital: ”+</p>
<p>this.Capital+” Population: “+this.Population;</p>
<p>alert(desc);</p>
<p>}</p>
<p>In the above definition this operator provides an access to the object the described method belongs to.</p>
<p>Country_Italy.describeCountry=describeCountry;</p>
<p>The construction below fully repeats the above one:</p>
<p>Country_Italy.describeCountry=function(){</p>
<p>var desc=”Name: ”+this.Name+” Capital: ”+</p>
<p>this.Capital+” Population: “+this.Population;</p>
<p>alert(desc);</p>
<p>}</p>
<p>The construction:</p>
<p>Country_Italy.describeCountry();</p>
<p>calls the ‘describeCountry’ method of the ‘Country_Italy’ object.</p>
<p><strong><em>Prototypes based object oriented language.</em></strong></p>
<p>Unlike some other popular OO languages (Java, C++) whose object model is based on the classes the object model of the JavaScript is based on the prototypes. The main difference between those two approaches is that in the prototype based language there’s no difference between the class and the class instance entities – you only deal with the objects.</p>
<p>The prototype (can be viewed as a template that defines the way initial object’s properties values are assigned) is any object declared with the prototype operator. This object can be the parent of any newly created object and this is how the JavaScript supports inheritance – important OOP language characteristic. Let’s see our Country object:</p>
<p>function Country(Name,Capital,Population){</p>
<p>this.Name=Name;</p>
<p>this.Capital=Capital;</p>
<p>this.Population=Population;</p>
<p>}</p>
<p>Now let’s declare ‘Cn’ &#8211; the ‘Country’ object prototype:</p>
<p>Cn=Country.prototype;</p>
<p>Cn.describeCountry=function(){</p>
<p>var desc=”Name: ”+this.Name+” Capital: ”+</p>
<p>this.Capital+” Population: “+this.Population;</p>
<p>alert(desc);</p>
<p>}</p>
<p>Now we can call the ‘describeCountry’ method in any ‘Country’ descendant with only two strings of code:</p>
<p>Country_Italy=new Country(“Italy”,”Rome”,301000);</p>
<p>Country_Italy.describeCountry();</p>
<p>Using this approach we can define in the prototype any number of the methods and properties. Defining methods and properties in the prototype rather then defining them directly for each object gives many advantages:</p>
<p>-        You don’t have to define all required methods or properties any time the object is created. You define all the necessary methods and properties in the prototype and then all you have to do is to create the object.</p>
<p>-        Makes your code more secure since you can keep all object definitions in the separate file</p>
<p>-        Makes your code easier to read</p>
<p><strong>Inheritance.</strong></p>
<p>JavaScript also supports the inheritance mechanism that is the corner-stone of the OOP.<br />
To show the easiness of the JavaScript inheritance mechanism let’s review two already defined objects of ours ‘Country’ and ‘Government’ and one new object ‘Parliament’. Let’s assume that these objects have the following object hierarchy:</p>
<p>Constructor functions for these objects will look like these:</p>
<p>function Country(Name,Capital,Population){<br />
this.Name=Name;<br />
this.Capital=Capital;<br />
this.Population=Population;<br />
}</p>
<p>function Government(President){<br />
this.President=President;<br />
}</p>
<p>function Parliament(Speaker){<br />
this.Speaker=Speaker;<br />
}</p>
<p>Take a look at the ‘Country’ object prototype.</p>
<p>Cn=Country.prototype;</p>
<p>Cn.describeCountry=function(){<br />
var desc=”Name: ”+this.Name+” Capital: ”+<br />
this.Capital+” Population: “+this.Population;<br />
alert(desc);<br />
}<br />
The following construction defines ‘Country’ as ‘Government’ prototype (‘Government’ inherits the ‘Country’):<br />
Government.prototype=new Country(&#8221;France&#8221;,&#8221;Paris&#8221;,59330000);</p>
<p>When ‘Government’ object is created it inherits all the ‘Country’ methods and properties. In other words, although ‘describeCountry()’ method is not defined for ‘Government’ object it is available since ‘Country’ object is defined as ‘Government’ prototype.<br />
Government_France=new Government(&#8221;Jacques Chirac&#8221;);<br />
Government_France.describeCountry();</p>
<p>New methods can also be defined for the ‘Government_France’ object:</p>
<p>Government_France.describeGovernment=function(){<br />
alert(“President: ”+this.President);<br />
}<br />
Let’s complete the ‘Parliament’ object definitions.</p>
<p>Parliament.prototype=new Country(&#8221;France&#8221;,&#8221;Paris&#8221;,59330000);<br />
Pn=Parliament.prototype;<br />
Pn.describeParliament=function(){<br />
alert(&#8221;Speaker: &#8220;+this.Speaker);<br />
}</p>
<p>Parliament_France=new Parliament(&#8221;Jean-Louis Debre&#8221;);<br />
As you can see prototypes can also be modified for the inherited objects.</p>
<p>The above examples demonstrates elegance of the JavaScript OOP model which enables this easy to learn language perform variety of the complex tasks for the real life programming.</p>
<p><strong>Real life example.<br />
</strong><br />
This very OOP approach was used in our company when we developed the CodeThat.Com’s set of the web controls. For example the ‘CodeThatCalendar’ is nothing but an object declared as:</p>
<p>function CodeThatCalendar(def) {<br />
this.def = def;<br />
this.links = {};<br />
this.styles = {};<br />
this.hideifr = true;</p>
<p>if (typeof(this.def.img_path)!=&#8221;undefined&#8221;) {<br />
if (this.def.img_path.lastIndexOf(&#8221;\/&#8221;)!=this.def.img_path.length-1) this.def.img_path=this.def.img_path+&#8221;\/&#8221;;<br />
}</p>
<p>if (typeof(this.def.template_path)!=&#8221;undefined&#8221;) {<br />
if (this.def.template_path.lastIndexOf(&#8221;/&#8221;)!=this.def.template_path.length-1) this.def.template_path=this.def.template_path+&#8221;/&#8221;;<br />
if (this.def.template_path.indexOf(&#8221;\/&#8221;)!=0)<br />
if (typeof(this.def.img_path)!=&#8221;undefined&#8221; &amp;&amp; this.def.img_path.indexOf(&#8221;\/&#8221;)!=0) {<br />
s=this.def.template_path;<br />
a=s.split(&#8221;/&#8221;);<br />
a.length=a.length-1;<br />
t=&#8221;";<br />
for (i=0; i&lt;a.length; i++){<br />
t=t+&#8221;../&#8221;;<br />
}<br />
this.img_path=t+this.def.img_path;<br />
}<br />
}<br />
};</p>
<p>var CTc = CodeThatCalendar.prototype;</p>
<p>CTc.hide = function()<br />
{<br />
…<br />
}</p>
<p>CTc.create = function(d,ctl) {<br />
…<br />
}</p>
<p>Various methods of the control work with the layers giving the control fancy look and feel and enabling user perform various actions the calendar supposed to do. For example, the below function sets the value of the HTML form control to the date user have selected.  This is performed each time user clicks the calendar date.</p>
<p>function CodeThatSetDay(c,f,d,m,y,i,ifr) {<br />
var doc;<br />
var w = window.opener||this.parent;</p>
<p>if(w&amp;&amp;!i)<br />
doc = w.document;<br />
else<br />
doc = document;<br />
var e = CodeThatFind(doc,c);<br />
if(Def(e))<br />
{<br />
e.value=CodeThatDateFormat(f,d,m,y);<br />
if(e.fireEvent) e.fireEvent(&#8221;onchange&#8221;);<br />
else {<br />
if(e.onchange) e.onchange();<br />
}<br />
}</p>
<p>if(w&amp;&amp;!i)<br />
{</p>
<p>if(Def(w) &amp;&amp; Def(ifr))<br />
{<br />
var iframe = CodeThatFind(doc,ifr);<br />
if(Def(iframe))<br />
iframe.style.visibility = &#8216;hidden&#8217;;<br />
if(ua.opera6)<br />
{<br />
var d = CodeThatFind(doc,&#8221;calendar_div&#8221;);<br />
if(Def(d))<br />
d.style.visibility=&#8217;hidden&#8217;;<br />
}<br />
}<br />
else<br />
{<br />
window.close();<br />
}<br />
}<br />
};</p>
<p>(The examples of CodeThatCalendar functions are not fully functional. They are listed here for illustrative purposes).</p>
<p>As you can see JavaScript is indeed powerful and user friendly programming language with many abilities which help to create really complex and interesting solutions. Since the DOM model is supported by majority of modern browsers you can be sure your solution will be accessible for the majority of users. Of course there’s much more to learn in the JavaScript: events, DOM, layers, and the cross-browser portability is also not always that transparent but this is for another story or&#8230; several stories.</p>
<p><strong>Author.</strong></p>
<p>About the author: Sergey Zavadski is one of the core JavaScript developers at CodeThat.Com (<a href="http://www.codethat.com/">http://www.codethat.com/</a>) He has developed number of the scripts offered by the company and leads the customers support department.</p>
<p>Article original: <a href="http://www.codethat.com/doc/articles/article_jsoop.pdf">http://www.codethat.com/doc/articles/article_jsoop.pdf</a></p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/oop-javascript/">OOP in JavaScript</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript&amp;bodytext=The%20article%20by%20Sergey%20Zavadski%20introduces%20the%20object%20model%20of%20the%20JavaScript%20programming%20language%20and%20demonstrates%20common%20practices%20in%20the%20OOP%20%28object%20oriented%20programming%29%20with%20the%20JavaScript." title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;t=OOP%20in%20JavaScript" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript&amp;notes=The%20article%20by%20Sergey%20Zavadski%20introduces%20the%20object%20model%20of%20the%20JavaScript%20programming%20language%20and%20demonstrates%20common%20practices%20in%20the%20OOP%20%28object%20oriented%20programming%29%20with%20the%20JavaScript." title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript&amp;source=Hot+Scripts+Blog+&amp;summary=The%20article%20by%20Sergey%20Zavadski%20introduces%20the%20object%20model%20of%20the%20JavaScript%20programming%20language%20and%20demonstrates%20common%20practices%20in%20the%20OOP%20%28object%20oriented%20programming%29%20with%20the%20JavaScript." title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F&amp;title=OOP%20in%20JavaScript&amp;annotation=The%20article%20by%20Sergey%20Zavadski%20introduces%20the%20object%20model%20of%20the%20JavaScript%20programming%20language%20and%20demonstrates%20common%20practices%20in%20the%20OOP%20%28object%20oriented%20programming%29%20with%20the%20JavaScript." title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=OOP%20in%20JavaScript&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Foop-javascript%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/23hDMXU6Q-4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/oop-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/oop-javascript/</feedburner:origLink></item>
		<item>
		<title>PHP Automated Thumbnails</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/Uf6MKIkJ7wc/</link>
		<comments>http://www.hotscripts.com/blog/php-automated-thumbnails/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:13:03 +0000</pubDate>
		<dc:creator>DEVpapers</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=701</guid>
		<description><![CDATA[The idea is simple, yet powerful: supply an image once; retrieve it in all possible formats, sizes and file types. We will build a PHP script that will automate these actions for us.<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/php-automated-thumbnails/">PHP Automated Thumbnails</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Verdana; "><strong>The Idea</strong></span></p>
<p>We would like to use the URL of the image to supply our wishes to the script. A possible URL could be: <a href="http://www.example.com/img.php?f%283cb7f702a5967%29+w%28300"><span style="font-family: Verdana; color: #ff4500; ">http://www.example.com/img.php?f(3cb7f702a5967)+w(300</span></a><span style="font-family: Verdana; "><span style="color: #ff4500;">)</span> Using this URL, we would like to get the image identified by 3cb7f702a5967, resized to a width of 300 pixels and the corresponding height. The possibilities of our newly created script will be: </span></p>
<ul>
<li><span style="font-family: Verdana; ">resize an image to a given width and/or height, possibly preserve the aspect ration </span></li>
<li><span style="font-family: Verdana; ">accept new image sizes as absolute values, and as percentages of the original size </span></li>
<li><span style="font-family: Verdana; ">resize an image when width or height exceed a given limit; </span></li>
<li><span style="font-family: Verdana; ">return the image as a PNG or JPEG-file. </span></li>
</ul>
<p><span style="font-family: Verdana; "> </span></p>
<p><span style="font-family: Verdana; "><br />
<strong>What We Need</strong></span></p>
<p>To build and use this script, you will need <a href="http://www.php.net/" target="_blank">PHP </a>compiled with the <a href="http://www.boutell.com/gd/" target="_blank">GD</a> library and JPEG-support.</p>
<p><span style="font-family: Verdana; "><strong>The Syntax</strong></span></p>
<p>For telling our script what to return, we will use the following syntax. The arguments are delimited by one or more +-es. An example URL could be: <a href="http://www.example.com/img.php?f%283cb7f702a5967%29+w%28300"><span style="font-family: Verdana; color: #ff4500; ">http://www.example.com/img.php?f(3cb7f702a5967)+w(300</span></a><span style="font-family: Verdana; "><span style="color: #ff4500;">)</span> </span></p>
<table border="0" cellspacing="2" cellpadding="2" width="100%">
<tbody>
<tr>
<td><span style="font-family: Verdana;"> <strong><span>Code </span></strong></span></td>
<td><span style="font-family: Verdana;"> <span><strong> Meaning</strong> </span></span></td>
</tr>
<tr>
<td><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff4500;">f(3cb7f702a5967)</span> </span></td>
<td><span style="font-family: Verdana;"><span>The 13-character filename of the requested image. The images are saved without an extension, with the name defined by the current value of uniqid();. That way, new uploaded files will automatically have an unique id. </span></span></td>
</tr>
<tr>
<td><span style="font-family: Verdana;"><span><span style="font-family: Courier New; color: #ff4500;">w(123)</span> or <span style="color: #ff4500;">w(10%)</span></span> </span></td>
<td><span style="font-family: Verdana;"><span>The wanted width of the returned image, either in absolute pixels or relative to the original size. </span></span></td>
</tr>
<tr>
<td><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff4500;">h(123)</span> or <span style="font-family: Courier New; color: #ff4500;">h(10%)</span></span></td>
<td><span style="font-family: Verdana; ">Same as above, but this is for the height of the image. When just one of the size-commands are given, the other size is automatically calculated, so that de aspect ratio of the image stays the same.</span></td>
</tr>
<tr>
<td><span style="font-family: Verdana;"><span><span style="font-family: Courier New; color: #ff4500;">x(123)</span> </span></span></td>
<td><span style="font-family: Verdana; ">Defines the maximum width of the returned image. Resizing only takes place if the original width exceeds the given maximum. Only absolute values are accepted. </span></td>
</tr>
<tr>
<td><span style="font-family: Verdana;"><span><span style="font-family: Courier New; color: #ff4500;">y(123)</span> </span></span></td>
<td><span style="font-family: Verdana; ">Same but for height. </span></td>
</tr>
<tr>
<td><span style="font-family: Courier New; color: #ff4500; ">t(png|jpg)</span></td>
<td><span style="font-family: Verdana;"><span>Defines the requested file type of the image. If no type is given, the image is returned as the original saved type. </span></span></td>
</tr>
<tr>
<td><span style="font-family: Verdana;"><span><span style="font-family: Courier New; color: #ff4500;">q(100)</span> </span></span></td>
<td><span style="font-family: Verdana; ">Only for JPEG. Asks for a specific quality of the returned image. Quality can vary from 0 to 100. </span></td>
</tr>
</tbody>
</table>
<p><span style="font-family: Verdana; "><strong>The Script</strong></span></p>
<p>Now that we have defined the syntax of the script, it is time to take a closer look at the actual code.</p>
<p><span style="font-family: Verdana; "><strong>Checking the arguments</strong></span></p>
<p>First of all, the given arguments are read from the query string by a simple preg. The regular expression returns all possible tags. Then the tags have to be checked for incorrect values. Defining an array of possible tags and corresponding regular expressions, is an easy way to check the tags in a for-loop. The checked and correct tags are saved in an associative array for later use. As a last check, the script verifies that a filename is given and that that file really does exist.</p>
<p><span style="font-family: Courier New; color: #ff4500; ">// define the base image dir<br />
$base_img_dir = \&#8221;./img/\&#8221;;</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// find tags<br />
preg_match_all(\&#8221;/\\+*(([a-z])\\(([^\\)]+)\\))\\+*/\&#8221;, $QUERY_STRING,<br />
$matches, PREG_SET_ORDER);</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// empty array and set regular expressions for the check<br />
$tags = array();<br />
$check = array( \&#8221;f\&#8221; =&gt; \&#8221;[0-9a-zA-Z]{13}\&#8221;,<br />
\&#8221;w\&#8221; =&gt; \&#8221;[0-9]+%?\&#8221;,<br />
\&#8221;h\&#8221; =&gt; \&#8221;[0-9]+%?\&#8221;,<br />
\&#8221;x\&#8221; =&gt; \&#8221;[0-9]+\&#8221;,<br />
\&#8221;y\&#8221; =&gt; \&#8221;[0-9]+\&#8221;,<br />
\&#8221;t\&#8221; =&gt; \&#8221;jpg|png\&#8221;,<br />
\&#8221;q\&#8221; =&gt; \&#8221;1?[0-9]{1,2}\&#8221; );</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// check tags and save correct values in array<br />
for ($i=0; $i&lt;count($matches); $i++) {<br />
if (isset($check[$matches[$i][2]])) {<br />
if (preg_match(\&#8217;/^(\&#8217;.$check[$matches[$i][2]].\&#8217;)$/\&#8217;,<br />
$matches[$i][3])) {<br />
$tags[$matches[$i][2]] = $matches[$i][3];<br />
}<br />
}<br />
}</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">function notfound() {<br />
header(\&#8221;HTTP/1.0 404 Not Found\&#8221;);<br />
exit;<br />
}</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// check that filename is given<br />
if (!isset($tags[\"f\"])) {<br />
notfound();<br />
}</span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff4500;">// check if file exists<br />
if (!file_exists($base_img_dir.$tags[\"f\"])) {<br />
notfound();<br />
}<br />
</span></span></p>
<p><span style="font-family: Verdana; "><strong>Loading the Image</strong></span></p>
<p>The next step is the actual loading of the image. The getimagesize(); function is used to determine the file type, and then the correct method is used to load the image. In case the requested type of the returned image is not given, the file type of the original image is set as a default.</p>
<p><span style="font-family: Courier New; color: #ff4500; ">// retrieve file info<br />
$imginfo = getimagesize($base_img_dir.$tags[\"f\"]);</span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff4500;">// load image<br />
switch ($imginfo[2]) {<br />
case 2:     // jpg<br />
$img_in = imagecreatefromjpeg($base_img_dir.$tags[\"f\"]) or notfound();<br />
if (!isset($tags[\"t\"])) {<br />
$tags[\"t\"] = \&#8221;jpg\&#8221;;<br />
}<br />
break;<br />
case 3:     // png<br />
$img_in = imagecreatefrompng($base_img_dir.$tags[\"f\"]) or notfound();<br />
if (!isset($tags[\"t\"])) {<br />
$tags[\"t\"] = \&#8221;png\&#8221;;<br />
}<br />
break;<br />
default:<br />
notfound();<br />
}</span></span></p>
<p><strong>Possible resize</strong></p>
<p>The most important part of the script is, of course, the resize. First, we have to look whether or not a resize is needed. When width or height tags are given, the new width and height are calculated using the size of the original image. The new size is used to copy the original image to the new, resized instance.</p>
<p><span style="font-family: Courier New; color: #ff4500; ">// check for maximum width and height<br />
if (isset($tags[\"x\"])) {<br />
if ($tags[\"x\"] &lt; imagesx($img_in)) {<br />
$tags[\"w\"] = $tags[\"x\"];<br />
}<br />
}<br />
if (isset($tags[\"y\"])) {<br />
if ($tags[\"y\"] &lt; imagesy($img_in)) {<br />
$tags[\"h\"] = $tags[\"y\"];<br />
}<br />
}</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// check for need to resize<br />
if (isset($tags[\"h\"]) or isset($tags[\"w\"])) {<br />
// convert relative to absolute<br />
if (isset($tags[\"w\"])) {<br />
if (strstr($tags[\"w\"], \&#8221;%\&#8221;)) {<br />
$tags[\"w\"] = (intval(substr($tags[\"w\"],0,-1))/100)*$imginfo[0];<br />
}<br />
}<br />
if (isset($tags[\"h\"])) {<br />
if (strstr($tags[\"h\"], \&#8221;%\&#8221;)) {<br />
$tags[\"h\"] = (intval(substr($tags[\"h\"],0,-1))/100)*$imginfo[1];<br />
}<br />
}</span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff4500;"> // resize<br />
if (isset($tags[\"w\"]) and isset($tags[\"h\"])) {<br />
$out_w = $tags[\"w\"];<br />
$out_h = $tags[\"h\"];<br />
} elseif (isset($tags[\"w\"]) and !isset($tags[\"h\"])) {<br />
$out_w = $tags[\"w\"];<br />
$out_h = $imginfo[1] * ($tags[\"w\"] / $imginfo[0]);<br />
} elseif (!isset($tags[\"w\"]) and isset($tags[\"h\"])) {<br />
$out_w = $imginfo[0] * ($tags[\"h\"] / $imginfo[1]);<br />
$out_h = $tags[\"h\"];<br />
} else {<br />
$out_w = $tags[\"w\"];<br />
$out_h = $tags[\"h\"];<br />
}</span></span></p>
<p>// new image in $img_out<br />
$img_out = imagecreate($out_w, $out_h);<br />
imagecopyresized($img_out,$img_in,0,0,0,0,imagesx($img_out),<br />
imagesy($img_out),imagesx($img_in),imagesy($img_in));<br />
} else {<br />
// no resize needed<br />
$img_out = $img_in;<br />
}</p>
<p>If you\&#8217;re using version 2 of the GD-library, you can use imagecreatetruecolor() instead of imagecreate() and imagecopyresampled() instead of imagecopyresampled(). This will get you a much nicer image. (Thanks to Helison Santos, who commented on this.)</p>
<p><span style="font-family: Verdana; "><strong>Returning the image</strong></span></p>
<p>The last step in our script is the actual returning of the image. The image and corresponding headers are returned as set in the query string. If the wanted type is not given, the image is returned as the original type of the saved file.</p>
<p><span style="font-family: Courier New; color: #ff4500; ">// check for a given jpeg-quality, otherwise set to default<br />
if (!isset($tags[\"q\"])) {<br />
$tags[\"q\"] = 75;<br />
}</span></p>
<p><span style="font-family: Courier New; color: #ff4500; ">// returning the image<br />
switch ($tags[\"t\"]) {<br />
case \&#8221;jpg\&#8221;:<br />
header(\&#8221;Content-type: image/jpeg\&#8221;);<br />
imagejpeg($img_out, \&#8221;\&#8221;, $tags[\"q\"]);<br />
exit;<br />
case \&#8221;png\&#8221;:<br />
header(\&#8221;Content-type: image/png\&#8221;);<br />
imagepng($img_out);<br />
exit;<br />
default:<br />
notfound();<br />
}</span></p>
<p><span style="font-family: Verdana; "><br />
<strong>What We Did </strong></span></p>
<p>Now we have a script that fulfils the tasks we described above. Images are uploaded once and can be resized to whatever you want, without manual action. For the editors, the users of your CMS, uploading images is very simple. They upload the file in the size and type they want, and the script takes care of the resizing and converting. Without more work, your site can show thumbnails in many different sizes. If you, in the near future, would like to redesign your site, it is easy to get a new image size, without having to resize your whole archive.</p>
<p><span style="font-family: Verdana; ">The complete script discussed above, is available for download here. A demo of the script is running here, change the arguments in the query string to try the different commands like w() and t(). </span></p>
<p><span style="font-family: Verdana; "><strong>Where to go from here</strong></span></p>
<p>Some thoughts about possible extensions of this script:</p>
<p><span style="font-family: Verdana; ">Enabling GIF-output. Using the command-line pngtopnm and pmmtogif programs, you can convert PNG-images to GIF on the fly. That way, you do not have to worry about older browsers not supporting the PNG-format.<br />
Uploading of files in more formats. For the users of your CMS, it would be very easy if they could upload images as GIF, Windows bitmaps and TIFF. Using open source conversion utilities, you can still save these images as PNG of JPEG after uploading.<br />
Using normal filenames for the images. Filenames generated with uniqid(); are easy and unique, but not very descriptive.<br />
Saving file information like default ALT-tags in a database. You can easily find images for use in articles.</span></p>
<div class="hotlist"><strong>About the Author: Gijs van Tulder</strong><br />
<a href="http://vantulder.net/">Gijs</a> is a full time Dutch student in economics and a spare time Web developer. He spends his time developing scripts using PHP, MySQL and other external programs.</div>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/php-automated-thumbnails/">PHP Automated Thumbnails</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20&amp;bodytext=The%20idea%20is%20simple%2C%20yet%20powerful%3A%20supply%20an%20image%20once%3B%20retrieve%20it%20in%20all%20possible%20formats%2C%20sizes%20and%20file%20types.%20We%20will%20build%20a%20PHP%20script%20that%20will%20automate%20these%20actions%20for%20us." title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;t=PHP%20Automated%20Thumbnails%20" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20&amp;notes=The%20idea%20is%20simple%2C%20yet%20powerful%3A%20supply%20an%20image%20once%3B%20retrieve%20it%20in%20all%20possible%20formats%2C%20sizes%20and%20file%20types.%20We%20will%20build%20a%20PHP%20script%20that%20will%20automate%20these%20actions%20for%20us." title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20&amp;source=Hot+Scripts+Blog+&amp;summary=The%20idea%20is%20simple%2C%20yet%20powerful%3A%20supply%20an%20image%20once%3B%20retrieve%20it%20in%20all%20possible%20formats%2C%20sizes%20and%20file%20types.%20We%20will%20build%20a%20PHP%20script%20that%20will%20automate%20these%20actions%20for%20us." title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F&amp;title=PHP%20Automated%20Thumbnails%20&amp;annotation=The%20idea%20is%20simple%2C%20yet%20powerful%3A%20supply%20an%20image%20once%3B%20retrieve%20it%20in%20all%20possible%20formats%2C%20sizes%20and%20file%20types.%20We%20will%20build%20a%20PHP%20script%20that%20will%20automate%20these%20actions%20for%20us." title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20Automated%20Thumbnails%20&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fphp-automated-thumbnails%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/Uf6MKIkJ7wc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/php-automated-thumbnails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/php-automated-thumbnails/</feedburner:origLink></item>
		<item>
		<title>Hot Scripts Forum Digest – Nov 1st, 2009</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/zwGDKFQIVyM/</link>
		<comments>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-1st-2009/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 00:57:29 +0000</pubDate>
		<dc:creator>Pete Soheil</dc:creator>
				<category><![CDATA[Forum Digest]]></category>
		<category><![CDATA[programming forum digest]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=771</guid>
		<description><![CDATA[Hello Hot Scripts Visitors and Programmers!
Welcome to another edition of the Hot Scripts Forum Digest.
Poll of the Week
This weeks poll is an ongoing poll from a few month back. Are landing pages useful or harmful for website? Let us know what you think about landing pages by voting on the following page.
Forum Topics Week in [...]<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-1st-2009/">Hot Scripts Forum Digest &#8211; Nov 1st, 2009</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Hello Hot Scripts Visitors and Programmers!</p>
<p>Welcome to another edition of the <a href="http://www.hotscripts.com/forums">Hot Scripts Forum</a> Digest.</p>
<h2>Poll of the Week</h2>
<p>This weeks poll is an ongoing poll from a few month back. Are landing pages useful or harmful for website? Let us know what you think about landing pages by voting on the <a href="http://www.hotscripts.com/forums/lounge/54850-landing-pages-useful-harmful-seo.html">following page</a>.</p>
<h2>Forum Topics Week in Review</h2>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/showthread.php?t=55414">Edit Image in PDF </a><br />
How to edit an image that is embedded in a PDF file.</div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/javascript/55602-need-peeling-corner-exit.html">Peeling Corner Effect </a><br />
Simple way to create a peeling corner effect for your website using JavaScript</div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/php/38943-md5-decode-encode.html">Encode and Decode MD5 with PHP </a><br />
Here is an extensive thread on how to encode and possibly decode the MD5 Hash Algorithm using PHP</div>
<p>Pete Soheil<br />
Hot Scripts Forum Administrator<br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
DigiOz Multimedia<br />
</em><a href="http://www.digioz.com"><em>www.digioz.com</em></a><br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</em></p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-1st-2009/">Hot Scripts Forum Digest &#8211; Nov 1st, 2009</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009&amp;bodytext=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AThis%20weeks%20poll%20is%20an%20ongoing%20poll%20from%20a%20few%20month%20back.%20Are%20landing%20pages%20useful%20or%20harmful%20for%20website%3F%20Let%20us%20know%20wha" title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;t=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009&amp;notes=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AThis%20weeks%20poll%20is%20an%20ongoing%20poll%20from%20a%20few%20month%20back.%20Are%20landing%20pages%20useful%20or%20harmful%20for%20website%3F%20Let%20us%20know%20wha" title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009&amp;source=Hot+Scripts+Blog+&amp;summary=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AThis%20weeks%20poll%20is%20an%20ongoing%20poll%20from%20a%20few%20month%20back.%20Are%20landing%20pages%20useful%20or%20harmful%20for%20website%3F%20Let%20us%20know%20wha" title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009&amp;annotation=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AThis%20weeks%20poll%20is%20an%20ongoing%20poll%20from%20a%20few%20month%20back.%20Are%20landing%20pages%20useful%20or%20harmful%20for%20website%3F%20Let%20us%20know%20wha" title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Hot%20Scripts%20Forum%20Digest%20-%20Nov%201st%2C%202009&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-nov-1st-2009%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/zwGDKFQIVyM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-1st-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/hot-scripts-forum-digest-nov-1st-2009/</feedburner:origLink></item>
		<item>
		<title>Hot Scripts Forum Digest – Oct 25th 2009</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/v_qsLhC_pXs/</link>
		<comments>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-25th-2009/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 01:00:13 +0000</pubDate>
		<dc:creator>Pete Soheil</dc:creator>
				<category><![CDATA[Forum Digest]]></category>
		<category><![CDATA[programming forum digest]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=768</guid>
		<description><![CDATA[Welcome to another edition of the Hot Scripts Forum Digest.
Poll of the Week
With Hand Held Devices gaining in popularity, more and more people are using Hand Held Device Operating Systems these days. Which Hand Held Operating System do you run and how do you like it? Let us know by voting on the following page.
Forum [...]<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-25th-2009/">Hot Scripts Forum Digest &#8211; Oct 25th 2009</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Welcome to another edition of the <a href="http://www.hotscripts.com/forums">Hot Scripts Forum</a> Digest.</p>
<h2>Poll of the Week</h2>
<p>With Hand Held Devices gaining in popularity, more and more people are using Hand Held Device Operating Systems these days. Which Hand Held Operating System do you run and how do you like it? Let us know by voting on the <a href="http://www.hotscripts.com/forums/lounge/55723-hand-held-operating-system-do-you-run.html">following page</a>.</p>
<h2>Forum Topics Week in Review</h2>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/php/19452-auto-populate-drop-down-list.html">Auto populate drop down list?  </a><br />
How to Auto Populate a drop down list using PHP, JavaScript and DHTML. </div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/php/55379-trying-use-end-users-sanitize-script-form.html">Good way to sanitize your data </a><br />
Here is a thread on how to correctly sanitize your data using a PHP function put together by none other then our very own moderator &#8220;End User&#8221;.</div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/lounge/37630-what-your-web-development-toolbox.html">What is in your development toolbox?</a><br />
This is a very good thread on what different web developers use to develop websites on different platforms and using different programming languages. </div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/lounge/54147-one-my-website-hacked-repeatedly-what-best-thing-do.html">How to prevent your website from getting hacked </a><br />
Good thread on how to prevent your website from getting hacked, or if your website is already hacked into, how to cleanup after the fact. </div>
<p>Pete Soheil<br />
Hot Scripts Forum Administrator<br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
DigiOz Multimedia<br />
</em><a href="http://www.digioz.com"><em>www.digioz.com</em></a><br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</em></p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-25th-2009/">Hot Scripts Forum Digest &#8211; Oct 25th 2009</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009&amp;bodytext=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWith%20Hand%20Held%20Devices%20gaining%20in%20popularity%2C%20more%20and%20more%20people%20are%20using%20Hand%20Held%20Device%20Operating%20Systems%20these%20days.%20Which%20Hand%20Held%20Operating%20System%20do%20you%20run%20a" title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;t=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009&amp;notes=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWith%20Hand%20Held%20Devices%20gaining%20in%20popularity%2C%20more%20and%20more%20people%20are%20using%20Hand%20Held%20Device%20Operating%20Systems%20these%20days.%20Which%20Hand%20Held%20Operating%20System%20do%20you%20run%20a" title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009&amp;source=Hot+Scripts+Blog+&amp;summary=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWith%20Hand%20Held%20Devices%20gaining%20in%20popularity%2C%20more%20and%20more%20people%20are%20using%20Hand%20Held%20Device%20Operating%20Systems%20these%20days.%20Which%20Hand%20Held%20Operating%20System%20do%20you%20run%20a" title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009&amp;annotation=Welcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWith%20Hand%20Held%20Devices%20gaining%20in%20popularity%2C%20more%20and%20more%20people%20are%20using%20Hand%20Held%20Device%20Operating%20Systems%20these%20days.%20Which%20Hand%20Held%20Operating%20System%20do%20you%20run%20a" title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2025th%202009&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-25th-2009%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/v_qsLhC_pXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-25th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-25th-2009/</feedburner:origLink></item>
		<item>
		<title>Building Printer Friendly Pages</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/-Ye76ksTRN4/</link>
		<comments>http://www.hotscripts.com/blog/building-printer-friendly-pages/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:45:07 +0000</pubDate>
		<dc:creator>DEVpapers</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=708</guid>
		<description><![CDATA[You design for screens, but do you also design for printers? Learn to make your website more printer friendly with CSS.<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/building-printer-friendly-pages/">Building Printer Friendly Pages</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div><span><span style="font-family: Verdana; ">Your site looks like it&#8217;s working perfectly. You&#8217;ve tested it with several different browsers under various resolutions. The HTML complies with the standards and your CSS is impeccable. </span><span style="font-family: Verdana; ">Even if all of the above statements are accurate, everything still might not be the way it should. We often design for screens and blissfully forget that we need to take other devices into account as well. It&#8217;s surprising to notice that while printers are very widely used, a large part of designers seem to completely ignore them. </span></p>
<p><span style="font-family: Verdana; "><strong>Why should I do this?</strong></span></p>
<p><span style="font-family: Verdana; ">The more text your site contains, the more reason you have to think about printers. Many people prefer to print out long pages instead of reading them from their screen. They can&#8217;t take their 19&#8243; screen to the park, to their bed or to the beach. However, if they print your content on paper, they can read it whenever they want to, wherever they want to. </span></p>
<p><span style="font-family: Verdana; ">By giving your users the possibility to easily print your pages, you&#8217;re making your site more usable. At the same time, you&#8217;re encouraging people to spread the word about you and your site. What&#8217;s more convenient, &#8220;Hey, read this great article&#8221; or &#8220;Hey, go to your <a id="KonaLink0" style="text-decoration: underline ! important; position: static;" href="http://www.devpapers.com/#" target="undefined"><span style="color: blue ! important; font-weight: 400; font-size: 13px; position: static;"><span style="color: blue ! important; font-family: Verdana; font-weight: 400; font-size: 13px; position: static;">computer</span></span></a>, fire up your browser and go to this address to read a great article&#8221;? </span></p>
<p><span style="font-family: Verdana; "><strong>How do I do this?</strong></span></p>
<p><span style="font-family: Verdana; ">Ensuring that your site is printer friendly can be done in many ways. Personally, I prefer to use CSS for the job. While it is not supported by some older browsers, CSS is a good choice because it eliminates the need to create separate &#8220;printer friendly&#8221; versions of your pages. The same page can have one layout for browsers and another one for printers! </span></p>
<p><span style="font-family: Verdana; ">Unless you&#8217;re already familiar with CSS, you might benefit from taking a quick look at HTML Help&#8217;s CSS Tutorial ( </span><a href="http://www.htmlhelp.com/reference/css/"><span style="font-family: Verdana; ">http://www.htmlhelp.com/reference/css/</span></a><span style="font-family: Verdana; "> ) before we begin. It&#8217;s especially important that you familiarize yourself with class selectors, as many of the examples below will use them. </span></p>
<p><span style="font-family: Verdana; ">That being said, let&#8217;s open up Notepad and start creating our new external stylesheet file. </span></p>
<p><span style="font-family: Verdana; "><strong>Modify the layout&#8230;</strong></span></p>
<p><span style="font-family: Verdana; ">The first step is to eliminate everything that is useless in a printed version of the page. Banner ads, navigation menus and all unnecessary graphics should be removed. You can do this by adding a new class to the stylesheet: </span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff0000;">.remove { display: none }</span> </span></p>
<p><span style="font-family: Verdana; ">Next, you&#8217;ll need to think about page width. If your pages are too wide, they won&#8217;t fit on the paper. Width problems are often caused by a layout that contains fixed-width tables. The solution is to either use relative widths, or to make sure that the fixed width is not too large. In order for your pages to print correctly, they should have a maximum width of approximately 600 pixels. </span></p>
<p><span style="font-family: Verdana; ">As CSS overrides the HTML definitions, it&#8217;s easy to change the size of your tables. For example, defining a relative width of 100% can be done with the following class: </span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff0000;">.setwidth { width: 100% }</span> </span></p>
<p><span style="font-family: Verdana; "><strong>&#8230;and don&#8217;t forget the details!</strong></span></p>
<p><span style="font-family: Verdana; ">Your next concern is the font. The one you use for screen display might not be the best one for paper. Sans-serif fonts, such as Arial, are often considered to be the most suitable fonts for the Web. On the other hand, Times New Roman is generally the best solution for printed content. </span></p>
<p><span style="font-family: Verdana; ">In addition to the font style, you&#8217;ll also need to consider its size. The font has to be large enough so that it can be read easily. However, if it&#8217;s too large, it&#8217;ll take up unnecessary space. The optimal size in my opinion is somewhere around 12-14 points. </span></p>
<p><span style="font-family: Verdana; ">Consider setting the background color to white and the text color to black with CSS. Some printers do print background images and colors, which is usually just a waste of ink. Even worse, if the text color and background color are close to each other, the printout may be impossible to read. </span></p>
<p><span style="font-family: Verdana; ">Instead of using a class selector for these modifications, it&#8217;s usually more comfortable to simply change the way in which the text inside the BODY tag is displayed. Setting the font to black 12-point Times New Roman and the background to white can be achieved with the following CSS statement: </span></p>
<p><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff0000;">BODY { background-color: white; font-family: &#8220;Times New Roman&#8221;, Times, serif; font-size: 12pt; color: black }</span> </span></p>
<p><span style="font-family: Verdana; "><strong>The final touch</strong></span></p>
<p><span style="font-family: Verdana; ">After you&#8217;ve created a stylesheet that is to your liking, link it to your HTML files. To do that, simply place the following line between the &lt;HEAD&gt; and &lt;/HEAD&gt; tags: </span></p>
<p><span style="font-family: Courier New; color: #ff0000; ">&lt;LINK REL=StyleSheet HREF=&#8221;</span><a href="http://www.mysite.com/mystyle.css"><span style="font-family: Courier New; color: #ff0000; ">http://www.mysite.com/mystyle.css</span></a><span style="font-family: Verdana; "><span style="font-family: Courier New; color: #ff0000;">&#8221; TYPE=&#8221;text/css&#8221; MEDIA=print&gt;</span> </span></p>
<p><span style="font-family: Verdana; ">All that you&#8217;ll need to do now is to use your new classes in the appropriate places and you&#8217;re set to go. Happy printing!</span></p>
<p></span></div>
<div class="hotlist"><strong>About the Author:Lauri Harpf</strong><br />Lauri Harpf runs the A Promotion Guide website, where he offers free information about search engines, directories and other promotion methods. His site can be found at <a href="http://www.apromotionguide.com/">http://www.apromotionguide.com/</a></div>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/building-printer-friendly-pages/">Building Printer Friendly Pages</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages&amp;bodytext=You%20design%20for%20screens%2C%20but%20do%20you%20also%20design%20for%20printers%3F%20Learn%20to%20make%20your%20website%20more%20printer%20friendly%20with%20CSS." title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;t=Building%20Printer%20Friendly%20Pages" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages&amp;notes=You%20design%20for%20screens%2C%20but%20do%20you%20also%20design%20for%20printers%3F%20Learn%20to%20make%20your%20website%20more%20printer%20friendly%20with%20CSS." title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages&amp;source=Hot+Scripts+Blog+&amp;summary=You%20design%20for%20screens%2C%20but%20do%20you%20also%20design%20for%20printers%3F%20Learn%20to%20make%20your%20website%20more%20printer%20friendly%20with%20CSS." title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F&amp;title=Building%20Printer%20Friendly%20Pages&amp;annotation=You%20design%20for%20screens%2C%20but%20do%20you%20also%20design%20for%20printers%3F%20Learn%20to%20make%20your%20website%20more%20printer%20friendly%20with%20CSS." title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Building%20Printer%20Friendly%20Pages&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fbuilding-printer-friendly-pages%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/-Ye76ksTRN4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/building-printer-friendly-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/building-printer-friendly-pages/</feedburner:origLink></item>
		<item>
		<title>Hot Scripts Forum Digest – Oct 18th 2009</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/8CuR8qMNciM/</link>
		<comments>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-18th-2009/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 12:41:06 +0000</pubDate>
		<dc:creator>Pete Soheil</dc:creator>
				<category><![CDATA[Forum Digest]]></category>
		<category><![CDATA[programming forum digest]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=764</guid>
		<description><![CDATA[Hello Hot Scripts Visitors and Programmers!
Welcome to another edition of the Hot Scripts Forum Digest.
Poll of the Week
What is your opinion of the new Windows 7 Operating System? Is it really as good as people say it is or does it need more work? Let us know by voting on the following page.
Forum Topics Week [...]<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-18th-2009/">Hot Scripts Forum Digest &#8211; Oct 18th 2009</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Hello Hot Scripts Visitors and Programmers!</p>
<p>Welcome to another edition of the <a href="http://www.hotscripts.com/forums">Hot Scripts Forum</a> Digest.</p>
<h2>Poll of the Week</h2>
<p>What is your opinion of the new Windows 7 Operating System? Is it really as good as people say it is or does it need more work? Let us know by voting on the <a href="http://www.hotscripts.com/forums/lounge/55645-what-your-opinion-new-windows-7-operating-system.html">following page</a>.</p>
<h2>Forum Topics Week in Review</h2>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/php/55612-help-php-multiple-select-field.html">Updating Multi Item Select Control </a><br />
How to update multi-select control items in MySQL Database using PHP </div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/web-servers/55588-how-can-we-get-visitors-ip-address.html">Getting Visitor IP Address </a><br />
This thread describes how to get the visitor IP Address using PHP.</div>
<div class="hotlist"><a href="http://www.hotscripts.com/forums/lounge/54958-what-your-favorite-programming-languages-why.html">What are your favorite Programming Languages and why? </a><br />
This is a thread that started off as a weekly Poll, but turned into an interesting discussion on Programming Language preferences.</div>
<p>Pete Soheil<br />
Hot Scripts Forum Administrator<br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
DigiOz Multimedia<br />
</em><a href="http://www.digioz.com"><em>www.digioz.com</em></a><br />
<em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</em></p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-18th-2009/">Hot Scripts Forum Digest &#8211; Oct 18th 2009</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009&amp;bodytext=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20is%20your%20opinion%20of%20the%20new%20Windows%207%20Operating%20System%3F%20Is%20it%20really%20as%20good%20as%20people%20say%20it%20is%20or%20does%20it%20need%20more%20" title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;t=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009&amp;notes=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20is%20your%20opinion%20of%20the%20new%20Windows%207%20Operating%20System%3F%20Is%20it%20really%20as%20good%20as%20people%20say%20it%20is%20or%20does%20it%20need%20more%20" title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009&amp;source=Hot+Scripts+Blog+&amp;summary=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20is%20your%20opinion%20of%20the%20new%20Windows%207%20Operating%20System%3F%20Is%20it%20really%20as%20good%20as%20people%20say%20it%20is%20or%20does%20it%20need%20more%20" title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F&amp;title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009&amp;annotation=Hello%20Hot%20Scripts%20Visitors%20and%20Programmers%21%0D%0A%0D%0AWelcome%20to%20another%20edition%20of%20the%20Hot%20Scripts%20Forum%20Digest.%0D%0A%0D%0APoll%20of%20the%20Week%0D%0AWhat%20is%20your%20opinion%20of%20the%20new%20Windows%207%20Operating%20System%3F%20Is%20it%20really%20as%20good%20as%20people%20say%20it%20is%20or%20does%20it%20need%20more%20" title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Hot%20Scripts%20Forum%20Digest%20-%20Oct%2018th%202009&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fhot-scripts-forum-digest-oct-18th-2009%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/8CuR8qMNciM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-18th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/hot-scripts-forum-digest-oct-18th-2009/</feedburner:origLink></item>
		<item>
		<title>What is CGI?</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/yQ7SkcaltOw/</link>
		<comments>http://www.hotscripts.com/blog/what-is-cgi/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 15:49:11 +0000</pubDate>
		<dc:creator>DEVpapers</dc:creator>
				<category><![CDATA[CGI & Perl]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=738</guid>
		<description><![CDATA[Many people think of CGI as some sort of programming language, and this common misconception is one of my pet peeves. So what exactly is CGI if not a programming language? And what use is it to the web designer?<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/what-is-cgi/">What is CGI?</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div><span></p>
<pre><span style="font-family: Verdana; color: #ff0000; "><strong>The Common Misconception</strong></span></pre>
<p><span style="font-family: Verdana; ">Almost everyone who is new to the Common Gateway Interface (CGI) makes the mistake of thinking of it as a programming language in its own right. CGI is <strong>not</strong> a programming language!</span></p>
<p><span style="font-family: Verdana; ">So what is CGI if it is not a programming language then?</span></p>
<p><span style="font-family: Verdana; ">The Common Gateway Interface is a way of connecting your web pages to other programs that are running on the server which visitors wouldn&#8217;t normally have access to. Most corporate web sites on the Internet today make use of CGI programs or scripts to allow their visitors to browse online catalogues or keep track of their orders in real time.</span></p>
<p><span style="font-family: Verdana; ">HTML pages are static in nature, if you request the same file, then you will get the same page (that is assuming that it has been updated between requests). A CGI generated page on the other hand can look very different each time you load it. This is because the CGI script or program that is used to generate it can dynamically build the page, including details such as the time of the request for example, to make the page different.</span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>CGI Scripts, CGI Programs or CGI Applications?</strong></span></p>
<p><span style="font-family: Verdana; ">The term you use will depend on the nature of the application that you are working on, although many people will tend to use and stick to a single term, there is a difference.</span></p>
<p><span><span style="font-family: Verdana;"><strong>CGI Scripts</strong> &#8211; are interpreted by the server in real-time, and need to be interpreted each and every time they are run. For this reason they can be slower than a CGI program, but they are also easier to maintain as the code is accessible through a text editor.</span></span></p>
<p><span><span style="font-family: Verdana;"><strong>CGI Programs</strong> &#8211; are compiled on the server they are running to help speed up the execution time and to hard code data paths for extra security. However, it can be difficult to compile programs on systems where access is limited, and the program will need to be recompiled for each platform you want to use it on.</span></span></p>
<p><span><span style="font-family: Verdana;"><strong>CGI Applications</strong> &#8211; typically a CGI Application is a collection of CGI scripts or programs that work together to create a web-based interface for a program or database, although a single stand alone program or script can be described as an application if it does more than one type of server interaction.</span></span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>Perl is not CGI</strong></span></p>
<p><span style="font-family: Verdana; ">Perl scripts were often associated with CGI in the late 1990s because the language was well supported by the servers and was very good at text manipulation; which was ideal for building web pages on the fly. Most servers that recognise the .cgi file extension will open the file using the Perl interpreter. The connection between Perl and CGI is so strong that many believe that all CGI programs are written in Perl. This is simply not the case.</span></p>
<p><span style="font-family: Verdana; ">CGI applications can be written in a variety of different languages; the language of choice will often depend on what software is available on the server. Other languages that may be used in the development of CGI programs include Python, C++, Java and Visual Basic, to name but a few. So you don&#8217;t have to learn a new programming language to be able to create your own CGI scripts.</span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>Advances in Web Interface Technology</strong></span></p>
<p><span style="font-family: Verdana; ">Traditional CGI is a rather resource intensive way to interact with a server. The problem arises because of the way that CGI interactions were originally designed; in the case of CGI scripts that need to be interpreted at run time, the language interpreter was loaded each time it was needed. On a lightly used server, this notion of only using it when necessary could actually save server resources; however this method does not scale very well as each HTTP connection would create it&#8217;s own copy of the interpreter in memory where only the one was needed.</span></p>
<p><span style="font-family: Verdana; ">As more and more servers were making use of CGI technology, the problem of scalability soon became an issue. Because most of the earlier CGI scripts were written in Perl, Doug MacEachern created the <code>mod_perl</code> Apache module to embed the Perl interpreter directly into the Apache server thus avoiding the need to start it for each Perl script requested.</span></p>
<p><span style="font-family: Verdana; ">Newer server technologies have tackled the problem of scalability by developing their own Application Programming Interfaces (APIs), which work in the same way as <code>mod_perl</code>. These APIs load all the various language interpreters that are installed into the server&#8217;s memory when it is started, where they will remain in memory ready to use as soon as a request comes in.</span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>Common CGI Equivalents</strong></span></p>
<p><span style="font-family: Verdana; ">Microsoft&#8217;s server API is commonly referred to as the ISAPI filter; it runs in the background and redirects server calls (if they need to be parsed in any way) to run various Dynamic Link Libraries (DLLs) that do the work of parsing the language in use. Active Server Pages are parsed by the asp.dll, which contains information about the various ASP objects and methods that the server can understand. Extra programming interfaces can be added by registering new ASP components (COM objects) in the server&#8217;s memory space using the regsvr32 registration utility.</span></p>
<p><span style="font-family: Verdana; ">PHP: Hypertext Preprocessor (PHP) scripts are growing increasingly popular and so PHP is supported for a wide range of platforms and servers by offering different ways of using the interpreter. The PHP parsing engine is available as an ISAPI filter, Apache module or stand alone CGI program. As you can imagine, the PHP CGI executable loads a copy of the executable in memory for each call to a PHP page, and so is actively discouraged for performance reasons; recommended for use only on servers that use virtual hosts for security reasons. </span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>The Future of CGI</strong></span></p>
<p><span style="font-family: Verdana; ">The way we use our servers will continue to develop, and now that the performance issues surrounding CGI scripts have been highlighted, it seems the trend is to abandon the old style of CGI access in favour of the more robust server managed solutions. My own first CGI scripts were written in Perl, but I abandoned it in favour of ASP because Perl did not integrate so easily with my web pages.</span></p>
<p><span style="font-family: Verdana; ">It seems that the use of Perl for web sites is diminishing in favour of PHP, ASP or JSP; at least, it&#8217;s been quite a while since I saw the more popular sites I visit use Perl to interact directly with their visitors.</span></p>
<p><span style="font-family: Verdana; color: #ff0000; "><strong>Adding Interactivity to Your Site</strong></span></p>
<p><span style="font-family: Verdana; ">If you want to add interactivity to your own site, then I recommend that you use a technology that runs in the server&#8217;s memory space, particularly if you want a more scalable solution.</span></p>
<p><span style="font-family: Verdana; ">My original recommendation for a language to learn was, ironically, Perl. Now, I&#8217;d probably recommend something like PHP, despite not knowing how to write a full-blown script with it myself, it is widely supported and freely available. ASP is probably easier to learn if you are completely new to the programming scene, but ASP hosting is typically more expensive in comparison. Also, now that .NET has been officially released, a lot of the ASP sites are focusing on ASP.NET support and so the days of traditional ASP support are numbered.</span></p>
<p></span></div>
<div class="hotlist"><strong>Author: Rosemarie Wise</strong><br />
The author, Rosemarie Wise, is a self proclaimed &#8220;web enthusiast&#8221; who set up her site, <a href="http://www.websiteowner.info/">Web Site Owner</a>to share her experiences of being a site owner.</div>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/what-is-cgi/">What is CGI?</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20&amp;bodytext=Many%20people%20think%20of%20CGI%20as%20some%20sort%20of%20programming%20language%2C%20and%20this%20common%20misconception%20is%20one%20of%20my%20pet%20peeves.%20So%20what%20exactly%20is%20CGI%20if%20not%20a%20programming%20language%3F%20And%20what%20use%20is%20it%20to%20the%20web%20designer%3F" title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;t=What%20is%20CGI%3F%20" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20&amp;notes=Many%20people%20think%20of%20CGI%20as%20some%20sort%20of%20programming%20language%2C%20and%20this%20common%20misconception%20is%20one%20of%20my%20pet%20peeves.%20So%20what%20exactly%20is%20CGI%20if%20not%20a%20programming%20language%3F%20And%20what%20use%20is%20it%20to%20the%20web%20designer%3F" title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20&amp;source=Hot+Scripts+Blog+&amp;summary=Many%20people%20think%20of%20CGI%20as%20some%20sort%20of%20programming%20language%2C%20and%20this%20common%20misconception%20is%20one%20of%20my%20pet%20peeves.%20So%20what%20exactly%20is%20CGI%20if%20not%20a%20programming%20language%3F%20And%20what%20use%20is%20it%20to%20the%20web%20designer%3F" title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F&amp;title=What%20is%20CGI%3F%20&amp;annotation=Many%20people%20think%20of%20CGI%20as%20some%20sort%20of%20programming%20language%2C%20and%20this%20common%20misconception%20is%20one%20of%20my%20pet%20peeves.%20So%20what%20exactly%20is%20CGI%20if%20not%20a%20programming%20language%3F%20And%20what%20use%20is%20it%20to%20the%20web%20designer%3F" title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=What%20is%20CGI%3F%20&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwhat-is-cgi%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/yQ7SkcaltOw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/what-is-cgi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/what-is-cgi/</feedburner:origLink></item>
		<item>
		<title>WebsiteSpark – Free tools for Developing on Microsoft’s Technologies</title>
		<link>http://feedproxy.google.com/~r/HotScriptsBlog/~3/7TjW0eMJvbo/</link>
		<comments>http://www.hotscripts.com/blog/websitespark-developing-microsofts-technologies/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:41:23 +0000</pubDate>
		<dc:creator>Ahmad Permessur</dc:creator>
				<category><![CDATA[Around the Web]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.hotscripts.com/blog/?p=571</guid>
		<description><![CDATA[WebsiteSpark is yet another attempt from Microsoft to engage the Web design and development community with Microsoft products. This is the third application in the 'Spark' series that aims to provide software, support and visibility for everyone.<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/websitespark-developing-microsofts-technologies/">WebsiteSpark &#8211; Free tools for Developing on Microsoft&#8217;s Technologies</a></p>



No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/web/websitespark/">WebsiteSpark</a> is yet another attempt from Microsoft to engage the Web design and development community with Microsoft products. This is the third application in the &#8216;Spark&#8217; series that aims to provide software, support and visibility for everyone. Similar to DreamSpeak, a program for students and BizSpeak a program for entrepreneurs, WebsiteSpeak aims at targeting Web design and development companies by offering free software, training and training.</p>
<div id="attachment_573" class="wp-caption aligncenter" style="width: 489px"><a href="http://www.microsoft.com/web/websitespark/"><img class="size-full wp-image-573" title="websitespark" src="http://www.hotscripts.com/blog/wp-content/uploads/2009/10/websitespark.jpg" alt="Visit Microsoft's WebsiteSpark Homepage" width="479" height="257" /></a><p class="wp-caption-text">Visit Microsoft&#39;s WebsiteSpark Homepage</p></div>
<p>To be eligible for this program, you must be a professional service firm that provides web services to clients with no more than 10 team members. Approved companies will receive the following software licenses for three years at no cost:</p>
<ul>
<li>Visual Studio Professional</li>
<li> Expression Studio 2 or 3 and Expression Web</li>
<li> Windows Web Server 2008</li>
<li> SQL Server 2008 (Web Edition)</li>
</ul>
<p>If you design and develop on Microsoft&#8217;s platform, then this is an excellent opportunity to grow and build your business.</p>
<p>Microsoft has been doing a lot these past months to get a share of the open source market and promote development on its platform. Does that indicate a downward trend in developing for Microsoft&#8217;s platform? Let us know your thoughts by posting to this thread or sharing your views on the <a href="http://www.hotscripts.com/forums/windows-net-programming/55513-developing-microsofts-technologies.html">Microsoft&#8217;s development platform</a> on our forums.</p>
<p>Post from: <a href="http://www.hotscripts.com/blog">Hot Scripts Blog</a><br/><br/><a href="http://www.hotscripts.com/blog/websitespark-developing-microsofts-technologies/">WebsiteSpark &#8211; Free tools for Developing on Microsoft&#8217;s Technologies</a></p>



Share This Great Post:


	<a rel="nofollow" id="stumbleupon"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies" title="StumbleUpon"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies&amp;bodytext=WebsiteSpark%20is%20yet%20another%20attempt%20from%20Microsoft%20to%20engage%20the%20Web%20design%20and%20development%20community%20with%20Microsoft%20products.%20This%20is%20the%20third%20application%20in%20the%20%27Spark%27%20series%20that%20aims%20to%20provide%20software%2C%20support%20and%20visibility%20for%20everyone." title="Digg"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitthis"  target="_blank" href="" title="TwitThis"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;t=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies" title="Facebook"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F" title="Sphinn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies&amp;notes=WebsiteSpark%20is%20yet%20another%20attempt%20from%20Microsoft%20to%20engage%20the%20Web%20design%20and%20development%20community%20with%20Microsoft%20products.%20This%20is%20the%20third%20application%20in%20the%20%27Spark%27%20series%20that%20aims%20to%20provide%20software%2C%20support%20and%20visibility%20for%20everyone." title="del.icio.us"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies" title="Mixx"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="technorati"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F" title="Technorati"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" id="linkedin"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies&amp;source=Hot+Scripts+Blog+&amp;summary=WebsiteSpark%20is%20yet%20another%20attempt%20from%20Microsoft%20to%20engage%20the%20Web%20design%20and%20development%20community%20with%20Microsoft%20products.%20This%20is%20the%20third%20application%20in%20the%20%27Spark%27%20series%20that%20aims%20to%20provide%20software%2C%20support%20and%20visibility%20for%20everyone." title="LinkedIn"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F&amp;title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies&amp;annotation=WebsiteSpark%20is%20yet%20another%20attempt%20from%20Microsoft%20to%20engage%20the%20Web%20design%20and%20development%20community%20with%20Microsoft%20products.%20This%20is%20the%20third%20application%20in%20the%20%27Spark%27%20series%20that%20aims%20to%20provide%20software%2C%20support%20and%20visibility%20for%20everyone." title="Google Bookmarks"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow" id="slashdot"  target="_blank" href="http://slashdot.org/bookmark.pl?title=WebsiteSpark%20-%20Free%20tools%20for%20Developing%20on%20Microsoft%27s%20Technologies&amp;url=http%3A%2F%2Fwww.hotscripts.com%2Fblog%2Fwebsitespark-developing-microsofts-technologies%2F" title="Slashdot"><img src="http://www.hotscripts.com/blog/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/HotScriptsBlog/~4/7TjW0eMJvbo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.hotscripts.com/blog/websitespark-developing-microsofts-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.hotscripts.com/blog/websitespark-developing-microsofts-technologies/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 5.649 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-22 20:05:55 -->
