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

<channel>
	<title>gHacks technology news &#187; html</title>
	<atom:link href="http://www.ghacks.net/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 23 Nov 2009 00:43:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XML Escape Tool</title>
		<link>http://www.ghacks.net/2009/08/30/xml-escape-tool/</link>
		<comments>http://www.ghacks.net/2009/08/30/xml-escape-tool/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 19:15:31 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[windows software]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xml escape tool]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=15840</guid>
		<description><![CDATA[Webmasters have to make sure that the code of their website is excaping several characters correctly. Failure to do so can lead to all kinds of problems from display errors to functions that are not working correctly because of this (check out The XML Page Cannot Be Displayed article for an example of things that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/08/xml.png" alt="xml" title="xml" width="158" height="94" class="alignleft size-full wp-image-15841" />Webmasters have to make sure that the code of their website is excaping several characters correctly. Failure to do so can lead to all kinds of problems from display errors to functions that are not working correctly because of this (check out <a href="http://www.ghacks.net/2009/04/14/internet-explorer-8-and-feeds-the-xml-page-cannot-be-displayed/">The XML Page Cannot Be Displayed</a> article for an example of things that can happen if characters are not escaped properly).</p>
<p>The relevant characters that need to be escaped are &apos;, &quot;, &amp;, &lt; and &gt;. (I had to escape them while writing this article to avoid xml errors on the page. Webmasters have several options to escape these characters. They can escape them manually, use an online tool to convert them (see <a href="http://www.ghacks.net/2009/05/07/how-to-display-valid-markup-code-in-websites/">How To Display Valid Markup Code In Websites</a>) or a software program like the XML Escape Tool.</p>
<p><span id="more-15840"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/08/xml_escape_tool-500x384.jpg" alt="xml escape tool" title="xml escape tool" width="500" height="384" class="alignnone size-medium wp-image-15843" /></p>
<p>Source code has to be pasted into the first form field in the application window. The tool can then escape the source code if the user clicks on the Escape button or unescape the source if the Unescape button is pressed.</p>
<p>The resulting code can be copied automatically to the Windows clipboard. The benefit of using a desktop software program to escape the characters is that it works if no Internet connection is available. Users who want to try the software can <a href="http://www.myxmltools.com/xml-escape-tool.shtml">download</a> it from the developer&#8217;s website.</p>

	Tags: <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/webmaster/" title="webmaster" rel="tag">webmaster</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a>, <a href="http://www.ghacks.net/tag/xhtml/" title="xhtml" rel="tag">xhtml</a>, <a href="http://www.ghacks.net/tag/xml/" title="xml" rel="tag">xml</a>, <a href="http://www.ghacks.net/tag/xml-escape-tool/" title="xml escape tool" rel="tag">xml escape tool</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/06/24/domain-name-registration-lookup/" title="Domain Name Registration Lookup (June 24, 2009)">Domain Name Registration Lookup</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/07/09/check-html-with-cse-html-validator-lite/" title="Check HTML With CSE HTML Validator Lite (July 9, 2009)">Check HTML With CSE HTML Validator Lite</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/10/21/zonescreen-finally-gets-64-bit-update/" title="ZoneScreen Finally Gets 64-bit Update (October 21, 2008)">ZoneScreen Finally Gets 64-bit Update</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/08/30/xml-escape-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Log in to websites with your site&#8217;s URL as your OpenID</title>
		<link>http://www.ghacks.net/2009/07/17/log-into-websites-with-your-sites-url-and-openid/</link>
		<comments>http://www.ghacks.net/2009/07/17/log-into-websites-with-your-sites-url-and-openid/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 11:12:56 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[authorisation]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[my open id]]></category>
		<category><![CDATA[myopenid]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[username]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14457</guid>
		<description><![CDATA[A few years ago, Martin covered OpenID, an open authentication system. Since then, it has become increasingly popular and a wide range of sites, from AOL to LiveJournal provide OpenIDs, and OpenID login is also quite common. OpenID is particularly popular for blog comments, with Blogger now integrating support for it.
An OpenID is an URL. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/07/openid-300x267.gif" alt="OpenID" width="300" height="267" class="alignleft size-thumbnail wp-image-14481" /><a href="http://www.ghacks.net/2007/05/30/avoid-multiple-login-names-with-openid/">A few years ago, Martin covered OpenID,</a> an open authentication system. Since then, it has become increasingly popular and a wide range of sites, from AOL to LiveJournal provide OpenIDs, and OpenID login is also quite common. OpenID is particularly popular for blog comments, with Blogger now integrating support for it.</p>
<p>An OpenID is an URL. However, using an URL like http://computerjoe.myopenid.com/ to log-in and post comments with just doesn&#8217;t look sophisticated. I much prefer to use my own blog&#8217;s URL to post comments and log-in; it pumps traffic to my blog and frankly just looks better.</p>
<p>Whilst you could run your own OpenID identity server to do this, this takes quite a bit of expertise to set-up and whilst it is probably more secure, it isn&#8217;t needed in my opinion.</p>
<p><span id="more-14457"></span>It is possible to use a any identity server with your website&#8217;s URL. I personally use <a href="http://myopenid.com">MyOpenID</a>, but I log in to sites with joeanderson.co.uk/blog; not  with computerjoe.myopenid.com.</p>
<p>This can be done by simply adding a few lines of HTML to your website&#8217;s &lt;head&gt;.</p>
<p>For example, I put </p>
<p>&lt;link rel=”openid.server” href=”http://www.myopenid.com/server” /&gt;<br />
&lt;link rel=”openid.delegate” href=”http://computerjoe.myopenid.com” /&gt;</p>
<p>Naturally, these have to be modified depending on your username and server, but the provider should provider the information.</p>
<p>There are several benefits using this type of OpenID identificatin. The main one is that it just looks better but the most practical one is probably that it allows you to change provider whilst keeping the same log on. So, if I suddenly decide not to use MyOpenID, I can change to any other provider but my URL remains the same.</p>

	Tags: <a href="http://www.ghacks.net/tag/authentication/" title="authentication" rel="tag">authentication</a>, <a href="http://www.ghacks.net/tag/authorisation/" title="authorisation" rel="tag">authorisation</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/id/" title="id" rel="tag">id</a>, <a href="http://www.ghacks.net/tag/my-open-id/" title="my open id" rel="tag">my open id</a>, <a href="http://www.ghacks.net/tag/myopenid/" title="myopenid" rel="tag">myopenid</a>, <a href="http://www.ghacks.net/tag/openid/" title="openid" rel="tag">openid</a>, <a href="http://www.ghacks.net/tag/passwords/" title="passwords" rel="tag">passwords</a>, <a href="http://www.ghacks.net/tag/security/" title="Security" rel="tag">Security</a>, <a href="http://www.ghacks.net/tag/username/" title="username" rel="tag">username</a>, <a href="http://www.ghacks.net/tag/web/" title="web" rel="tag">web</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/05/30/avoid-multiple-login-names-with-openid/" title="Avoid multiple login names with OpenID (May 30, 2007)">Avoid multiple login names with OpenID</a> (3)</li>
	<li><a href="http://www.ghacks.net/2006/05/27/ultra-high-security-password-generator/" title="Ultra High Security Password Generator (May 27, 2006)">Ultra High Security Password Generator</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/01/15/remove-stored-net-user-names-and-passwords/" title="Remove Stored .Net User Names and Passwords (January 15, 2008)">Remove Stored .Net User Names and Passwords</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/04/04/password-recovery-speeds/" title="Password Recovery Speeds (April 4, 2006)">Password Recovery Speeds</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/07/01/password-recovery-questions-make-online-accounts-vulnerable/" title="Password Recovery Questions Make Online Accounts Vulnerable (July 1, 2009)">Password Recovery Questions Make Online Accounts Vulnerable</a> (10)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/17/log-into-websites-with-your-sites-url-and-openid/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A standard compliant web browser and editor: Amaya</title>
		<link>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/</link>
		<comments>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:18:57 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Amaya]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web designer]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[wysiwyg]]></category>
		<category><![CDATA[wysiwyg editor]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14311</guid>
		<description><![CDATA[Some web browsers don&#8217;t fully respect web standards and many WYSIWYG HTML editors produce absolutely revolting code. W3C set out standards as to how HTML (and XHTML etc) should appear and whilst some choose to ignore these, some are devoted to the following of these standards.
Sticking to standards can therefore lead to issues with certain [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/07/amaya.png" alt="Amaya" width="177" height="133" class="alignleft size-full wp-image-14328" />Some web browsers don&#8217;t fully respect web standards and many WYSIWYG HTML editors produce absolutely revolting code. <a href="http://www.w3.org/">W3C</a> set out standards as to how HTML (and XHTML etc) should appear and whilst some choose to ignore these, some are devoted to the following of these standards.</p>
<p>Sticking to standards can therefore lead to issues with certain web browsers, which lack support for the latest tags or render pages wrong.</p>
<p>The W3C therefore has its own web browser and editor which adheres to standards more than many browsers and supports certain new technologies others don&#8217;t, such as RDF annotation. This browser is <a href="http://www.w3.org/Amaya/">Amaya</a>, an open-source and cross-platform browser.</p>
<p><span id="more-14311"></span>Amaya can handle a wide-range of open file formats, including HTML, CSS, XHTML, SVG and MathML.</p>
<p>The software integrates the browser and web editor: when you go to a web page, it can be edited inside the browser. It also instantly displays syntactic errors.</p>
<p>It also integrates the mark-up languages. For example, in a web page, one can write formulae utilising MathML or add SVG shapes inside the software.</p>
<p>Amaya is a reasonable WYSIWYG editor and a good web browser for developmental purposes. It is also good to produce rich web-pages, which include other pieces of mark-up than HTML.</p>

	Tags: <a href="http://www.ghacks.net/tag/amaya/" title="Amaya" rel="tag">Amaya</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-editor/" title="html editor" rel="tag">html editor</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://www.ghacks.net/tag/open-source/" title="Open Source" rel="tag">Open Source</a>, <a href="http://www.ghacks.net/tag/w3c/" title="w3c" rel="tag">w3c</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-designer/" title="web designer" rel="tag">web designer</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a>, <a href="http://www.ghacks.net/tag/wysiwyg/" title="wysiwyg" rel="tag">wysiwyg</a>, <a href="http://www.ghacks.net/tag/wysiwyg-editor/" title="wysiwyg editor" rel="tag">wysiwyg editor</a>, <a href="http://www.ghacks.net/tag/xhtml/" title="xhtml" rel="tag">xhtml</a>, <a href="http://www.ghacks.net/tag/xml/" title="xml" rel="tag">xml</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/31/kompozer-a-free-open-source-and-half-decent-wysiwyg-web-editor/" title="KompoZer, a free, open-source and half-decent WYSIWYG web editor (December 31, 2008)">KompoZer, a free, open-source and half-decent WYSIWYG web editor</a> (3)</li>
	<li><a href="http://www.ghacks.net/2007/01/20/manage-your-tasks-with-task-coach/" title="Manage your Tasks with Task Coach (January 20, 2007)">Manage your Tasks with Task Coach</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/create-and-edit-vector-graphics-for-free/" title="Create and edit vector graphics for free (December 20, 2008)">Create and edit vector graphics for free</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
	<li><a href="http://www.ghacks.net/2007/02/10/virtualbox-a-vmware-alternative/" title="VirtualBox a Vmware alternative (February 10, 2007)">VirtualBox a Vmware alternative</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check HTML With CSE HTML Validator Lite</title>
		<link>http://www.ghacks.net/2009/07/09/check-html-with-cse-html-validator-lite/</link>
		<comments>http://www.ghacks.net/2009/07/09/check-html-with-cse-html-validator-lite/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 16:39:03 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[check html]]></category>
		<category><![CDATA[htm]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html validator]]></category>
		<category><![CDATA[markup validation]]></category>
		<category><![CDATA[webmasters]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[windows software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14290</guid>
		<description><![CDATA[It is very important that webmasters validate their websites by checking the html code that is produced on the front end of the site. This can be done with online tools like the markup validation tool of the W3C website or offline tools such as the CSE HTML Validator Lite. The HTML validator can be [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/microsoft_windows.jpg" alt="microsoft windows" title="microsoft windows" width="128" height="128" class="alignleft size-full wp-image-11907" />It is very important that webmasters validate their websites by checking the html code that is produced on the front end of the site. This can be done with online tools like the markup validation tool of the <a href="http://validator.w3.org/">W3C</a> website or offline tools such as the CSE HTML Validator Lite. The HTML validator can be installed on a computer system running the Windows operating system to check html pages for errors and other problems.</p>
<p>Webmasters need a local html file so that it can be loaded into the software program. The easiest way to achieve this is to go to the website that should be validated, view the source code of it and save it as html on the computer system.</p>
<p><span id="more-14290"></span>This html file can then be loaded and analyzed in the software. The html code will then be validated by the software. It will immediately jump to the first error in the code and link it to the errors and comments in the footer area. This makes it very easy to understand (in most cases) why something is not right with the code. It is possible to edit the html code right in the HTML Validator to correct the errors that have been discovered. It is still necessary to correct the error on the web as well obviously if the html code has been downloaded from the web.</p>
<p>The program comes with a few additional functions that help in certain cases. It is for example possible to convert all tags of the html document to lowercase, find and replace code in the html file or to use a spell checker.</p>
<p>CSE HTML Validator Lite can be downloaded <a href="http://www.freehtmlvalidator.com/">from</a> the developer&#8217;s website. It is available for all Windows operating systems including Windows XP, Windows Vista and <a href="http://windows7news.com/">Windows 7</a>.</p>

	Tags: <a href="http://www.ghacks.net/tag/check-html/" title="check html" rel="tag">check html</a>, <a href="http://www.ghacks.net/tag/htm/" title="htm" rel="tag">htm</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-validator/" title="html validator" rel="tag">html validator</a>, <a href="http://www.ghacks.net/tag/markup-validation/" title="markup validation" rel="tag">markup validation</a>, <a href="http://www.ghacks.net/tag/webmasters/" title="webmasters" rel="tag">webmasters</a>, <a href="http://www.ghacks.net/tag/websites/" title="websites" rel="tag">websites</a>, <a href="http://www.ghacks.net/tag/windows-software/" title="windows software" rel="tag">windows software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/03/20/webmaster-contact-software/" title="Webmaster Contact Software (March 20, 2009)">Webmaster Contact Software</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/11/23/typealizer-what-type-is-that-blog/" title="Typealizer: What Type is That Blog (November 23, 2008)">Typealizer: What Type is That Blog</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/06/01/test-websites-in-various-internet-explorer-versions/" title="Test Websites in various Internet Explorer Versions (June 1, 2008)">Test Websites in various Internet Explorer Versions</a> (9)</li>
	<li><a href="http://www.ghacks.net/2007/10/12/grab-text-from-all-files-in-a-directory/" title="Grab Text from all Files in a Directory (October 12, 2007)">Grab Text from all Files in a Directory</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/09/check-html-with-cse-html-validator-lite/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix Outlook 2010</title>
		<link>http://www.ghacks.net/2009/06/24/fix-outlook-2010/</link>
		<comments>http://www.ghacks.net/2009/06/24/fix-outlook-2010/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:35:35 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[email client]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html emails]]></category>
		<category><![CDATA[microsoft outlook]]></category>
		<category><![CDATA[outlook 2000]]></category>
		<category><![CDATA[outlook 2010]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13832</guid>
		<description><![CDATA[Microsoft&#8217;s plans to use the Word HTML rendering engine to display HTML emails in the upcoming email software program Microsoft Outlook 2010 has created quite a few protest websites that try to convince Microsoft to change their plans. Outlook 2010 is still in the beta stage and Microsoft is encouraging users to submit feedback to [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft&#8217;s plans to use the Word HTML rendering engine to display HTML emails in the upcoming email software program Microsoft Outlook 2010 has created quite a few protest websites that try to convince Microsoft to change their plans. Outlook 2010 is still in the beta stage and Microsoft is encouraging users to submit feedback to improve the email client before the release candidate and final release are released.</p>
<p>The main problem that arises when using the Word HTML rendering engine is that Microsoft Outlook 2010 will not support web standards like CSS or background images. This could very well mean that Outlook 2010 users will be stuck with broken HTML emails for the next years after the release. Below is an image that is showing a HTML email in both Microsoft Outlook 2000 and Outlook 2010:</p>
<p><span id="more-13832"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/06/microsoft_outlook_2010-500x355.jpg" alt="microsoft outlook 2010" title="microsoft outlook 2010" width="500" height="355" class="alignnone size-medium wp-image-13833" /></p>
<p>Microsoft Outlook 2000 was using the <a href="http://www.ghacks.net/tag/internet-explorer/">Internet Explorer</a> rendering engine to display HTML emails. Microsoft mentions benefits that Outlook users gain by using Microsoft Word as their email authoring tool which include automatic styles and templates and SmartArt among other benefits. It would also not be in the best interest performance wise to use a different rendering engine for the display of HTML emails. (via <a href="http://www.email-standards.org/blog/entry/microsoft-to-ignore-web-standards/">Email Standards</a>)</p>
<p>The initiators of the Fix Outlook protest website are making use of Twitter to rally protesters from all over the world. Every Twitter user that mentions fixoutlook.org in their tweets will automatically partake in the protest. The avatar icons of users will be displayed on the <a href="http://fixoutlook.org/">Fix Outlook</a> website. Currently more than 15500 users have already joined the protest.</p>

	Tags: <a href="http://www.ghacks.net/tag/email/" title="Email" rel="tag">Email</a>, <a href="http://www.ghacks.net/tag/email-client/" title="email client" rel="tag">email client</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-emails/" title="html emails" rel="tag">html emails</a>, <a href="http://www.ghacks.net/tag/microsoft-outlook/" title="microsoft outlook" rel="tag">microsoft outlook</a>, <a href="http://www.ghacks.net/tag/outlook-2000/" title="outlook 2000" rel="tag">outlook 2000</a>, <a href="http://www.ghacks.net/tag/outlook-2010/" title="outlook 2010" rel="tag">outlook 2010</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/01/19/microsoft-outlook-quickbooks-addin/" title="Microsoft Outlook Quickbooks Addin (January 19, 2009)">Microsoft Outlook Quickbooks Addin</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/06/14/microsoft-outlook-mail-time-zone-plugin/" title="Microsoft Outlook Mail Time Zone Plugin (June 14, 2009)">Microsoft Outlook Mail Time Zone Plugin</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/05/28/microsoft-outlook-macro-to-save-images-in-emails/" title="Microsoft Outlook Macro To Save Images In Emails (May 28, 2009)">Microsoft Outlook Macro To Save Images In Emails</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/07/15/microsoft-outlook-facebook-add-on/" title="Microsoft Outlook Facebook Add-On (July 15, 2009)">Microsoft Outlook Facebook Add-On</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/11/02/microsoft-outlook-express-viewer/" title="Microsoft Outlook Express Viewer (November 2, 2008)">Microsoft Outlook Express Viewer</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/24/fix-outlook-2010/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How To Display Valid Markup Code In Websites</title>
		<link>http://www.ghacks.net/2009/05/07/how-to-display-valid-markup-code-in-websites/</link>
		<comments>http://www.ghacks.net/2009/05/07/how-to-display-valid-markup-code-in-websites/#comments</comments>
		<pubDate>Thu, 07 May 2009 13:19:48 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html entities]]></category>
		<category><![CDATA[html entities converter]]></category>
		<category><![CDATA[markup code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[valid code]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=12644</guid>
		<description><![CDATA[There are two difficulties or problems that Internet users encounter when they want to paste code into forms to display these on the Internet. The first problem that can be encountered is that the website will interpret part or all of the code instead of displaying it. A basic example would be to display the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/05/w3c.jpg" alt="w3c" title="w3c" width="100" height="86" class="alignleft size-full wp-image-12647" />There are two difficulties or problems that Internet users encounter when they want to paste code into forms to display these on the Internet. The first problem that can be encountered is that the website will interpret part or all of the code instead of displaying it. A basic example would be to display the html code needed to make text linkable on a website. These codes are interpreted by most forms automatically if the user just pastes the code into the form. The second problem that can arise is that the website will not validate because of the way it has been pasted into the form. Displaying the &amp; char will for example return an error when validating the code. This can lead to all kinds of troubles including broken RSS feeds (read: <a href="http://www.ghacks.net/2009/04/14/internet-explorer-8-and-feeds-the-xml-page-cannot-be-displayed/">The XML Feed Cannot Be Displayed</a>).</p>
<p><span id="more-12644"></span>Displaying valid markup code in websites, forums, blogs and any other page is not difficulty. The only thing that needs to be done to achieve this is to convert all entities before pasting the code. This can be done manually or by using a script like that offered at <a href="http://www.spacefem.com/tutorials/makecode.php">Spacefem</a>.</p>
<p>All that needs to be done is to paste the code into the form and click on the Make Code button at the bottom. To display the following code on a website</p>
<p><code>&lt;a href=&quot;http://www.ghacks.net/&quot;&gt;Ghacks&lt;/a&gt;</code></p>
<p>one would have to paste the following code into the form on the website where the code should be displayed</p>
<p><code>&amp;lt;a href=&amp;quot;http://www.ghacks.net/&amp;quot;&amp;gt;Ghacks&amp;lt;/a&amp;gt;</code></p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2009/05/html_entities_converter-500x273.jpg" alt="html entities converter" title="html entities converter" width="500" height="273" class="alignnone size-medium wp-image-12646" /></p>
<p>This is actually the easiest way to ensure that the website will not interpret the code and that the code will be valid markup code.</p>

	Tags: <a href="http://www.ghacks.net/tag/code/" title="code" rel="tag">code</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-entities/" title="html entities" rel="tag">html entities</a>, <a href="http://www.ghacks.net/tag/html-entities-converter/" title="html entities converter" rel="tag">html entities converter</a>, <a href="http://www.ghacks.net/tag/markup-code/" title="markup code" rel="tag">markup code</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/valid-code/" title="valid code" rel="tag">valid code</a>, <a href="http://www.ghacks.net/tag/w3c/" title="w3c" rel="tag">w3c</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/" title="Web Development: How does PHP work? (January 8, 2009)">Web Development: How does PHP work?</a> (21)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/05/07/how-to-display-valid-markup-code-in-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to style your page using CSS</title>
		<link>http://www.ghacks.net/2009/03/23/how-to-style-your-page-using-css/</link>
		<comments>http://www.ghacks.net/2009/03/23/how-to-style-your-page-using-css/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 16:44:08 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11400</guid>
		<description><![CDATA[Beginner article coming up, it&#8217;s time to get to know the wonderful world of CSS! Cascading Style Sheets, or css, is the standard method of styling a webpage. In fact, you should have no styling in HTML whatsoever. HTML was not designed to be a presentation language, it&#8217;s more of a structural-semantic language. In other [...]]]></description>
			<content:encoded><![CDATA[<p>Beginner article coming up, it&#8217;s time to get to know the wonderful world of CSS! Cascading Style Sheets, or css, is the standard method of styling a webpage. In fact, you should have no styling in HTML whatsoever. HTML was not designed to be a presentation language, it&#8217;s more of a structural-semantic language. In other words, HTML should give your content structurem while CSS should control the actual presentation.</p>
<p>It&#8217;s a bit difficult to describe this all in one article, but CSS is actually not that hard to get into. Basically, your HTML code has three types of &#8220;hooks&#8221;. You probably already know one of them, this is your common, everyday tag. You can also give a unique ID to any element, or a class, which can be applied to any amount of elements. CSS can grab on to these &#8220;hooks&#8221; (this is not a technical term), and style the element you are refering to.</p>
<p>Let&#8217;s take a side-step and look at how to implement CSS first. Right now let&#8217;s just use the following syntax inside the file, in the header section (there are many other ways, you can also call CSS from an external file) &#8220;<em>&lt;style type=&#8221;text/css&#8221;&gt; &lt;/style&gt;</em>&#8220;. You can write your CSS code in between the start and end tag. CSS code is also very simple syntax wise. You have to specify a selector, and then some properties and values. The selector will be one of those &#8220;hooks&#8221; we looked at, it will let you specify what you want to change the style of. The property will let you specify what property of that element you want to change (text size, color, etc), and the value will specify what you want to change it to. The correct syntax is &#8220;<strong>selector {property:value; property:value}</strong>&#8221;<br />
<span id="more-11400"></span><br />
With that knowledge safely in our head, let&#8217;s take a more detailed look at our &#8220;hooks&#8221;, which will become our selectors. As I said, a tag can be a hook. Say you want the color of the font in all paragraphs to be orange. You can do this by applying the following CSS code: &#8220;<em>p {color:#ff9900;}</em>&#8220;. The selector is &#8220;p&#8221; the actual tag in html, the property is &#8220;color&#8221;, which controls text color, and the value is &#8220;#ff9900&#8243; which is a color code. You could also write &#8220;orange&#8221;, but color codes give you more control (more on this in another article).</p>
<p>That&#8217;s not too hard is it? Ok, so now all our paragraph&#8217;s have orange text color, but what if we want one to be different? You could put them in a div instead of a paragraph, since we only specified that paragraphs should have orange text. This is a very bad approach, but it does display how CSS works. You should not do this for many reasons, first of all because you loose some semantics, that piece of text is a paragraph, so should be in a paragraph tag. Second of all, with this approach you will very quickly run out of tags to use. So in this case we apply the other &#8220;hooks&#8221;, we can specify a unique id, or a class. Let&#8217;s apply an id, since we just want a change for this one paragraph.</p>
<p>In your HTML the id is applied as an attribute to the tag like so: &#8220;<em>&lt;p id=&#8221;example&#8221;&gt;</em>&#8220;. What the actual id is, is not important, but try not to start it with a number, and don&#8217;t have special characters in it a lot (underscore is fine). We can use the id in our CSS code by applying the following in addition to the rule we already have: &#8220;<em>p#example {color:black;}</em>&#8220;. The selector now points specifically to that one paragraph, where we have specified the id &#8220;example&#8221;.</p>
<p>If we would have applied a class we would have &#8220;<em>&lt;p class=&#8221;example&#8221;&gt;</em>&#8221; in our HTML and &#8220;<em>p.example {color:black;}</em>&#8220;. If you try it out, you can see that there is no difference. The difference is in the fact that id should only be applied to one element only, while class can be applied to as many as you like. You can apply it to a paragraph and a div for example. In this case you could write the following: &#8220;<em>p.example {color:black;}</em> <em>div.example {color:black;}</em>&#8220;. This would tell each paragraph and each div with the class of &#8220;example&#8221; to have a text color of black. There is a simpler way to do this though, you can just specify the class, like so:  &#8220;<em>.example {color:black;}</em>&#8220;. This shows how you should &#8220;read&#8221; the code. Whenever you see just a class you should read it as &#8220;change the text color of <strong>all elements</strong> with this class to black&#8221;. If you see a tag or even another id or class in front you should read it as (in case of a paragraph) &#8220;change the text color of <strong>all paragraphs</strong> with this class to black&#8221;.</p>
<p>Those are the very basics of CSS, you might find a <a title="css properties" href="http://htmlhelp.com/reference/css/properties.html">list of properties</a> helpful, but there are many resources on the web to learn more about CSS, but I will be back with more info, and you can start reading <a href="http://scriptastique.com">Scriptastique</a> for more info on CSS.</p>
<p>&lt;img class=&#8221;alignleft size-full wp-image-10878&#8243; src=&#8221;http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif&#8221; alt=&#8221;Script&#8221; width=&#8221;53&#8243; height=&#8221;53&#8243; /&gt;&lt;strong&gt;If you&#8217;d like to read some similar articles, take a look at &lt;a title=&#8221;Web development blog&#8221; href=&#8221;http://scriptastique.com&#8221;&gt;Scriptastique&lt;/a&gt;, a blog all about web development and coding, with great tips on CSS, HTML, PHP, MySQL and Javasctipt and tutorials and screencasts coming soon! You can follow us on our &lt;a title=&#8221;Scriptastique RSS feed&#8221; href=&#8221;http://feeds2.feedburner.com/scriptastique&#8221;&gt;RSS feed&lt;/a&gt;, or &lt;a title=&#8221;Scriptastique on Twitter&#8221; href=&#8221;http://twitter.com/scriptastique&#8221;&gt;Twitter&lt;/a&gt; and &lt;a title=&#8221;Scriptastique on Facebook&#8221; href=&#8221;http://www.facebook.com/home.php?#/profile.php?id=1470106953&amp;amp;ref=profile&#8221;&gt;Facebook&lt;/a&gt;! &lt;/strong&gt;</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/09/11/create-wordpress-themes/" title="Create WordPress Themes (September 11, 2008)">Create WordPress Themes</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/06/14/an-easy-way-to-learn-web-design/" title="An easy way to learn web design (June 14, 2008)">An easy way to learn web design</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/23/how-to-style-your-page-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scriptastique web development roundup</title>
		<link>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/</link>
		<comments>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 12:55:01 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scriptastique]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11035</guid>
		<description><![CDATA[As you all know, we started a web development section here on gHacks. After asking for your opinion and talking about it with Martin, we decided to keep writing 1-2 posts a week here, but move most of the material into a new site called Scriptastique. 
Right now we only have the blog, but tutorial [...]]]></description>
			<content:encoded><![CDATA[<p>As you all know, we started a web development section here on gHacks. After asking for your opinion and talking about it with Martin, we decided to keep writing 1-2 posts a week here, but move most of the material into a new site called <a title="Web development" href="http://scriptastique.com">Scriptastique</a>. </p>
<p>Right now we only have the blog, but tutorial sections and screencasts are on their way! To keep gHacks readers in the know, I will be doing a weekly short roundup of posts, if you like some of them, head on over to the site, take a look and participate in all the fun! So let&#8217;s jump to it, here&#8217;s what we covered on week 1.</p>
<ul>
<li>Checking MySQL queries for errors</li>
<li>Creating your first function in PHP</li>
<li>How the internet works &#8211; domains and hosting</li>
<li>Create cool icons in a flash for your website</li>
<li>Creating rounded corners using only CSS</li>
</ul>
<p>We have a few more up there, and you can follow us on Twitter and our RSS feed or join us on <a href="http://www.ghacks.net/2009/10/17/facebook-login/">Facebook</a>. If you have any questions or comments feel free to let me know!</p>
<p><span id="more-11035"></span></p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/scriptastique/" title="scriptastique" rel="tag">scriptastique</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How echo works in PHP</title>
		<link>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/</link>
		<comments>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:22:52 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10874</guid>
		<description><![CDATA[The most basic command, and probably the first you&#8217;ll learn when taking a look at PHP is &#8220;echo&#8221;. The first example in many books and online tutorials is the following. Create a file, give it an extension of &#8220;.php&#8221;, upload it to your server, and edit it like so:
&#60;?php
echo &#8216;Hello World&#8217;;
?&#62;
I hate Hello World examples, [...]]]></description>
			<content:encoded><![CDATA[<p>The most basic command, and probably the first you&#8217;ll learn when taking a look at PHP is &#8220;echo&#8221;. The first example in many books and online tutorials is the following. Create a file, give it an extension of &#8220;.php&#8221;, upload it to your server, and edit it like so:</p>
<p>&lt;?php<br />
echo &#8216;Hello World&#8217;;<br />
?&gt;</p>
<p>I hate Hello World examples, but this shows what we are doing pretty well. Basically the echo command will write out that phrase &#8220;Hello World&#8221; (the quotes will not be shown, the single quotes above are part of the code), so if you open that file using <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> for example you should simply see the phrase.</p>
<p>This seems straightforward, but to really understand what&#8217;s happening, and to be able to work with PHP efficiently we need to dig a bit deeper to see what really happens when we echo something.</p>
<p><span id="more-10874"></span>The most important thing you need to understand is that PHP is a server side language. This means that whatever code you write is never sent directly to the client (the viewer of your site for example). When someone opens a PHP file form the next the file is first processed by the server, and <strong>only the result</strong> is shown to the user. This is why you will never see PHP code if you view the source of a page.</p>
<p>You also need to know that once the server has processed the file it retruns pure browser readable code. I would say pure HTML, but obviously your PHP file can contain inline javascript, just like your HTML files. Now echoing something tells the server that whatever is echoed should be placed as is into the HTML file. This means that whenever you want to put HTML tags when you are echoing you can do so by writing them as you would in an HTML file itself, like this:</p>
<p>&lt;?php<br />
echo &#8216;&lt;strong&gt;Hello World&lt;/strong&gt;&#8217;;<br />
?&gt;</p>
<p>Once the server has returned its result, this is downloaded by the browser and processed like usual, so your &#8220;strong&#8221; tags wil be taken into account and will indeed bold text.</p>
<p>So what&#8217;s the point of sending the server that bit of code if all it does is just put it in like it was HTML? Well, the answer lies further down the road, but basically this is helpful because you can prevent/enable specific of section of code reaching the client, so the viewer only downloads what he/she needs, not the whole file. A simple example:</p>
<p>&lt;?php<br />
$random = rand(0, 99);</p>
<p>if ($random &gt; 50)<br />
echo &#8216;Number is above fifty&#8217;;<br />
else<br />
&amp;nbsp; &amp;nbsp; echo &#8216;Number is equal to or less than fifty&#8217;;<br />
?&gt;</p>
<p>Without really understanding what&#8217;d going on I can still explain. We create a variable, the value of it will be a randomly generated number between 0 and 99. If this number which we just generated is above 50 then we should echo that it is above fifty, in all other cases (it is below or equal to fifty), we should echo the other statement.</p>
<p>This is processed whenever someone loads (or reloads) a page, so the variable &#8220;$random&#8221; will always be different, generated &#8220;on the fly&#8221;. The script then checks the number, and only the relevant piece of code is returned, so if the number generated is 55 the only piece of code that you will see in the source will be:</p>
<p>The number is above fifty</p>
<p>Obviously this is a bit over-simplified, but in real life this is basically what happens. You can also use this to generate different pieces of code for different days of the week, and the change will be automatic, you only need to program once. You can also use it to create one file to display all your posts (like in Wordpress), so you don1t have to code a page for each post you write. PHP is awesome, start lovin&#8217; it!</p>
<p><img class="alignleft size-full wp-image-10878" src="http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif" alt="Script" width="54" height="54" /><em>If you would like to read more articles like this, take a look at <a title="Coding and web development blog" href="http://scriptastique.com" target="_blank">Scriptastique</a>, a new blog by the writer, Daniel Pataki. The site will contain different articles from the ones published here, and will eventually have complete tutorials for numerous programming languages.</em></p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/echo/" title="echo" rel="tag">echo</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/03/04/how-echo-works-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; what it does and what it doesn&#8217;t</title>
		<link>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/</link>
		<comments>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:28:22 +0000</pubDate>
		<dc:creator>Jeremiah</dc:creator>
				<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10600</guid>
		<description><![CDATA[PHP is a Server side scripting language. Its primary competitors are ASP (Microsoft), JSP (Sun), CFM (Adobe), and Perl (often called cgi by hosting companies, although it is not the only cgi language).
PHP was originally created in 1995, so as a technology it is fairly mature. Version 5.x is the latest stable version and 6 [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is a Server side scripting language. Its primary competitors are ASP (Microsoft), JSP (Sun), CFM (Adobe), and Perl (often called cgi by hosting companies, although it is not the only cgi language).<br />
PHP was originally created in 1995, so as a technology it is fairly mature. Version 5.x is the latest stable version and 6 is under development. It is currently running almost 20 million websites including big names like <a href="http://www.ghacks.net/2009/10/17/facebook-login/">Facebook</a>.</p>
<p>The most common server architecture on which PHP is found is called LAMP (for Linux + Apache + MySQL + PHP). All of the elements of LAMP are open source, meaning that the source code of the application is freely available. This means that the cost of setting up a server running LAMP is reduced (No License Fees), so LAMP based web hosting tends to be the least expensive solution available.</p>
<p>The Internet is built on a client-server architecture. On the client side we have the user and the browser. One the server side we have the server and its script interpreter (In our case, Apache and PHP).<br />
Because PHP runs on the server side, we cannot use it for flashy client side effects, things like animations and auto-complete cannot be performed by php because php is only running on the server. For client side programming we could use javascript, Flash/Flex, Silverlight, or JavaFX.</p>
<p><span id="more-10600"></span>What we can do with PHP is access a database, connect to other websites/services for information, and build a page out of smaller pieces, which we then deliver to the client for rendering.</p>
<p>I think it is important to indicate at this time that there are four levels at which you can work with PHP.</p>
<ol>
<li>Scripting &#8211; this is where you take a small script and add it (integrate) into an existing page.</li>
<li>Coding &#8211; this is where you write scripts as needed to add basic functionality to your site.</li>
<li>Development &#8211; this is where you write an full application in PHP.</li>
<li>Architect &#8211; this is where you properly design an application that develop it into an application. Like development but puts a lot more thought into a good foundation.</li>
</ol>
<p>Depending on your actual needs, several of these layers could be overkill for your task. The following articles will mainly be focused on the first two levels &#8211; scripting, and coding. In Scripting and coding we have two primary tasks we accomplish. One makes your job as webmaster easier. The second adds new functionality to your site.</p>
<p><a href="http://www.jeremiahstover.com">Jeremiah Stover</a> is a Software Engineer and a Business IT Consultant at <a href="http://www.pragmatic-development.com">Pragmatic Development</a>. He has hands on experience and regularly provides practical advice in Business, Marketing, IT equipment and software. His Specialties include interpersonal communications, design skills, teaching and instruction. Right now he spends most of his time developing web applications in PHP and MySQL.</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/lamp/" title="LAMP" rel="tag">LAMP</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ghacks Web Development PDF Article Compilation January 09</title>
		<link>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/</link>
		<comments>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 09:26:56 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Compilations]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[article compilation]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ghacks]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10279</guid>
		<description><![CDATA[The following article contains all web development articles that have been published in January 09. The articles are provided in PDF format to make them readable on most operating systems and devices. We are providing article compilations to give you the chance to read the articles offline and keep them as reference without having to [...]]]></description>
			<content:encoded><![CDATA[<p>The following article contains all web development articles that have been published in January 09. The articles are provided in PDF format to make them readable on most operating systems and devices. We are providing article compilations to give you the chance to read the articles offline and keep them as reference without having to hop back at our site whenever you want to look something up.</p>
<p>The following web development articles have been published in January 2009 at Ghacks:</p>
<p><span id="more-10279"></span><a href="http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/">How does PHP work?</a><br />
<a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/">HTML Playground</a><br />
<a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/">PHP &#8211; what role does it fill</a><br />
<a href="http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/">Standardizing variables to code faster</a><br />
<a href="http://www.ghacks.net/2009/01/05/web-development-a-brief-history-of-time/">Web Development: A brief history of time()</a></p>
<p>You can download the pdf document by clicking on the link below.</p>
<p><a href='http://www.ghacks.net/wp-content/uploads/2009/02/ghacks_web_january_09.pdf'>ghacks web development january 09</a></p>

	Tags: <a href="http://www.ghacks.net/tag/article-compilation/" title="article compilation" rel="tag">article compilation</a>, <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/ghacks/" title="ghacks" rel="tag">ghacks</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/webmaster/" title="webmaster" rel="tag">webmaster</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/" title="Web Development: Realtime Fonts Changer (May 29, 2009)">Web Development: Realtime Fonts Changer</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web Development: PHP &#8211; what role does it fill</title>
		<link>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/</link>
		<comments>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 09:03:18 +0000</pubDate>
		<dc:creator>Jeremiah</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10259</guid>
		<description><![CDATA[Before we try to work with PHP we need understand the role it fills – what problem does it address. The World Wide Web is built on a client-server model.  A client computer requests a page which is supplied by a Web Server. The browser then renders the page for the user to view. [...]]]></description>
			<content:encoded><![CDATA[<p>Before we try to work with PHP we need understand the role it fills – what problem does it address. The World Wide Web is built on a client-server model.  A client computer requests a page which is supplied by a Web Server. The browser then renders the page for the user to view. The simplest type of pages contain static (unchanging) content. The server could serve plain text files, and the browser wouldn&#8217;t have any trouble rendering them. </p>
<p>HTML is a markup language that lets us describe attributes of the text and blocks on our pages. This works great for simple requests, making pages much more interesting than plain text. However it leaves us with a very simple structure. One page from One url (address) results in one rendered content (every time this url is requested, the output is the same).</p>
<p>To give us more options we have programming languages. Some like PHP run on the server side. They modify the content that will be displayed before it is sent to the client and on to the browser. Others like JavaScript run on the client side and allow changes to be made in the browser after the page has been rendered – usually for interactivity or for adding a feature not normally available in that browser.</p>
<p><span id="more-10259"></span>The very first thing you _must_ do before getting started with PHP is get a good grasp of HTML (and CSS). Many webmasters use a tool like Dreamweaver, Expression Web or KompoZer. To<br />
work with PHP it is important that you understand the underlying HTML code. You will be modifying this code so you need to be able to understand the HTML well enough to understand what you see.</p>
<p>If you like video training try Lynda.com or VTC.com. If you prefer reading a book try &#8220;Head First html with CSS &#038; Xhtml&#8221; or if you prefer free web instruction try <a href="http://w3schools.com">w3schools.com</a> and <a href="http://tizag.com">tizag.com</a>.</p>
<p>Now that you understand the markup language which is what is sent to the browser (HTML) you are ready to tackle the server side use of PHP.</p>
<p>Jeremiah Stover is a Software Developer at <a href="http://www.pragmatic-development.com/">Pragmatic Development</a>. He specializes in client communications. While PD does offer a full range of IT services and consulting, they are currently specializing in website development in PHP/MySQL.</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/web-dev/" title="web dev" rel="tag">web dev</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/03/16/web-development-roundup/" title="Web development roundup (March 16, 2009)">Web development roundup</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Development: HTML Playground</title>
		<link>http://www.ghacks.net/2009/01/31/web-development-html-playground/</link>
		<comments>http://www.ghacks.net/2009/01/31/web-development-html-playground/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 08:28:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html playground]]></category>
		<category><![CDATA[hypertext markup language]]></category>
		<category><![CDATA[learn html]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10236</guid>
		<description><![CDATA[The first language that you need to learn if you want to start with web development is HTML. HTML stands for HyperText Markup Language, a set of tags and attributes that can be used to create websites. HTML comes with a limited amount of tags and a basic form that is always the same. It [...]]]></description>
			<content:encoded><![CDATA[<p>The first language that you need to learn if you want to start with web development is HTML. HTML stands for HyperText Markup Language, a set of tags and attributes that can be used to create websites. HTML comes with a limited amount of tags and a basic form that is always the same. It basically comes down to learning the general layout of a HTML document and the tags that can be used to create the website.</p>
<p><a href="http://htmlplayground.com/">HTML Playground</a> provides the means to play around with all HTML tags (and a bit of CSS). It does not require any prior knowledge although that could be of an advantage. The website makes use of an interface that is divided into four columns. One holding all HTML tags, another that is displaying &#8220;live&#8221; examples of a selected tag and a third that is displaying valid HTML code used to create the example. Valid HTML code meaning a full html page making use of that code. Each HTML and CSS tag is clickable in the example code leading directly to an example page of that tag.</p>
<p>It would not really be a HTML Playground if the website would not offer the means to edit the example code. This is excellent to test changes to the code to see how the tags work.</p>
<p><span id="more-10236"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/01/html_playground-499x273.jpg" alt="html playground" title="html playground" width="499" height="273" class="alignnone size-medium wp-image-10237" /></p>
<p>Beginners might find it a lit difficulty to start and it is recommended to have read at least one article about learning HTML before playing around with the various elements. It is best for users who know the basic of HTML and want to start playing around with code.</p>

	Tags: <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-playground/" title="html playground" rel="tag">html playground</a>, <a href="http://www.ghacks.net/tag/hypertext-markup-language/" title="hypertext markup language" rel="tag">hypertext markup language</a>, <a href="http://www.ghacks.net/tag/learn-html/" title="learn html" rel="tag">learn html</a>, <a href="http://www.ghacks.net/tag/web-development/" title="web development" rel="tag">web development</a>, <a href="http://www.ghacks.net/tag/website-development/" title="website development" rel="tag">website development</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/02/ghacks-web-development-pdf-article-compilation-january-09/" title="Ghacks Web Development PDF Article Compilation January 09 (February 2, 2009)">Ghacks Web Development PDF Article Compilation January 09</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/04/10/web-development-widerbug-for-firefox/" title="Web Development: Widerbug For Firefox (April 10, 2009)">Web Development: Widerbug For Firefox</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/05/29/web-development-realtime-fonts-changer/" title="Web Development: Realtime Fonts Changer (May 29, 2009)">Web Development: Realtime Fonts Changer</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/01/31/web-development-html-playground/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Web Development: How does PHP work?</title>
		<link>http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/</link>
		<comments>http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:56:42 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9687</guid>
		<description><![CDATA[When someone starts learning web development they usually start with HTML and CSS, and many people get stuck there without ever experiencing the wonderful workd of server side scripting like PHP or ASP. I&#8217;ll be talking about PHP here, but the basic rules for ASP and others are the same though.
The most important thing to [...]]]></description>
			<content:encoded><![CDATA[<p>When someone starts learning web development they usually start with HTML and CSS, and many people get stuck there without ever experiencing the wonderful workd of server side scripting like PHP or ASP. I&#8217;ll be talking about PHP here, but the basic rules for ASP and others are the same though.</p>
<p>The most important thing to understand is the difference between HTML and PHP. In HTML you write your code, upload it, and the user&#8217;s will subsequently download that page along with <strong>all the code</strong>. The user&#8217;s browser interprets this code and shows the user the page as you intended it (hopefully). In other words HTML is sort of what you see is what you get, in the sense that all the code goes to the user and is interpreted by the browser.</p>
<p>With PHP it works a bit differently because you don&#8217;t actually download the code the author wrote. What happens is that if you want to download a php page the code in that file is first processed by the server, and you download the <strong>output of the code</strong>, as opposed to the whole code as is. This in turn will be HTML just as before, this is why you never see PHP code in the source of a webpage. So what happens in processing? Turn the page to find out!</p>
<p><span id="more-9687"></span>With PHP the goal is to use the processing powers of the server to build (usually) dynamic webpages. A very basic example is showing the correct greeting for the time of day on a webpage. In human terms you write a script with the directions to show &#8220;Good Morning&#8221; if it is before 10am but after 5am, &#8220;Good Afternoon&#8221; if it is after 10am but before 6pm and &#8220;Good Night&#8221; after 6pm, before 5am. Instead of receiving all the code for this and processing it in your browser, this all gets processed before you download it, and you only get the result of the process, the text &#8220;Good Night&#8221; for example if it is 9pm.</p>
<p>This is much quicker, since if you think of bigger sites, instead of having to download 300kb (or much more) of code, it is quickly processed on the server and you might get as little as 10kb or less. Obviously your PC could process the code quickly, but downloading and handling can take a while. In addition, the code may also have database queries which can not execute if processed on your PC, they have to be processed on the server which has the database.</p>
<p>If you would like a more real-life example, take a look at gHacks, which has almost 5,000 posts now. In HTML world we would have to have 5,000 posts which all have the whole site code, from header to footer with the article in between. PHP makes it possible to &#8220;compress&#8221; those 5,000 files into only 1!</p>
<p>When you view any gHacks post on a single post page you are actually viewing a file called single.php. This file also has some additional info in the url which will tell the script which post to show, so the file you are viewing would be single.php?p=234. This tells the script that the post with the ID of 234 needs to be shown. The script queries the database for the relevant post and pulls its details (like title and post body) from the database. So in the end all you are shown is one post. Wordpress has some other stuff built in to make nicer URL&#8217;s and so on, but under the hood this is what is happening.</p>
<p>Likewise for the front page we don&#8217;t always go and modify the code when posting something. Martin would be coding all day, removing the last post on the page and pasting the code of the new one. Instead, in the php file you are viewing the code gets the latest 10 posts and puts their data on the page.</p>
<p>There is a lot more to learn in PHP, but those are the basic mechanics, the ability to create pages based on certain criteria, as opposed to static content on each page.</p>

	Tags: <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/php/" title="php" rel="tag">php</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/29/wordpress-template-tags-you-should-know/" title="Wordpress template tags you should know (March 29, 2009)">Wordpress template tags you should know</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/how-to-show-5-top-categories-in-wordpress/" title="How to show 5 top categories in Wordpress (April 9, 2009)">How to show 5 top categories in Wordpress</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>KompoZer, a free, open-source and half-decent WYSIWYG web editor</title>
		<link>http://www.ghacks.net/2008/12/31/kompozer-a-free-open-source-and-half-decent-wysiwyg-web-editor/</link>
		<comments>http://www.ghacks.net/2008/12/31/kompozer-a-free-open-source-and-half-decent-wysiwyg-web-editor/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 23:22:25 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[kompozer]]></category>
		<category><![CDATA[nvu]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web designer]]></category>
		<category><![CDATA[web editor]]></category>
		<category><![CDATA[wysiwyg]]></category>
		<category><![CDATA[wysiwyg editor]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9443</guid>
		<description><![CDATA[Dreamweaver and Frontpage are no doubt the most popular WYSIWYG (what-you-see-is-what-you-get) HTML editors but carry a pretty large pricetag, with Dreamweaver costing about £500! Naturally, neither work under Linux either! KompoZer is a free, open-source and cross-platform WYSIWYG editor which should fill the needs of any home user.
Whilst KompoZer has not been updated since 2007, [...]]]></description>
			<content:encoded><![CDATA[<p>Dreamweaver and Frontpage are no doubt the most popular WYSIWYG (what-you-see-is-what-you-get) HTML editors but carry a pretty large pricetag, with Dreamweaver costing about £500! Naturally, neither work under Linux either! <a href="http://kompozer.net/">KompoZer</a> is a free, open-source and cross-platform WYSIWYG editor which should fill the needs of any home user.</p>
<p>Whilst KompoZer has not been updated since 2007, the major mark-up languages haven&#8217;t changed since then so it should still work. KompoZer is based on Gecko, the rendering engine which Mozilla amongst others utilise, and is a fork of Nvu (another WYSIWYG editor which is now not developed), itself a fork of Mozilla Composer!</p>
<p>KompoZer has all the obvious features of a WYSIWYG web editor: HTML and CSS can be edited; FTP support; tables; and tabs to navigate between pages and views. Some nicer features include an integrated W3 validator and support for <a href="http://www.gmpg.org/xfn/">XFN</a>.</p>
<p><span id="more-9443"></span>Binaries are available for Win32, PPC Macs (which will run on Intel-based ones) and Linux. Source is also available so it can be compiled for other operating systems.</p>
<p>Like Nvu, <a href="http://portableapps.com/apps/development/nvu_portable">the application can be used from a USB pen</a>.</p>
<p>I personally use KompoZer if I quickly need to whip up a webpage and I don&#8217;t have the patience to code it in Textmate. It&#8217;s certainly usable, produces relatively clean code and it&#8217;s £500 cheaper than Dreamweaver!</p>
<p><img src="http://www.ghacks.net/wp-content/uploads/2008/12/kpz-scr-03-500x375.png" alt="KompoZer" width="500" height="375" class="aligncenter size-medium wp-image-9455" /></p>

	Tags: <a href="http://www.ghacks.net/tag/freeware/" title="freeware" rel="tag">freeware</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/html-editor/" title="html editor" rel="tag">html editor</a>, <a href="http://www.ghacks.net/tag/kompozer/" title="kompozer" rel="tag">kompozer</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/nvu/" title="nvu" rel="tag">nvu</a>, <a href="http://www.ghacks.net/tag/open-source/" title="Open Source" rel="tag">Open Source</a>, <a href="http://www.ghacks.net/tag/os-x/" title="os x" rel="tag">os x</a>, <a href="http://www.ghacks.net/tag/web-design/" title="web design" rel="tag">web design</a>, <a href="http://www.ghacks.net/tag/web-designer/" title="web designer" rel="tag">web designer</a>, <a href="http://www.ghacks.net/tag/web-editor/" title="web editor" rel="tag">web editor</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a>, <a href="http://www.ghacks.net/tag/wysiwyg/" title="wysiwyg" rel="tag">wysiwyg</a>, <a href="http://www.ghacks.net/tag/wysiwyg-editor/" title="wysiwyg editor" rel="tag">wysiwyg editor</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/07/11/a-standard-compliant-web-browser-and-editor-amaya/" title="A standard compliant web browser and editor: Amaya (July 11, 2009)">A standard compliant web browser and editor: Amaya</a> (2)</li>
	<li><a href="http://www.ghacks.net/2007/01/20/manage-your-tasks-with-task-coach/" title="Manage your Tasks with Task Coach (January 20, 2007)">Manage your Tasks with Task Coach</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/create-and-edit-vector-graphics-for-free/" title="Create and edit vector graphics for free (December 20, 2008)">Create and edit vector graphics for free</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/analyse-your-hard-disk-and-stop-wasting-space/" title="Analyse your hard disk and stop wasting space (March 4, 2009)">Analyse your hard disk and stop wasting space</a> (5)</li>
	<li><a href="http://www.ghacks.net/2007/02/10/virtualbox-a-vmware-alternative/" title="VirtualBox a Vmware alternative (February 10, 2007)">VirtualBox a Vmware alternative</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/31/kompozer-a-free-open-source-and-half-decent-wysiwyg-web-editor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create WordPress Themes</title>
		<link>http://www.ghacks.net/2008/09/11/create-wordpress-themes/</link>
		<comments>http://www.ghacks.net/2008/09/11/create-wordpress-themes/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 03:15:16 +0000</pubDate>
		<dc:creator>joshua</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2008/09/11/create-wordpress-themes/</guid>
		<description><![CDATA[
WordPress is fantastic for the extend to which is can be customised, however if mucking around with CSS isn’t something you really want to get into personally then here are a few tools to help you out:
Artisteer 
Artisteer is a new application fresh out of beta which helps you design either normal websites or a [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>WordPress is fantastic for the extend to which is can be customised, however if mucking around with CSS isn’t something you really want to get into personally then here are a few tools to help you out:</p>
<p><strong>Artisteer</strong> </p>
<p><a href="http://www.artisteer.com/Default.aspx?HK=FB48-6F8A-8F1C-9FA0-6E6A&amp;p=purchase">Artisteer</a> is a new application fresh out of beta which helps you design either normal websites or a WordPress theme. It’s also one of the few programs I’ve seen which uses the Office Ribbon UI, it works pretty effectively for this application and looks great as well.</p>
<p>The problem is that this isn’t freeware and costs $99.95 for a developer license. Considering the lack of advanced features in the software, however nice it looks, I can’t see many people jumping at the chance to purchase this.</p>
<p>Perhaps if it included an actual code editor as well or had a great deal more options for customisation then it would be a more attractive offer but till then I think not. If you use the free version all images are watermarked when you export your theme, however this could still be useful as you can simply replace the images in the files.</p>
<p>I can only assume the activation of Artisteer provides a lot more functionality such as more templates, support for more platforms and more options.</p>
<p> <span id="more-6924"></span>
<p><a href="http://www.wordpressthemegen.com/"><strong>WordPress Theme Generator</strong></a></p>
<p>Feels kind of dated compared to Artisteer but will do the basics of theme design for you, handy if you want something to work off but not much more than that.</p>
<p><a href="http://elliotjaystocks.com/blog/archive/2008/free-starkers-wordpress-theme/">Starkers WordPress Theme</a></p>
</p>
<p>I particularly like this. If you’ve ever started a new theme based off the default WordPress themes then you’ll have realised how much stuff is in there which you really don’t need. Naked WordPress theme is a completely stripped down theme for you to work off, really helpful =)</p>
<p>There’s an update saying it isn’t working too well with WP 2.6, but that the author is updating it soon =)</p>

	Tags: <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/generator/" title="generator" rel="tag">generator</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/" title="Web Development: How does PHP work? (January 8, 2009)">Web Development: How does PHP work?</a> (21)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/23/how-to-style-your-page-using-css/" title="How to style your page using CSS (March 23, 2009)">How to style your page using CSS</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/06/14/an-easy-way-to-learn-web-design/" title="An easy way to learn web design (June 14, 2008)">An easy way to learn web design</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/09/11/create-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Write Colorful Texts With Web Gradient</title>
		<link>http://www.ghacks.net/2008/08/27/write-colorful-texts-with-web-gradient/</link>
		<comments>http://www.ghacks.net/2008/08/27/write-colorful-texts-with-web-gradient/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 16:20:37 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[bbcode]]></category>
		<category><![CDATA[colorful text]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[text editing]]></category>
		<category><![CDATA[web gradient]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=6520</guid>
		<description><![CDATA[Web Gradient is a simple tool that makes it possible to create great looking colorful texts easily. The last sentence has been created with a tool called Web Gradient which takes any text input and turns it into a multi-colored experience. This is done by creating the text and selecting the colors in the software [...]]]></description>
			<content:encoded><![CDATA[<p><font color=#000000>W</font><font color=#005500>e</font><font color=#035600>b</font><font color=#065800> </font><font color=#0B5B00>G</font><font color=#125E00>r</font><font color=#1A6200>a</font><font color=#236700>d</font><font color=#2D6C00>i</font><font color=#387100>e</font><font color=#447800>n</font><font color=#517E00>t</font><font color=#5E8500> </font><font color=#6C8C00>i</font><font color=#7A9300>s</font><font color=#889A00> </font><font color=#96A100>a</font><font color=#A3A800> </font><font color=#B0AF00>s</font><font color=#BDB500>i</font><font color=#C9BB00>m</font><font color=#D4C100>p</font><font color=#DDC600>l</font><font color=#E6CA00>e</font><font color=#EECE00> </font><font color=#F4D100>t</font><font color=#F9D400>o</font><font color=#FCD500>o</font><font color=#FED600>l</font><font color=#FFD600> </font><font color=#FFD500>t</font><font color=#FFD301>h</font><font color=#FFCF02>a</font><font color=#FFC903>t</font><font color=#FFC305> </font><font color=#FFBB07>m</font><font color=#FFB30A>a</font><font color=#FFAA0C>k</font><font color=#FFA10F>e</font><font color=#FF9812>s</font><font color=#FF8F14> </font><font color=#FF8617>i</font><font color=#FF7E19>t</font><font color=#FF771B> </font><font color=#FF711D>p</font><font color=#FF6D1E>o</font><font color=#FF6A1F>s</font><font color=#FF681F>s</font><font color=#FE6820>ib</font><font color=#FC6821>l</font><font color=#F96923>e</font><font color=#F56925> </font><font color=#F06A27>t</font><font color=#EB6B2A>o</font><font color=#E46D2E> </font><font color=#DD6E32>c</font><font color=#D56F36>r</font><font color=#CD713B>e</font><font color=#C47340>a</font><font color=#BA7445>t</font><font color=#B1764A>e</font><font color=#A77850> </font><font color=#9D7A55>g</font><font color=#937C5B>r</font><font color=#897E61>e</font><font color=#7F8066>a</font><font color=#76826B>t</font><font color=#6D8370> </font><font color=#648575>l</font><font color=#5C8779>o</font><font color=#54887E>o</font><font color=#4E8981>k</font><font color=#488A85>i</font><font color=#438B87>n</font><font color=#3F8C8A>g</font><font color=#3B8D8B> </font><font color=#398D8D>c</font><font color=#388D8D>ol</font><font color=#388C8C>o</font><font color=#3A8A8A>r</font><font color=#3C8585>f</font><font color=#3F8080>u</font><font color=#437979>l</font><font color=#487171> </font><font color=#4D6868>t</font><font color=#535F5F>e</font><font color=#595555>x</font><font color=#5F4A4A>t</font><font color=#654040>s</font><font color=#6B3636> </font><font color=#712C2C>e</font><font color=#762222>a</font><font color=#7B1A1A>s</font><font color=#801212>i</font><font color=#830C0C>l</font><font color=#860606>y</font><font color=#890303>.</font> The last sentence has been created with a tool called Web Gradient which takes any text input and turns it into a multi-colored experience. This is done by creating the text and selecting the colors in the software program and exporting them either into html or bbcode which can then be pasted into forums, blogs or websites that support them.</p>
<p>It is more of a fun tool than a serious tool that the user would use on a daily basis. It is however well thought out and creates multi-colored texts speedily and perfectly. The <a href="http://anonym.to/?http://www.freewebs.com/keyrider/WebGradient.zip">tool</a> is fully portable and can be executed from any location on the computer or external media. </p>
<p>The interface might look confusing at first glance because of the options and their placement but as I said earlier it is well thought out. The text can be entered or pasted in the top pane of the program. It does appear in the preview area as well immediately. The preview area reflects any changes made to the text in real time.</p>
<p><span id="more-6520"></span><img src="http://www.ghacks.net/wp-content/uploads/2008/08/web_gradient-500x423.jpg" alt="web gradient" title="web gradient" width="500" height="423" class="alignnone size-medium wp-image-6522" /></p>
<p>Colors are added in the lower half of the program interface. The interesting aspect is that a gradient is added to the text which can be altered by changing the colors of existing pegs or creating new pegs to add even more diversity.</p>
<p>Each color can be picked from a set of default colors or by using the whole color wheel which is just one click away. Each addition or change will have a direct impact on the text in the preview area. The user has a few choices like changing interpolation from the default cosine to flat or linear and to enable quantization. A color scheme can be saved to the computer so that the user can reuse it at a later time.</p>
<p>The two buttons Copy HTML and Copy BBCode copy the code to the clipboard from where it can be pasted into websites. The numbers behind both buttons are the chars that are used to create the effect.</p>

	Tags: <a href="http://www.ghacks.net/tag/bbcode/" title="bbcode" rel="tag">bbcode</a>, <a href="http://www.ghacks.net/tag/colorful-text/" title="colorful text" rel="tag">colorful text</a>, <a href="http://www.ghacks.net/tag/forum/" title="forum" rel="tag">forum</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/text/" title="text" rel="tag">text</a>, <a href="http://www.ghacks.net/tag/text-editing/" title="text editing" rel="tag">text editing</a>, <a href="http://www.ghacks.net/tag/web-gradient/" title="web gradient" rel="tag">web gradient</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/14/full-screen-writer-write-monkey/" title="Full Screen Writer Write Monkey (April 14, 2009)">Full Screen Writer Write Monkey</a> (14)</li>
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/31/web-development-html-playground/" title="Web Development: HTML Playground (January 31, 2009)">Web Development: HTML Playground</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/01/08/web-development-how-does-php-work/" title="Web Development: How does PHP work? (January 8, 2009)">Web Development: How does PHP work?</a> (21)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/08/27/write-colorful-texts-with-web-gradient/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Image 2 HTML</title>
		<link>http://www.ghacks.net/2008/06/19/image-2-html/</link>
		<comments>http://www.ghacks.net/2008/06/19/image-2-html/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 21:26:45 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[convert images]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image 2 html]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=5045</guid>
		<description><![CDATA[Something that is more fun than anything else is a function to convert images to html. I cannot think of any other reason but to post it on some forums or websites as entertainment. It is definitely looking nicely and the program that I&#8217;m going to introduce right now has a lot of additional options [...]]]></description>
			<content:encoded><![CDATA[<p>Something that is more fun than anything else is a function to convert images to html. I cannot think of any other reason but to post it on some forums or websites as entertainment. It is definitely looking nicely and the program that I&#8217;m going to introduce right now has a lot of additional options that affect the html output.</p>
<p><a href="http://www.htm2pic.com/image2html-v10-released/">Image 2 HTML</a> is a software that can process any number of images and convert them directly into HTML files that can be posted on websites. The quality of the output is excellent, you can take a look at a small sample gallery <a href="http://www.htm2pic.com/image2html/samples/">here</a>. The image is converted into a fully colored HTML file using chars defined by the user. This would probably make an excellent surprise for the misses if you convert an image showing the both of you with the chars Iloveyou or something similar.</p>
<p>Back to the tool. The background color, width, char size and char-set can be defined as well as some additional effects like mirroring the image or inverting it.</p>
<p><span id="more-5045"></span><img src="http://www.ghacks.net/wp-content/uploads/2008/06/image2html-500x249.jpg" alt="image 2 html" title="image 2 html" width="500" height="249" class="alignnone size-medium wp-image-5046" /></p>
<p>The settings invite to play with them to create different looking images. If you can come up with another use of an image 2 html converter let me know please. Maybe to prevent images from being blocked by a firewall or network restrictions.</p>

	Tags: <a href="http://www.ghacks.net/tag/convert-images/" title="convert images" rel="tag">convert images</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/image-2-html/" title="image 2 html" rel="tag">image 2 html</a>, <a href="http://www.ghacks.net/tag/images/" title="images" rel="tag">images</a>, <a href="http://www.ghacks.net/tag/software/" title="software" rel="tag">software</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/05/13/batch-image-resizer-fotosizer/" title="Batch Image Resizer Fotosizer (May 13, 2008)">Batch Image Resizer Fotosizer</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/04/09/twins-visions-image-management/" title="Twins Visions Image Management (April 9, 2008)">Twins Visions Image Management</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/03/31/squash-batch-image-resizer/" title="Squash Batch Image Resizer (March 31, 2008)">Squash Batch Image Resizer</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/05/22/search-folders-for-duplicate-images/" title="Search folders for duplicate images (May 22, 2008)">Search folders for duplicate images</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/06/28/imgares-drag-and-drop-image-resizing/" title="Imgares Drag and Drop Image Resizing (June 28, 2008)">Imgares Drag and Drop Image Resizing</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/06/19/image-2-html/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>An easy way to learn web design</title>
		<link>http://www.ghacks.net/2008/06/14/an-easy-way-to-learn-web-design/</link>
		<comments>http://www.ghacks.net/2008/06/14/an-easy-way-to-learn-web-design/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 23:05:46 +0000</pubDate>
		<dc:creator>Daniel Pataki</dc:creator>
				<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=4979</guid>
		<description><![CDATA[I spent a little time today on a Wordpress theme for one of my clients. He asked me to copy his webpage design and turn it into a Wordpress blog. This took me about a fifth of the time it takes to design a blog on my own, and the coding was much smoother and [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a little time today on a Wordpress theme for one of my clients. He asked me to copy his webpage design and turn it into a Wordpress blog. This took me about a fifth of the time it takes to design a blog on my own, and the coding was much smoother and easier. I realized that this is a great exercise to start learning html and css.</p>
<p>In fact, I&#8217;m teaching my girlfriend css design and we went through the same process, taking an existing page and recreating it. First of all, you see the design right in front of you and you don&#8217;t need to keep in mind where you want to get to. Second of all, you can use some awesome tools to help you on the way if you&#8217;re a beginner.</p>
<p>My favorite tool is of course <a title="web developer toolbar for firefox" href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web developer toolbar</a>, which is a <a href="http://www.ghacks.net/tag/firefox/">Firefox</a> extension that can aid you in web design. A great trick to know is to press ctr+shift+y to view style sheet info on a page. This will draw a rectangle around elements you hover over, and when you click, it will display the styling behind those elements.</p>
<p><span id="more-4979"></span></p>
<p>This is awesome if you&#8217;re starting out because it&#8217;s a cheat sheet you can use to check how the designers did this or that, but you can also use it to take a look at what colors where used, how a float is accomplished and so on. There are also some other tools in there like changing the stylsheet on the fly, resizing the viewport and so on.</p>
<p>In short, copying a website is much easier than creating your own design. If you take the burden of trying to create something cool and new on your own off your back, you will be free to actually learn the methods behind coding a good site. My girlfriend also finds it very helpful, and she&#8217;s a complete css newbie, so I guess many people could find this method appealing, mosty because it puts you in the action right away, no need to go through all the boring theory.</p>

	Tags: <a href="http://www.ghacks.net/tag/coding/" title="coding" rel="tag">coding</a>, <a href="http://www.ghacks.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/01/web-development-php-what-role-does-it-fill/" title="Web Development: PHP &#8211; what role does it fill (February 1, 2009)">Web Development: PHP &#8211; what role does it fill</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/03/09/scriptastique-web-development-roundup/" title="Scriptastique web development roundup (March 9, 2009)">Scriptastique web development roundup</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/03/23/how-to-style-your-page-using-css/" title="How to style your page using CSS (March 23, 2009)">How to style your page using CSS</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/03/04/how-echo-works-in-php/" title="How echo works in PHP (March 4, 2009)">How echo works in PHP</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/06/14/an-easy-way-to-learn-web-design/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Grab Text from all Files in a Directory</title>
		<link>http://www.ghacks.net/2007/10/12/grab-text-from-all-files-in-a-directory/</link>
		<comments>http://www.ghacks.net/2007/10/12/grab-text-from-all-files-in-a-directory/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 15:20:13 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[htm]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[win text file patch]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2007/10/12/grab-text-from-all-files-in-a-directory/</guid>
		<description><![CDATA[The title of this article might be a little confusing at first glance. Why would someone want to scan files in a directory for certain strings and output them in a new file ? Few ideas come to my mind why this could be useful. Imagine that you were surfing a website  with lots of images that you liked very much. You could download those images manually or use the software Win Text File Patch to scan all files in your browsers cache for a certain string and output them in a new file.]]></description>
			<content:encoded><![CDATA[<p>The title of this article might be a little confusing at first glance. Why would someone want to scan files in a directory for certain strings and output them in a new file ? Few ideas come to my mind why this could be useful. Imagine that you were surfing a website  with lots of images that you liked very much. You could download those images manually or use the software Win Text File Patch to scan all files in your browsers cache for a certain string and output them in a new file.</p>
<p>Afterwards you would import that new list in a download manager and download all images from there. Sounds easier ? It is, indeed. This is of course not only useful for file downloads but also for any other type of information found in files. Password lists come to my mind, proxy lists, any kind of list actually.</p>
<p>Win Text File Patch has a size of only 84K which is amazing if you consider what this application is doing. To work with the software you need to edit a few entries. You specify the source directory, the file types that you want scanned, a destination directory and file and of course the software should scan the files for.</p>
<p><span id="more-2118"></span>The text part requires some knowledge of how the information are presented in the files. If you were looking for images for instance you would have to know that they begin with the html tag <code><img src="</code> and end with <code>"></code>. It begins to get problematic if the website in question did use relative links and not absolute ones because of the missing url.</p>
<p>Win Text File Patch offers a way to replace the information that has been found which is exactly what we would need here. This can be a very useful software for several users.</p>
<p><strong>Read More:</strong></p>
<p><a href="http://www.codeproject.com/tools/WinTextFilePatch.asp">Win Text File Patch</a></p>

	Tags: <a href="http://www.ghacks.net/tag/directory/" title="directory" rel="tag">directory</a>, <a href="http://www.ghacks.net/tag/download/" title="download" rel="tag">download</a>, <a href="http://www.ghacks.net/tag/htm/" title="htm" rel="tag">htm</a>, <a href="http://www.ghacks.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://www.ghacks.net/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://www.ghacks.net/tag/win-text-file-patch/" title="win text file patch" rel="tag">win text file patch</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/05/14/torrent2exe-makes-bittorrent-a-tad-easier/" title="Torrent2exe makes Bittorrent a tad easier (May 14, 2008)">Torrent2exe makes Bittorrent a tad easier</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/09/check-html-with-cse-html-validator-lite/" title="Check HTML With CSE HTML Validator Lite (July 9, 2009)">Check HTML With CSE HTML Validator Lite</a> (3)</li>
	<li><a href="http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/" title="YubNub a social internet command line (January 16, 2007)">YubNub a social internet command line</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/08/30/xml-escape-tool/" title="XML Escape Tool (August 30, 2009)">XML Escape Tool</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/08/27/write-colorful-texts-with-web-gradient/" title="Write Colorful Texts With Web Gradient (August 27, 2008)">Write Colorful Texts With Web Gradient</a> (5)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2007/10/12/grab-text-from-all-files-in-a-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
