<?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>Roberto Curci Blog &#187; Php</title>
	<atom:link href="http://www.robertocurci.net/categorie/web-design/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robertocurci.net</link>
	<description>Risorse per Internet Geeks</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:18:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Come rendere visibili i meta html opegraph solo a Facebook &#8211; Validazione w3c</title>
		<link>http://www.robertocurci.net/web-design/php/come-rendere-visibili-i-meta-html-opegraph-solo-facebook-validazione-w3c.html</link>
		<comments>http://www.robertocurci.net/web-design/php/come-rendere-visibili-i-meta-html-opegraph-solo-facebook-validazione-w3c.html#comments</comments>
		<pubDate>Thu, 06 Jan 2011 07:39:01 +0000</pubDate>
		<dc:creator>RobertoCurci</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.robertocurci.net/?p=510</guid>
		<description><![CDATA[Se lavoriamo con il doctype XHTML 1.0 o successivi e opengraph, è necessario applicare un po&#8217; di logica lato server, per riuscire a validare un documento W3c completamente. Dai un&#8217;occhiata a questo, non voglio spiegare il funzionamento del codice, penso che sia di facile comprensione. &#60;?php function is_facebook(){ if(stristr($_SERVER["HTTP_USER_AGENT"],’facebook’) === FALSE) return true; } } [...]]]></description>
			<content:encoded><![CDATA[<p><span><span>Se lavoriamo con il </span><span>doctype </span></span>XHTML<span><span> 1.0 o successivi e opengraph, è necessario applicare un po&#8217; di logica lato server, per riuscire a validare un documento W3c completamente.</span> <span>Dai un&#8217;occhiata a questo, non voglio spiegare il funzionamento del codice, penso che sia di facile comprensione.</span></span></p>
<p><cite>&lt;?php<br />
function is_facebook(){<br />
if(stristr($_SERVER["HTTP_USER_AGENT"],’facebook’) === FALSE)<br />
return true;<br />
}<br />
}<br />
?&gt;&lt;!DOCTYPE html&gt;<br />
&lt;html dir=”ltr” lang=”en-US”&lt;?php if(is_facebook()){echo ‘  xmlns:fb=”http://www.facebook.com/2008/fbml”  xmlns:og=”http://opengraphprotocol.org/schema/”‘;}?&gt;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;&lt;?php bloginfo(‘name’); ?&gt;&lt;/title&gt;<br />
&lt;meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /&gt;</cite></p>
<p><cite>&lt;?php if(is_facebook()){?&gt;<br />
&lt;meta property=”og:title” content=”&lt;?php echo $title;?&gt;”/&gt;<br />
&lt;meta property=”og:description” content=”&lt;?php echo $description;?&gt;”/&gt;<br />
&lt;meta property=”og:type” content=”article”/&gt;<br />
&lt;meta property=”og:image” content=”&lt;?=$path_to_page_thumbnail?&gt;”/&gt;<br />
&lt;meta property=”og:url” content=”http://&lt;?php echo $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];?&gt;”/&gt;<br />
&lt;meta property=”og:site_name” content=”&lt;?=$the_name_of_the_site?&gt;”/&gt;<br />
&lt;meta property=”fb:appid” content=”&lt;?=$your_fb_app_id?&gt;”/&gt;<br />
&lt;?php }?&gt;</cite></p>
<p>Spero sia utile a qualcuno</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.robertocurci.net%2Fweb-design%2Fphp%2Fcome-rendere-visibili-i-meta-html-opegraph-solo-facebook-validazione-w3c.html&amp;t=Come%20rendere%20visibili%20i%20meta%20html%20opegraph%20solo%20a%20Facebook%20-%20Validazione%20w3c" id="facebook_share_both_510" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top left;">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_510') || document.getElementById('facebook_share_icon_510') || document.getElementById('facebook_share_both_510') || document.getElementById('facebook_share_button_510');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_510') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.robertocurci.net/web-design/php/come-rendere-visibili-i-meta-html-opegraph-solo-facebook-validazione-w3c.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PhpDay 2008</title>
		<link>http://www.robertocurci.net/web-design/php/phpday-2008.html</link>
		<comments>http://www.robertocurci.net/web-design/php/phpday-2008.html#comments</comments>
		<pubDate>Sat, 09 Feb 2008 14:54:10 +0000</pubDate>
		<dc:creator>RobertoCurci</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[programmazione]]></category>

		<guid isPermaLink="false">http://www.robertocurci.net/news/phpday-2008.html</guid>
		<description><![CDATA[Dopo il successo riscosso nel 2007 ecco la quinta edizione del PhpDay 2008, che si terrà il 23-24 Maggio a Rimini. Il phpDay è l&#8217;evento, convegno italiano dedicato allo sviluppo di PHP in ambito professionale, per chi volesse saperne di più visitare www.phpday.it Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>Dopo il successo riscosso nel 2007 ecco la quinta edizione del PhpDay 2008, che si terrà il <strong>23-24 Maggio</strong> a Rimini.</p>
<p>Il phpDay è l&#8217;evento, convegno italiano dedicato allo sviluppo di PHP in ambito professionale, per chi volesse saperne di più visitare <a href="http://www.phpday.it" target="_blank">www.phpday.it</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.robertocurci.net%2Fweb-design%2Fphp%2Fphpday-2008.html&amp;t=PhpDay%202008" id="facebook_share_both_88" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top left;">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_88') || document.getElementById('facebook_share_icon_88') || document.getElementById('facebook_share_both_88') || document.getElementById('facebook_share_button_88');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_88') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.robertocurci.net/web-design/php/phpday-2008.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preload di pagina</title>
		<link>http://www.robertocurci.net/web-design/php/preload-di-pagina.html</link>
		<comments>http://www.robertocurci.net/web-design/php/preload-di-pagina.html#comments</comments>
		<pubDate>Tue, 08 Jan 2008 02:56:02 +0000</pubDate>
		<dc:creator>RobertoCurci</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[preload]]></category>
		<category><![CDATA[preloader]]></category>

		<guid isPermaLink="false">http://www.robertocurci.net/php/preload-di-pagina.html</guid>
		<description><![CDATA[Seguendo alcuni forum, ho trovato persone in difficoltà nel creare un preload di pagina, un pò come quelli fatti in flash. Ho deciso di crearne uno e metterlo online. Caratteristiche dello script: - Presenza immagine e testo di caricamento - Un piacevole effetto di trasparenza su tutta la pagina fino a quando non viene caricata [...]]]></description>
			<content:encoded><![CDATA[<p>Seguendo alcuni forum, ho trovato persone in difficoltà nel creare un preload di pagina, un pò come quelli fatti in flash.</p>
<p>Ho deciso di crearne uno e metterlo online.</p>
<p>Caratteristiche dello script:</p>
<p>- Presenza immagine e testo di caricamento</p>
<p>- Un piacevole effetto di trasparenza su tutta la pagina fino a quando non viene caricata</p>
<p>- scrollbar del browser nascoste fino a quando non viene caricata tutta la pagina</p>
<p>Per visualizzare una demo clicca qui:</p>
<p><a href="http://www.robertocurci.net/scripts/rc-preloaderhtml/" title="Demo preloaderhtml">Demo</a></p>
<p>Per scaricare lo zip contenente lo script clicca qui:</p>
<p><a href="http://www.robertocurci.net/downloads/?dl_id=2">Download rc-htmlpreloader.zip</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.robertocurci.net%2Fweb-design%2Fphp%2Fpreload-di-pagina.html&amp;t=Preload%20di%20pagina" id="facebook_share_both_76" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top left;">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_76') || document.getElementById('facebook_share_icon_76') || document.getElementById('facebook_share_both_76') || document.getElementById('facebook_share_button_76');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_76') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.robertocurci.net/web-design/php/preload-di-pagina.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

