<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Anatoliy Belsky - Web</title>
    <link>http://belsky.info/</link>
    <description>That's what I'm thinking ...  </description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Trick your blog to act like a Wordpress one</title>
    <link>http://belsky.info/archives/34-Trick-your-blog-to-act-like-a-Wordpress-one.html</link>
            <category>Fun</category>
            <category>Linux</category>
            <category>PHP5</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/34-Trick-your-blog-to-act-like-a-Wordpress-one.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    Blogging is my little hobbyhorse, however not big enough to excite me. Nevertheless sometimes you feel challenged when some social networks linking professionals in (yes, I&#039;m pointing the finger &lt;img src=&quot;http://belsky.info/templates/default-my/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ) give a syndication possibility for wordpress only. Just as the real thing is going on in the background is an RSS feed exchange, not more and not less.&lt;br /&gt;
&lt;br /&gt;
Why would one do that obviously half baked thing limiting the RSS syndication to Wordpress only? I don&#039;t know, probably it&#039;s just politics and therefore the answer isn&#039;t really interesting. A more interesting approach would be a possibility to not to play by that rules. And here it is - after a couple of hours playing around I wrote a simple wordpress gateway for my blog.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/34-Trick-your-blog-to-act-like-a-Wordpress-one.html#extended&quot;&gt;Continue reading &quot;Trick your blog to act like a Wordpress one&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 07 May 2012 19:37:23 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/34-guid.html</guid>
    
</item>
<item>
    <title>Serendipity meets Varnish</title>
    <link>http://belsky.info/archives/32-Serendipity-meets-Varnish.html</link>
            <category>Linux</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/32-Serendipity-meets-Varnish.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    I&#039;ve been using Serendipity for a couple of years and really love it now. But sometimes I wish it could be faster. Different servers tell a difference, but an average generation time for example for one category listing with 15 entries takes about 5 seconds or more. So I couldn&#039;t wait any longer, since I&#039;ve learned Varnish Cache, to toggle it between Serendipity and the end user. Of course, Varnish would limit some blogging features, but the benefits will be worth of that. Sounds interesting? So this article is for you.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/32-Serendipity-meets-Varnish.html#extended&quot;&gt;Continue reading &quot;Serendipity meets Varnish&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 13 Oct 2011 22:24:30 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/32-guid.html</guid>
    
</item>
<item>
    <title>SquirrelMail Change Password Plugin</title>
    <link>http://belsky.info/archives/31-SquirrelMail-Change-Password-Plugin.html</link>
            <category>Bash</category>
            <category>Linux</category>
            <category>PHP5</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/31-SquirrelMail-Change-Password-Plugin.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=31</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=31</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    A couple of years ago I&#039;ve shared my expierience about how to setup &lt;a href=&quot;http://belsky.info/archives/12-Postfix-+-Dovecot-SMTP-and-IMAP-on-Debian-Etch.html&quot; title=&quot;Postfix+Dovecot&quot;&gt;virtual mail hosting&lt;/a&gt; with Postfix and Dovecot. Some time ago I needed to make that accessible via Web. So, a webmail.&lt;br /&gt;
&lt;br /&gt;
After trying a couple of engines I&#039;ve decided in favour of &lt;a href=&quot;http://squirrelmail.org/&quot;&gt;SquirrelMail&lt;/a&gt;. This worked like a charm with SSL, etc. so the full mailing functionality was available just out of the box. The one thing I was still missing was a possibility to change password. There are already several plugins to achieve the goal, for instance when logging in over LDAP, but nothing could really fit for me. That&#039;s because the maildir setup I&#039;m using is non standard. Luckily, the SquirrelMail API is simple and just well documented, so I was able to write a custom change password plugin very fast.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/31-SquirrelMail-Change-Password-Plugin.html#extended&quot;&gt;Continue reading &quot;SquirrelMail Change Password Plugin&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 02 Oct 2011 12:17:38 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/31-guid.html</guid>
    
</item>
<item>
    <title>Varnish Cache now for PHP and from PHP</title>
    <link>http://belsky.info/archives/30-Varnish-Cache-now-for-PHP-and-from-PHP.html</link>
            <category>C/C++</category>
            <category>Linux</category>
            <category>PHP5</category>
            <category>PHP5 extentions</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/30-Varnish-Cache-now-for-PHP-and-from-PHP.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=30</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=30</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    There is a new PHP extension I&#039;ve written to work with Varnish. The extension allows interaction from within a PHP script with a running Varnish instance. For now there is a basic useful functionality such as ban URLs or set/get Varnish configuration. There will be more with the time. For now I would give a couple of examples for the extension usage, as there is not really any docs for the extension here. &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/30-Varnish-Cache-now-for-PHP-and-from-PHP.html#extended&quot;&gt;Continue reading &quot;Varnish Cache now for PHP and from PHP&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 23 Aug 2011 22:34:58 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/30-guid.html</guid>
    
</item>
<item>
    <title>Using great Geonames database for geographical data handling</title>
    <link>http://belsky.info/archives/29-Using-great-Geonames-database-for-geographical-data-handling.html</link>
            <category>Bash</category>
            <category>Linux</category>
            <category>PostgreSQL</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/29-Using-great-Geonames-database-for-geographical-data-handling.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=29</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=29</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    This time I needed some geographical data evaluation for one of my current projects. The data used to be opensource and as possible qualitative and complete. After spending some time in front of the famous search engine window there was a solution: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.geonames.org/&quot;&gt;http://www.geonames.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
That&#039;s the first sentence from the site:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;The GeoNames geographical database covers all countries and contains over eight million placenames that are available for download free of charge.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Geonames is used by number of sites. Besides data it has also web services and code libraries in many programming languages to access them. &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/29-Using-great-Geonames-database-for-geographical-data-handling.html#extended&quot;&gt;Continue reading &quot;Using great Geonames database for geographical data handling&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 03 Jun 2010 13:57:19 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/29-guid.html</guid>
    
</item>
<item>
    <title>Making server side playlist with PHP</title>
    <link>http://belsky.info/archives/26-Making-server-side-playlist-with-PHP.html</link>
            <category>Linux</category>
            <category>PHP5</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/26-Making-server-side-playlist-with-PHP.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=26</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=26</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    Hi again,&lt;br /&gt;
&lt;br /&gt;
whole last week I was mad about hearing music. I&#039;ve heared tons of mp3&#039;s and radio stations over the internet.  After a couple of days hearing music at work and at home I was really bored with creating and syncronizing playlists/files. Based on this, I came to the idea to make an online playlist which I would must update only one time and in one place and it would be accessible from anywhere. The idea was easy brougth out with PHP. So just a light reading for you:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/26-Making-server-side-playlist-with-PHP.html#extended&quot;&gt;Continue reading &quot;Making server side playlist with PHP&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 02 Oct 2008 19:36:35 +0200</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/26-guid.html</guid>
    
</item>
<item>
    <title>Domains avaliability checker</title>
    <link>http://belsky.info/archives/17-Domains-avaliability-checker.html</link>
            <category>Bash</category>
            <category>Linux</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/17-Domains-avaliability-checker.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    About a month ago I&#039;ve written a simple domain checker, which is using whois.net to get the domains availiable. The main goal was to find free 3-symbols domains. &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;b&gt;BASH:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;padding-left: 3px;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/bin/&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sh&lt;/span&gt; &lt;/span&gt;
&amp;#160;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$#&lt;/span&gt; -lt &lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;usage: `basename $0` extension
Check domains avaliability
&amp;#160;
examples:
`basename $0` com
&amp;quot;&lt;/span&gt;;
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt;;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;
&amp;#160;
&lt;span style=&quot;color: #007800;&quot;&gt;EXT=&lt;/span&gt;$&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;;
&lt;span style=&quot;color: #007800;&quot;&gt;LAST_FILENAME=&lt;/span&gt;/tmp/dc_&lt;span style=&quot;color: #007800;&quot;&gt;$USER&lt;/span&gt;&lt;span style=&quot;color: #007800;&quot;&gt;$EXT&lt;/span&gt;.&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;last&lt;/span&gt;
&amp;#160;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$LAST_FILENAME&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;LAST_DOMAIN=&lt;/span&gt;`&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$LAST_FILENAME&lt;/span&gt;`; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt; 
&amp;#160;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; DOMAIN &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;..&lt;span style=&quot;color: #000000;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;a..z&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,-&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;..&lt;span style=&quot;color: #000000;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;a..z&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,-&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;..&lt;span style=&quot;color: #000000;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;a..z&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;,-&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;
    &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DOMAIN&amp;quot;&lt;/span&gt; \&amp;lt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$LAST_DOMAIN&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;continue&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;
&amp;#160;
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;trap&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;echo $DOMAIN &amp;gt; $LAST_FILENAME;exit;&amp;quot;&lt;/span&gt; SIGHUP SIGINT SIGTERM
&amp;#160;
    &lt;span style=&quot;color: #007800;&quot;&gt;STATUS_STRING=&lt;/span&gt;`&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;wget&lt;/span&gt; -qO - http://www.whois.net/whois_new.cgi\?d\=&lt;span style=&quot;color: #007800;&quot;&gt;$DOMAIN&lt;/span&gt;\&amp;amp;tld\=&lt;span style=&quot;color: #007800;&quot;&gt;$EXT&lt;/span&gt; | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;Status&#039;&lt;/span&gt;`
&amp;#160;
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$STATUS_STRING&amp;quot;&lt;/span&gt; | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;free&#039;&lt;/span&gt; &amp;amp;&amp;amp; 
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DOMAIN.$EXT&amp;quot;&lt;/span&gt; &amp;gt;&amp;gt; ~/domains_found_&lt;span style=&quot;color: #007800;&quot;&gt;$EXT&lt;/span&gt;.txt &amp;amp;&amp;amp; 
    &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;the domain is free: $DOMAIN.$EXT&amp;quot;&lt;/span&gt; | mail -c my@mail.com -s &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;free domain&amp;quot;&lt;/span&gt; other@mail.com
&amp;#160;
    &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sleep&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;7&lt;/span&gt;
&amp;#160;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The thing is very simple and the results can be kept on. Additionally it sends mail messages about each found domain. Lets see, what it brought for the .de domains ( about 9000 free domains was found &lt;img src=&quot;http://belsky.info/templates/default-my/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ) &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/17-Domains-avaliability-checker.html#extended&quot;&gt;Continue reading &quot;Domains avaliability checker&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 12 Mar 2008 22:44:06 +0100</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/17-guid.html</guid>
    
</item>
<item>
    <title>I know the future weather</title>
    <link>http://belsky.info/archives/9-I-know-the-future-weather.html</link>
            <category>Perl</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/9-I-know-the-future-weather.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    A simply and cool script for the weather forecast. May be even correct &lt;img src=&quot;http://belsky.info/templates/default-my/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
.. thanks to Weather::Underground perl module&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;b&gt;PERL:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;perl&quot; style=&quot;color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;padding-left: 3px;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/usr/bin/perl&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;use&lt;/span&gt; Weather::&lt;span style=&quot;color: #006600;&quot;&gt;Underground&lt;/span&gt;;&lt;/pre&gt;&lt;/div&gt; &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/9-I-know-the-future-weather.html#extended&quot;&gt;Continue reading &quot;I know the future weather&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 23 Dec 2007 23:16:11 +0100</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/9-guid.html</guid>
    
</item>
<item>
    <title>Stop image hotlinking with Perl</title>
    <link>http://belsky.info/archives/5-Stop-image-hotlinking-with-Perl.html</link>
            <category>Perl</category>
            <category>Web</category>
    
    <comments>http://belsky.info/archives/5-Stop-image-hotlinking-with-Perl.html#comments</comments>
    <wfw:comment>http://belsky.info/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://belsky.info/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Anatoliy Belsky)</author>
    <content:encoded>
    Sometimes there are things, which can bring everyone to the rage accumulation. For example if traffic of the server is exceeded because of hotlinking and it&#039;s measured at least in hundreds of megabytes. | So, for me this is only a story about someone else because I&#039;m always using the following script, if the traffic of the server is not unlimited. I&#039;ve used Perl to convert or resize images, because according my measurements Perl was doing this at least twice as fast as PHP and more qualitatively as PHP (this concerns anyhow PHP4). Only the one  weakness can prevent you from using this script - it works with HTTP_REFERER server variable and since some browsers, firewalls or proxies for any reasons don&#039;t sending this field to the webserver, you can punish innocent people, who want only to see your images. But the advantages are evident - you can place your images out of the web space and show them only if they has been called from your web site. Lets go on. &lt;br /&gt;&lt;a href=&quot;http://belsky.info/archives/5-Stop-image-hotlinking-with-Perl.html#extended&quot;&gt;Continue reading &quot;Stop image hotlinking with Perl&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 23 Dec 2007 21:04:48 +0100</pubDate>
    <guid isPermaLink="false">http://belsky.info/archives/5-guid.html</guid>
    
</item>

</channel>
</rss>
