<?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>delphi spirit, forever &#187; internet</title>
	<atom:link href="http://delphi.yiblog.com/tag/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://delphi.yiblog.com</link>
	<description></description>
	<lastBuildDate>Mon, 31 Aug 2009 15:34:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>File share suggest</title>
		<link>http://delphi.yiblog.com/2009/07/file-share-suggest/</link>
		<comments>http://delphi.yiblog.com/2009/07/file-share-suggest/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 07:40:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://delphi.yiblog.com/?p=167</guid>
		<description><![CDATA[Oops, I can&#8217;t visit box.net in my country, I don&#8217;t want use proxy every time when I want to upload files to box.net. Any one can suggest me some well file share website ? Related posts Using FireFox instead of TWebBrowser in Delphi applications (0) How to check the email address input is validate in [...]]]></description>
			<content:encoded><![CDATA[<p>Oops, I can&#8217;t visit box.net in my country, I don&#8217;t want use proxy every time when I want to upload files to box.net.</p>
<p>Any one can suggest me some well file share website ?</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/" title="Using FireFox instead of TWebBrowser in Delphi applications (November 16, 2008)">Using FireFox instead of TWebBrowser in Delphi applications</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/" title="How to check the email address input is validate in delphi (November 10, 2008)">How to check the email address input is validate in delphi</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/" title="Creating an RSS Reader use Delphi (November 16, 2008)">Creating an RSS Reader use Delphi</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://delphi.yiblog.com/2009/07/file-share-suggest/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Creating an RSS Reader use Delphi</title>
		<link>http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/</link>
		<comments>http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 11:38:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi code]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://delphi.yiblog.com/?p=49</guid>
		<description><![CDATA[From here: Everyone who owns a website would have heard about the RSS phenomenon. Now you will get the opportunity to create your own RSS reader that will enable you to download and view RSS files on your desktop. This application will enable you to read RSS feeds from the Internet with the added advantage [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://www.devarticles.com/c/a/Delphi-Kylix/Creating-an-RSS-Reader/" target="_blank">here</a>: Everyone who owns a website would have heard about the RSS phenomenon. Now you will get the opportunity to create your own RSS reader that will enable you to download and view RSS files on your desktop. This application will enable you to read RSS feeds from the Internet with the added advantage of being able to download XML files to your local hard drive. See <a href="http://www.devarticles.com/c/a/Delphi-Kylix/Creating-an-RSS-Reader/" target="_blank">more</a> and download the source code.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/" title="Using FireFox instead of TWebBrowser in Delphi applications (November 16, 2008)">Using FireFox instead of TWebBrowser in Delphi applications</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/" title="How to check the email address input is validate in delphi (November 10, 2008)">How to check the email address input is validate in delphi</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2009/07/file-share-suggest/" title="File share suggest (July 2, 2009)">File share suggest</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using FireFox instead of TWebBrowser in Delphi applications</title>
		<link>http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/</link>
		<comments>http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 03:02:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi tips]]></category>
		<category><![CDATA[activex]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://delphi.yiblog.com/?p=47</guid>
		<description><![CDATA[I found from here, it&#8217;s nice for firefox and delphi fans. By the emamlpe, we can build new web browser by firefox core. Would you like to display HTML in your applications using an open source solution? The Gecko Runtime Environment by the Mozilla Foundation can be embedded in a Delphi application by using the [...]]]></description>
			<content:encoded><![CDATA[<p>I found from <a href="http://www.paranoia.clara.net/articles/taming_the_lizard_with_delphi.html" target="_blank">here,</a> it&#8217;s nice for firefox and delphi fans. By the emamlpe, we can build new web browser by firefox core.</p>
<p>Would you like to display HTML in your applications using an open source solution? The Gecko Runtime Environment by the Mozilla Foundation can be embedded in a Delphi application by using the Mozilla ActiveX Control. This article shows how to use this control and points out some of the differences between it and the IE based TWebBrowser. The accompanying source code was written in Delphi 6 but should work in Delphi 5 and later. If you want to use the Mozilla ActiveX Control with Delphi 4 you also need to read Delphi 4 Lizard Taming.</p>
<p>First some background and terminology. In 1998 Netscape released the source code for Communicator, their Internet suite, to the open source community and created Mozilla.org. After several years development, the project finally released Mozilla 1.0 in 2002. By then Netscape had been bought by AOL, who repackaged Mozilla 1.0 as Netscape 7.0. In 2003, AOL closed its Netscape software division and the Mozilla code is now entirely controlled by the non-profit Mozilla Foundation. During development the Communicator code was completely re-written and new technologies were invented such as XUL, a cross platform UI definition language using XML, CSS and JavaScript. The Mozilla Suite of a Browser, Mail and Newsreader, HTML Composer and an Address Book is now being superseded by Firefox (browser), Thunderbird (email), and Nvu (composer). Behind all these applications is the Gecko Runtime Environment (GRE) &#8211; a fast, free and standards compliant HTML display engine.</p>
<p>All the Mozilla code is released under an MPL/GPL/LGPL tri-license so you can choose the license that suits your needs when using it. For C programmers, building applications based on the Mozilla code is easy, they can just download the code and start hacking immediately but there is also an option for the rest of us. There is an ActiveX control, written by Adam Lock, which can be used to embed the GRE in other applications. This Mozilla ActiveX Control is written to emulate the familiar IE based TWebBrowser.</p>
<p>There is little documentation for the Mozilla Control but you can use the MSDN WebBrowser documentation and ask questions in the netscape.public.mozilla.embedding newsgroup. <a href="http://www.paranoia.clara.net/articles/taming_the_lizard_with_delphi.html" target="_blank">Read more</a>.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/" title="How to check the email address input is validate in delphi (November 10, 2008)">How to check the email address input is validate in delphi</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2009/07/file-share-suggest/" title="File share suggest (July 2, 2009)">File share suggest</a> (4)</li>
	<li><a href="http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/" title="Creating an RSS Reader use Delphi (November 16, 2008)">Creating an RSS Reader use Delphi</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check the email address input is validate in delphi</title>
		<link>http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/</link>
		<comments>http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 15:14:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi tips]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://delphi.yiblog.com/?p=28</guid>
		<description><![CDATA[This solution is from delphi3000.com, Updated on 2000-12-06 due to Phil&#8217;s and Sven&#8217;s comments. Updated on 2002-06-13 due to Carlos&#8217; comment. Thanks for improving! function IsValidEmail&#40;const Value: string&#41;: boolean; &#160; function CheckAllowed&#40;const s: string&#41;: boolean; var i: integer; begin Result:= false; for i:= 1 to Length&#40;s&#41; do begin // illegal char in s -&#38;gt; no [...]]]></description>
			<content:encoded><![CDATA[<p>This solution is from <a href="http://delphi3000.com" target="_blank">delphi3000.com</a>,</p>
<p>Updated on 2000-12-06 due to Phil&#8217;s and Sven&#8217;s comments.<br />
Updated on 2002-06-13 due to Carlos&#8217; comment.<br />
Thanks for improving!</p>

<div class="wp_syntax"><div class="code"><pre class="pascal" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> IsValidEmail<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> Value<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">string</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">boolean</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> CheckAllowed<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> s<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">string</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">boolean</span>;
<span style="color: #000000; font-weight: bold;">var</span>
i<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">integer</span>;
<span style="color: #000000; font-weight: bold;">begin</span>
Result<span style="color: #339933;">:=</span> <span style="color: #000000; font-weight: bold;">false</span>;
<span style="color: #000000; font-weight: bold;">for</span> i<span style="color: #339933;">:=</span> <span style="color: #cc66cc;">1</span> <span style="color: #000000; font-weight: bold;">to</span> Length<span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">do</span>
<span style="color: #000000; font-weight: bold;">begin</span>
<span style="color: #666666; font-style: italic;">// illegal char in s -&amp;gt; no valid address</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #000000; font-weight: bold;">not</span> <span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #009900;">&#91;</span><span style="color: #ff0000;">'a'</span>..<span style="color: #ff0000;">'z'</span><span style="color: #339933;">,</span><span style="color: #ff0000;">'A'</span>..<span style="color: #ff0000;">'Z'</span><span style="color: #339933;">,</span><span style="color: #ff0000;">'0'</span>..<span style="color: #ff0000;">'9'</span><span style="color: #339933;">,</span><span style="color: #ff0000;">'_'</span><span style="color: #339933;">,</span><span style="color: #ff0000;">'-'</span><span style="color: #339933;">,</span><span style="color: #ff0000;">'.'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">then</span>
Exit;
<span style="color: #000000; font-weight: bold;">end</span>;
Result<span style="color: #339933;">:=</span> <span style="color: #000000; font-weight: bold;">true</span>;
<span style="color: #000000; font-weight: bold;">end</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span>
i<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">integer</span>;
namePart<span style="color: #339933;">,</span> serverPart<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">string</span>;
<span style="color: #000000; font-weight: bold;">begin</span> <span style="color: #666666; font-style: italic;">// of IsValidEmail</span>
Result<span style="color: #339933;">:=</span> <span style="color: #000000; font-weight: bold;">false</span>;
i<span style="color: #339933;">:=</span> Pos<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'@'</span><span style="color: #339933;">,</span> Value<span style="color: #009900;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">or</span> <span style="color: #009900;">&#40;</span>pos<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'..'</span><span style="color: #339933;">,</span> Value<span style="color: #009900;">&#41;</span> &amp;gt; <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">then</span>
Exit;
namePart<span style="color: #339933;">:=</span> Copy<span style="color: #009900;">&#40;</span>Value<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> i <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
serverPart<span style="color: #339933;">:=</span> Copy<span style="color: #009900;">&#40;</span>Value<span style="color: #339933;">,</span> i <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> Length<span style="color: #009900;">&#40;</span>Value<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Length<span style="color: #009900;">&#40;</span>namePart<span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>         <span style="color: #666666; font-style: italic;">// @ or name missing</span>
<span style="color: #000000; font-weight: bold;">or</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>Length<span style="color: #009900;">&#40;</span>serverPart<span style="color: #009900;">&#41;</span> &amp;lt; <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>   <span style="color: #666666; font-style: italic;">// name or server missing or</span>
<span style="color: #000000; font-weight: bold;">then</span> Exit;                      <span style="color: #666666; font-style: italic;">// too short</span>
i<span style="color: #339933;">:=</span> Pos<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'.'</span><span style="color: #339933;">,</span> serverPart<span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">// must have dot and at least 3 places from end</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>i &amp;lt; <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">or</span> <span style="color: #009900;">&#40;</span>i &amp;gt; <span style="color: #009900;">&#40;</span>Length<span style="color: #009900;">&#40;</span>serverPart<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">then</span>
Exit;
Result<span style="color: #339933;">:=</span> CheckAllowed<span style="color: #009900;">&#40;</span>namePart<span style="color: #009900;">&#41;</span> <span style="color: #000066;">and</span> CheckAllowed<span style="color: #009900;">&#40;</span>serverPart<span style="color: #009900;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">end</span>;</pre></div></div>


	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://delphi.yiblog.com/2008/11/using-firefox-instead-of-twebbrowser-in-delphi-applications/" title="Using FireFox instead of TWebBrowser in Delphi applications (November 16, 2008)">Using FireFox instead of TWebBrowser in Delphi applications</a> (0)</li>
	<li><a href="http://delphi.yiblog.com/2009/07/file-share-suggest/" title="File share suggest (July 2, 2009)">File share suggest</a> (4)</li>
	<li><a href="http://delphi.yiblog.com/2008/11/creating-an-rss-reader-use-delphi/" title="Creating an RSS Reader use Delphi (November 16, 2008)">Creating an RSS Reader use Delphi</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://delphi.yiblog.com/2008/11/how-to-check-the-email-address-input-is-validate-in-delphi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
