<?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>Vasiliy Selivanov</title>
	<atom:link href="http://vasiliy-selivanov.com.ua/feed/" rel="self" type="application/rss+xml" />
	<link>http://vasiliy-selivanov.com.ua</link>
	<description>Vasiliy Selivanov&#039;s Blog</description>
	<lastBuildDate>Wed, 18 Jan 2012 17:33:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Facebook Fb.UI and &#8220;An error occurred. Please try again later.&#8221;</title>
		<link>http://vasiliy-selivanov.com.ua/2011/06/13/facebook-fb-ui-and-an-error-occurred-please-try-again-later/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/06/13/facebook-fb-ui-and-an-error-occurred-please-try-again-later/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 10:19:00 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=190</guid>
		<description><![CDATA[If you tried to make feed posting via javascript 1234567FB.ui&#40;&#123; &#160; &#160; method: 'feed', &#160; &#160; name: 'Title', &#160; &#160; link: 'http://example.com', &#160; &#160; picture: 'http://example.com/image.jpg', &#160; &#160; description: 'description' &#125;&#41;; but have error message &#8220;An error occurred. Please try again later.&#8221;. To solve this just add your application id as app_id parameter 12345678FB.ui&#40;&#123; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>If you tried to make feed posting via javascript</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">FB.<span style="color: #660066;">ui</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; method<span style="color: #339933;">:</span> <span style="color: #3366CC;">'feed'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #000066;">name</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'Title'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; link<span style="color: #339933;">:</span> <span style="color: #3366CC;">'http://example.com'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; picture<span style="color: #339933;">:</span> <span style="color: #3366CC;">'http://example.com/image.jpg'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; description<span style="color: #339933;">:</span> <span style="color: #3366CC;">'description'</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>
but have error message &#8220;An error occurred. Please try again later.&#8221;.</p>
<p>To solve this just add your application id as app_id parameter</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">FB.<span style="color: #660066;">ui</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; method<span style="color: #339933;">:</span> <span style="color: #3366CC;">'feed'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #000066;">name</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'Title'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; link<span style="color: #339933;">:</span> <span style="color: #3366CC;">'http://example.com'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; picture<span style="color: #339933;">:</span> <span style="color: #3366CC;">'http://example.com/image.jpg'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; description<span style="color: #339933;">:</span> <span style="color: #3366CC;">'description'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; app_id<span style="color: #339933;">:</span> YOUR_APPLICATION_ID<br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>
I hope it is help somebody. Write you comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/06/13/facebook-fb-ui-and-an-error-occurred-please-try-again-later/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to make (sort) gallery/post votings (likes) with Facebook</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/29/how-to-make-sort-gallerypost-votings-likes-with-facebook/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/29/how-to-make-sort-gallerypost-votings-likes-with-facebook/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 22:07:01 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=176</guid>
		<description><![CDATA[I will tell you have to make sorting of photos/posts/links via facebook. For example you have photo gallery where users could &#8220;vote&#8221;  (like) for each photo. And you need to make sorting of photos by popularity with Facebook. So you have, for example, 10 photos with urls: http://yoursite.com/photo/1,  http://yoursite.com/photo/2, .., http://yoursite.com/photo/10 what users could &#8220;like&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p>I will tell you have to make sorting of photos/posts/links via facebook.</p>
<p>For example you have photo gallery where users could &#8220;vote&#8221;  (like) for each photo. And you need to make sorting of photos by popularity with Facebook.</p>
<p>So you have, for example, 10 photos with urls: <br />
http://yoursite.com/photo/1, <br />
http://yoursite.com/photo/2, <br />
..,<br />
http://yoursite.com/photo/10<br />
what users could &#8220;like&#8221;. And you have pagination of 3 photos per page. So lets start.</p>
<p><span id="more-176"></span></p>
<p>First you need connect to facebook using <a href="https://github.com/facebook/php-sdk/">Facebook PHP SDK</a></p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$facebook</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Facebook<span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'appId'</span> &nbsp;<span style="color: #339933;">=&gt;</span> APPLICATION_ID<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'secret'</span> <span style="color: #339933;">=&gt;</span> APPLICATION_SECRET_KEY<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'cookie'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// enable optional cookie support</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>then we need these variables</p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">//current page</span><br />
<span style="color: #000088;">$page</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'p'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>?<span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'p'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$page</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$page</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//count of photos, of course you should use own query</span><br />
<span style="color: #000088;">$q</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT COUNT(id) as photos_count FROM photos&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_assoc"><span style="color: #990000;">mysql_fetch_assoc</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$q</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$photos_count</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$res</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photos_count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// we have 10</span><br />
<span style="color: #666666; font-style: italic;">// Total pages, so we will have 4 total pages</span><br />
<span style="color: #000088;">$pages_count</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/ceil"><span style="color: #990000;">ceil</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$photos_count</span><span style="color: #339933;">/</span>NUMBER_PHOTOS_PER_PAGE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// For pagination</span><br />
<span style="color: #000088;">$from_photo</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$page</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>NUMBER_PHOTOS_PER_PAGE<span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>And we need array of our links, what users could like (you should change to own url)</p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$links</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$q</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SELECT CONCAT(&quot;\&quot;http://yoursite.com/photo/&quot;,id,&quot;\&quot;&quot;) as link from photos'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_assoc"><span style="color: #990000;">mysql_fetch_assoc</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$q</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/array_push"><span style="color: #990000;">array_push</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$links</span><span style="color: #339933;">,</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p>Now lets get photos ordered by &#8220;like&#8221; from facebook</p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$links</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/join"><span style="color: #990000;">join</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$links</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'fql.query'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'query'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'SELECT url FROM link_stat WHERE url IN ('</span><span style="color: #339933;">.</span><span style="color: #000088;">$links</span><span style="color: #339933;">.</span><span style="color: #0000ff;">') ORDER BY total_count DESC LIMIT '</span><span style="color: #339933;">.</span><span style="color: #000088;">$from_photo</span><span style="color: #339933;">.</span><span style="color: #0000ff;">','</span><span style="color: #339933;">.</span>NUMBER_PHOTOS_PER_PAGE<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$ids</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// ids of photos to show</span><br />
<span style="color: #666666; font-style: italic;">// parse urls to get ids. (You should replace regexp, or maybe own method to fetch id from url)</span><br />
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$res</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$link_stat</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<a href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/[0-9]+$/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$link_stat</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<a href="http://www.php.net/array_push"><span style="color: #990000;">array_push</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ids</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p>So now we need just output this photos from DB sorting like array</p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$ids</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/join"><span style="color: #990000;">join</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span><span style="color: #000088;">$ids</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$q</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SELECT * from photos WHERE id IN ('</span><span style="color: #339933;">.</span><span style="color: #000088;">$ids</span><span style="color: #339933;">.</span><span style="color: #0000ff;">')<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY FIELD(id,'</span><span style="color: #339933;">.</span><span style="color: #000088;">$ids</span><span style="color: #339933;">.</span><span style="color: #0000ff;">')'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$photo</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_assoc"><span style="color: #990000;">mysql_fetch_assoc</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$q</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #339933;">.....</span><br />
&nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// output or do something else with photos</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p>And of course you should add &#8220;like&#8221; button to each photo</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;fb:like <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://yoursite.com/photo/&lt;?php echo $photo['id']?&gt;</span></span>&quot; show_faces=&quot;false&quot; layout=&quot;button_count&quot; width=&quot;158&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>fb:like&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>and pagination, with ?p parameter</p>
<p>&nbsp;</p>
<p>If you have some problems or question, just post a comment</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/29/how-to-make-sort-gallerypost-votings-likes-with-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zmags, Flash object and internal link</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/24/zmags-flash-object-and-internal-link/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/24/zmags-flash-object-and-internal-link/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 21:07:40 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=168</guid>
		<description><![CDATA[If you are using Zmags, and what to add internal link (go to some other page) into flash object. You could use this code in flash ( actionscript 3.0) 1234567import flash.external.*; but.addEventListener&#40;MouseEvent.CLICK, function&#40;e:MouseEvent&#41; &#123; &#160; &#160; var curUrl:String = &#160;String&#40; ExternalInterface.call&#40;&#34; function(){ return document.location.href.toString();}&#34;&#41;&#41;; &#160; &#160; curUrl = curUrl.replace&#40;/\/&#40;&#91;0-9&#93;+&#41;$/,'/'+YOUR_PAGE_NUMBER&#41;; &#160; &#160; var myURL:URLRequest = new [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using <a href="http://www.zmags.com/">Zmags</a>, and what to add internal link (go to some other page) into flash object. You could use this code in flash ( actionscript 3.0) </p>
<pre>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">external</span>.<span style="color: #66cc66;">*</span>;<br />
but.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:MouseEvent<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> curUrl:<span style="color: #0066CC;">String</span> = &nbsp;<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span> ExternalInterface.<span style="color: #0066CC;">call</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot; function(){ return document.location.href.toString();}&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; curUrl = curUrl.<span style="color: #006600;">replace</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>\<span style="color: #66cc66;">/</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span>-<span style="color: #cc66cc;">9</span><span style="color: #66cc66;">&#93;</span>+<span style="color: #66cc66;">&#41;</span>$<span style="color: #66cc66;">/</span>,<span style="color: #ff0000;">'/'</span>+YOUR_PAGE_NUMBER<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> myURL:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span>curUrl<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; navigateToURL<span style="color: #66cc66;">&#40;</span>myURL,<span style="color: #ff0000;">&quot;_self&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
</pre>
<p>where YOUR_PAGE_NUMBER &#8211; is page number you want to go after click on button with instance name &#8220;but&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/24/zmags-flash-object-and-internal-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4 is available now</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/21/firefox-4-is-available-now/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/21/firefox-4-is-available-now/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 19:02:14 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=160</guid>
		<description><![CDATA[FTP Windows Mac OS X Linux]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://mozcom-cdn.mozilla.net/img/firefox/beta/4/firstrun/illustration-rc.jpg" title="firefox" class="alignnone" width="660" /></p>
<p><a href="ftp://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0/">FTP</a></p>
<p><a href="http://download.mozilla.org/?product=firefox-4.0&#038;os=win">Windows</a></p>
<p><a href="http://download.mozilla.org/?product=firefox-4.0&#038;os=osx">Mac OS X</a></p>
<p><a href="http://download.mozilla.org/?product=firefox-4.0&#038;os=linux">Linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/21/firefox-4-is-available-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symfony ahDoctrineEasyEmbeddedRelations plugin, IE and Compatibility View Mode</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/18/symfony-ahdoctrineeasyembeddedrelations-plugin-ie-and-compatibility-view-mode/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/18/symfony-ahdoctrineeasyembeddedrelations-plugin-ie-and-compatibility-view-mode/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 20:15:34 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[IE]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=140</guid>
		<description><![CDATA[I have found interesting bug with symfony ahDoctrineEasyEmbeddedRelations plugin when you use IE Compatibility View Mode. Always save only 2 instance and never more. So lets find why it is happen. so you have embeded relation 1234567$this-&#62;embedRelations&#40;array&#40; &#160; &#160; &#160;'MyRelation' =&#62; array&#40; &#160; &#160; &#160; &#160; &#160; &#160; &#160;..... &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I have found interesting bug with symfony ahDoctrineEasyEmbeddedRelations plugin when you use IE Compatibility View Mode. Always save only 2 instance and never more. So lets find why it is happen.</p>
<p><span id="more-140"></span></p>
<p>so you have embeded relation</p>
<pre>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">embedRelations</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'MyRelation'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">.....</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'newRelationAddByCloning'</span><span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'newRelationUseJSFramework'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'jQuery'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">.....</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,....</span></div></td></tr></tbody></table></div>
</pre>
<p>So you will see something like:</p>
<p><img class="alignnone size-full wp-image-141" title="embedRelation1" src="http://vasiliy-selivanov.com.ua/wp-content/uploads/2011/03/embedRelation1.jpg" alt="" width="372" height="208" /></p>
<p>If we check what exactly happen when you click on &#8220;+&#8221; (in <br /> /web/ahDoctrineEasyEmbeddedRelationsPlugin/js/ahDoctrineEasyEmbeddedRelationsPlugin.jQuery)  we will see that script gets all fields, copy and then replace &#8220;id&#8221;s and &#8220;name&#8221;s attributes to +1.</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> matches<span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches <span style="color: #339933;">=</span> nameRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains [container][number]</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if so, increase the number in field name</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>nameRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'['</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">']['</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>matches<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">']'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches <span style="color: #339933;">=</span> idRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains _container_number_</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if so, increase the number in label for attribute</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>idRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>matches<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p>Seems to be all ok. But NOT if we are using IE in Compatibility View Mode. So what happen.</p>
<p>when script made first copy:</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> $newrow <span style="color: #339933;">=</span> $row.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>all input, select, etc fields will copied and changed</p>
<p>previous row:</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package_new_MyRelation_0_nameOfCheckbox&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][0][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>new copied row:</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package_new_MyRelation_1_nameOfCheckbox&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;submitName<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][1][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][0][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>Something wrong? Yes! Instead of correct &#8220;name&#8221; attribute we have correct &#8220;submitName&#8221;. Yes, this is bug in IE. And this attribute present only in IE. But it is ok for now, because anyway we will have correct $_POST/$_GET values.</p>
<p>But if we make copy again we will get</p>
<p>first row:</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package_new_MyRelation_0_nameOfCheckbox&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][0][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>second row:</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package_new_MyRelation_1_nameOfCheckbox&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;submitName<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][1][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][0][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>third row:</p>
<pre>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package_new_MyRelation_2_nameOfCheckbox&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;submitName<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][1][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;package[new_MyRelation][0][nameOfCheckbox]&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>You see &#8220;submitName&#8221; and &#8220;name&#8221; does not changed. Why? Because for &#8220;name&#8221; attibute script gets &#8220;number&#8221; from previous row &#8220;name&#8221; field attribute (yes, it is not correct, because there is 0 (&#8220;submitName&#8221; is correct, but &#8220;name&#8221; is not)).</p>
<p>So how we could fix it?</p>
<p>It is easy if we look at the &#8220;id&#8221; attribute what is changed correct, so you should just change in /web/ahDoctrineEasyEmbeddedRelationsPlugin/js/ahDoctrineEasyEmbeddedRelationsPlugin.jQuery line 17</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> matches<span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches <span style="color: #339933;">=</span> nameRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains [container][number]</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if so, increase the number in field name</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>nameRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'['</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">']['</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>matches<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">']'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches <span style="color: #339933;">=</span> idRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains _container_number_</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if so, increase the number in label for attribute</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>idRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>matches<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p>to</p>
<pre>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> matches<span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches <span style="color: #339933;">=</span> idRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains _container_number_</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if so, increase the number in label for attribute</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> new_number <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>matches<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matches_name <span style="color: #339933;">=</span> nameRe.<span style="color: #660066;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// check if its name contains [container][number]</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>nameRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'['</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">']['</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>new_number<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">']'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">id</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>idRe<span style="color: #339933;">,</span><span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> container <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>new_number<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'_'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
</pre>
<p> </p>
<p>I hope it is help somedays someone <img src='http://vasiliy-selivanov.com.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/18/symfony-ahdoctrineeasyembeddedrelations-plugin-ie-and-compatibility-view-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Facebook pages will automatically be upgraded</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/10/facebook-pages-will-automatically-be-upgraded/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/10/facebook-pages-will-automatically-be-upgraded/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 14:16:20 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=126</guid>
		<description><![CDATA[Facebook pages are getting an updated layout and several new features to help you engage with your fans. Preview your pages and you&#8217;ll be given the option to upgrade early. All pages will automatically be upgraded on March 10. this link http://www.facebook.com/pages/status/ help you upgrade it manualy]]></description>
			<content:encoded><![CDATA[<p>Facebook pages are getting an updated layout and several new features to help you engage with your fans. Preview your pages and you&#8217;ll be given the option to upgrade early. All pages will automatically be upgraded on March 10.</p>
<p>this link <a href="http://www.facebook.com/pages/status/">http://www.facebook.com/pages/status/</a> help you upgrade it manualy </p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/10/facebook-pages-will-automatically-be-upgraded/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>new symfony site</title>
		<link>http://vasiliy-selivanov.com.ua/2011/03/10/new-symfony-site/</link>
		<comments>http://vasiliy-selivanov.com.ua/2011/03/10/new-symfony-site/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 14:09:40 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/?p=123</guid>
		<description><![CDATA[http://symfony.com/ &#8230; waiting for 2.0]]></description>
			<content:encoded><![CDATA[<p><a href="http://symfony.com/">http://symfony.com/</a> </p>
<p>&#8230; waiting for 2.0 <img src='http://vasiliy-selivanov.com.ua/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2011/03/10/new-symfony-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dynamic google earth or live on google map</title>
		<link>http://vasiliy-selivanov.com.ua/2009/10/01/dynamic-google-earth-or-live-on-google-map/</link>
		<comments>http://vasiliy-selivanov.com.ua/2009/10/01/dynamic-google-earth-or-live-on-google-map/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:34:48 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/blog/2009/10/01/dynamic-google-earth-or-live-on-google-map/</guid>
		<description><![CDATA[Augmenting Aerial Earth Maps with Dynamic Information. Google Earth will be display movement of vehicles and people in real-time. How? Check video for answers.]]></description>
			<content:encoded><![CDATA[<p><b>Augmenting Aerial Earth Maps with Dynamic Information.</b></p>
<p>Google Earth will be display movement of vehicles and people in real-time. How? Check video for answers.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/TPk88soc2qw&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/TPk88soc2qw&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2009/10/01/dynamic-google-earth-or-live-on-google-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe CS5 &#8211; Flash and Photoshop CS5 preview</title>
		<link>http://vasiliy-selivanov.com.ua/2009/09/22/adobe-cs5-flash-and-photoshop-cs5-preview/</link>
		<comments>http://vasiliy-selivanov.com.ua/2009/09/22/adobe-cs5-flash-and-photoshop-cs5-preview/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 08:45:04 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/blog/2009/09/22/adobe-cs5-flash-and-photoshop-cs5-preview/</guid>
		<description><![CDATA[Some new information about Adobe CS5 FLASH CS5 Known issues Code Samples panel TLF text XML-based file format Live preview video component Adobe Media Encoder Screenshots video Adobe Flash CS5 Viper presented on FOTB 2009! &#8211; www.CS5.org from Adobe CS5 on Vimeo. &#160; more PHOTOSHOP CS5 video more &#160; from: http://cs5.org http://www.adobe.com]]></description>
			<content:encoded><![CDATA[<p>Some new information about Adobe CS5</p>
<h4>FLASH CS5</h4>
<p><strong>Known issues</strong></p>
<ul>
<li>Code Samples panel</li>
<li>TLF text</li>
<li>XML-based file format</li>
<li>Live preview video component</li>
<li>Adobe Media Encoder</li>
</ul>
<p><b>Screenshots</b></p>
<p><a href="http://cs5.org/wp-content/uploads/2009/09/Custom-Brushes-Adobe-CS5.jpg" target="_blank" rel="lightbox[92]"><img src="http://vasiliy-selivanov.com.ua/blog/uploaded/09222009/Custom-Brushes-Adobe-CS5-648x318.jpg" alt="flash cs5" /></a></p>
<p><a href="http://cs5.org/wp-content/uploads/2009/09/Code-Samples-Adobe-CS5.jpg" target="_blank" rel="lightbox[92]"><img src="http://vasiliy-selivanov.com.ua/blog/uploaded/09222009/Code-Samples-Adobe-CS5-648x398.jpg" alt="flash cs5" /></a></p>
<p><b>video</b></p>
<p><span id="more-92"></span><br /> <br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6690470&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=6690470&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowfullscreen="true" allowscriptaccess="always"></embed></object>
</p>
<p><a href="http://vimeo.com/6690470">Adobe Flash CS5 Viper presented on FOTB 2009! &#8211; www.CS5.org</a> from <a href="http://vimeo.com/user2336239">Adobe CS5</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>&nbsp;</p>
<p><a href="http://cs5.org/?p=238" target="_blank">more</a></p>
<p><b>PHOTOSHOP CS5</b><br />
<b>video</b></p>
<p>
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/dgKjs8ZjQNg&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=ru&amp;feature=player_embedded&amp;fs=1" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/dgKjs8ZjQNg&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=ru&amp;feature=player_embedded&amp;fs=1" allowfullscreen="true" allowscriptaccess="always"></embed></object>
</p>
<p><a href="http://www.adobe.com/technology/graphics/patchmatch.html" target="_blank"> more</a></p>
<p>&nbsp;</p>
<p>from:</p>
<p><a href="http://cs5.org" target="_blank">http://cs5.org</a></p>
<p><a href="http://www.adobe.com" target="_blank">http://www.adobe.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2009/09/22/adobe-cs5-flash-and-photoshop-cs5-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unix best commands</title>
		<link>http://vasiliy-selivanov.com.ua/2009/07/06/unix-best-commands/</link>
		<comments>http://vasiliy-selivanov.com.ua/2009/07/06/unix-best-commands/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:44:36 +0000</pubDate>
		<dc:creator>BACRHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vasiliy-selivanov.com.ua/blog/2009/07/06/unix-best-commands/</guid>
		<description><![CDATA[check site http://www.commandlinefu.com and you will get list of commands sorted by voting. Fx: Run the last command as root 1sudo !! Serve current directory tree at http://$HOSTNAME:8000/ 1python -m SimpleHTTPServer change to the previous working directory 1cd -]]></description>
			<content:encoded><![CDATA[<p>check site <a href="http://www.commandlinefu.com" target="_blank">http://www.commandlinefu.com</a> and you will get list of commands sorted by voting. Fx:</p>
<p><a title="Find out what others think of this command" href="http://www.commandlinefu.com/commands/view/13/run-the-last-command-as-root">Run the last command as root</a></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">!!</span></div></td></tr></tbody></table></div>
<p><a title="Find out what others think of this command" href="http://www.commandlinefu.com/commands/view/71/serve-current-directory-tree-at-httphostname8000">Serve current directory tree at http://$HOSTNAME:8000/</a></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">python <span style="color: #660033;">-m</span> SimpleHTTPServer</div></td></tr></tbody></table></div>
<p><a title="Find out what others think of this command" href="http://www.commandlinefu.com/commands/view/51/change-to-the-previous-working-directory">change to the previous working directory</a></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> -</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://vasiliy-selivanov.com.ua/2009/07/06/unix-best-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

