<?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>Andrei Ghioc :: Web developer - blog</title>
	<atom:link href="http://blog.andreighioc.ro/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.andreighioc.ro</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 23 Jan 2011 13:05:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Importa pozele de pe facebook</title>
		<link>http://blog.andreighioc.ro/apps-facebook/importa-pozele-de-pe-facebook-by-andreighioc</link>
		<comments>http://blog.andreighioc.ro/apps-facebook/importa-pozele-de-pe-facebook-by-andreighioc#comments</comments>
		<pubDate>Sun, 23 Jan 2011 12:47:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apps. Facebook]]></category>

		<guid isPermaLink="false">http://blog.andreighioc.ro/?p=21</guid>
		<description><![CDATA[Cum sa cream o aplicatie care it importa pozele de pe Facebook:

Insereaza in header:

<pre lang="html4strict">
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
FB.init({
appId  : '186633588026923',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml  : true  // parse XFBML
});

</script>
</pre> <a href="http://blog.andreighioc.ro/apps-facebook/importa-pozele-de-pe-facebook-by-andreighioc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Cum sa cream o aplicatie care it importa pozele de pe Facebook:</p>
<p>Insereaza in header:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-root&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://connect.facebook.net/en_US/all.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
FB.init({
appId  : '186633588026923',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml  : true  // parse XFBML
});
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
window.getAlbums = function() {
  FB.api('/me/albums', function(resp) {
&nbsp;
	var ulPC = document.getElementById('PicsFromFb');
	var iCNT = new Number(0);
	var iimgTXT = new String();
	ulPC.innerHTML = '';
    for (var i=0, l=resp.data.length; i<span style="color: #009900;">&lt;l; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;">		var album <span style="color: #66cc66;">=</span> resp.<span style="color: #000066;">data</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</span>
<span style="color: #009900;">		iCNT <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span>;</span>
&nbsp;
<span style="color: #009900;">		  FB.api<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'/'</span>+album.<span style="color: #000066;">id</span>+<span style="color: #ff0000;">'/photos'</span>, function<span style="color: #66cc66;">&#40;</span>respPC<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;">			<span style="color: #000066;">for</span> <span style="color: #66cc66;">&#40;</span>var iPC<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>, lPC<span style="color: #66cc66;">=</span>respPC.<span style="color: #000066;">data</span>.length; iPC&lt;lPC; iPC++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;">				var pic <span style="color: #66cc66;">=</span> respPC.<span style="color: #000066;">data</span><span style="color: #66cc66;">&#91;</span>iPC<span style="color: #66cc66;">&#93;</span>;</span>
&nbsp;
<span style="color: #009900;">				iimgTXT <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'&lt;div class=&quot;addFoto-galItem&quot; &gt;</span></span>';
				iimgTXT += '<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;addFoto-fotoHolder FbPicBox&quot;</span>&gt;</span> ';
				iimgTXT += '<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">center</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;padding: 5px;&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;' + pic.images[pic.images.length - 1].source + '&quot;</span>  <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">center</span>&gt;</span>';
				iimgTXT += '<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>';
				iCNT += 1;
				if (iCNT &gt;= 6) {
					iCNT = 0;
					iimgTXT += '<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clear&quot;</span> &gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- --&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>';
				}
				ulPC.innerHTML += iimgTXT;
&nbsp;
			}
&nbsp;
		  });
&nbsp;
    }
&nbsp;
  });
};
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>Insereaza butonul:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;fb:login-button perms<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags&quot;</span> onlogin<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;getAlbums()&quot;</span>&gt;</span>
Importa pozele de pe Facebook
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>fb:login-button&gt;</span></pre></div></div>

<p>Inseareaza si pozitia unde doresti sa fie listate pozele.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;PicsFromFb&quot;</span> &gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.andreighioc.ro/apps-facebook/importa-pozele-de-pe-facebook-by-andreighioc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drop-Down Article (WP plugin)</title>
		<link>http://blog.andreighioc.ro/wordpress/drop-down-article-wp-plugin-by-andreighioc</link>
		<comments>http://blog.andreighioc.ro/wordpress/drop-down-article-wp-plugin-by-andreighioc#comments</comments>
		<pubDate>Sat, 27 Mar 2010 15:42:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[drop-down]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://blog.andreighioc.ro/?p=5</guid>
		<description><![CDATA[== Description ==

List of drop-down for categories and articles.
Categories are group by level.
Search button go on article page. <a href="http://blog.andreighioc.ro/wordpress/drop-down-article-wp-plugin-by-andreighioc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>=== Plugin Name ===<br />
Contributors: aghioc<br />
Donate link: http://andreighioc.ro/<br />
Tags: drop-down, categories, articles, search<br />
Requires at least: 2.0.2<br />
Tested up to: 2.1<br />
Stable tag: 4.3</p>
<p>== Description ==</p>
<p>List of drop-down for categories and articles.<br />
Categories are group by level.<br />
Search button go on article page.</p>
<p>== Installation ==</p>
<p>This section describes how to install the plugin and get it working.</p>
<p>e.g.</p>
<p>1. Upload `drop-down-articles.php` to the `/wp-content/plugins/` directory<br />
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress<br />
3. Go to Appearance -&gt; Widget.<br />
4. Set widget `title` and category parent.</p>
<p>== Changelog ==</p>
<p>= 1.0 =<br />
* List versions from most recent at top to oldest at bottom.</p>
<p>Download:  <a href="http://blog.andreighioc.ro/wp-content/uploads/2010/03/drop-down-articles1.zip">drop-down-articles</a></p>
<p><a href="http://blog.andreighioc.ro/wp-content/uploads/2010/03/drop-down-articles.zip"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreighioc.ro/wordpress/drop-down-article-wp-plugin-by-andreighioc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

