<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Simone Giugliani Blog</title>
	
	<link>http://simyxt.altervista.org</link>
	<description>informatica ed elettronica amatoriale</description>
	<lastBuildDate>Sun, 27 Sep 2009 11:11:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/SimoneGiuglianiBlog" type="application/rss+xml" /><feedburner:emailServiceId>SimoneGiuglianiBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Il bromografo</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/z3Ovz_JQR_E/</link>
		<comments>http://simyxt.altervista.org/il-bromografo/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 08:23:51 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[elettronica]]></category>
		<category><![CDATA[circuiti elettrici]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=274</guid>
		<description><![CDATA[

 Cos&#8217;è??
Il bromografo è uno strumento molto usato in elettronica che serve per trasferire su di una basetta presensibilizzata, usando la luce, le piste del circuito attraverso il master ottenuto precedentemente usando un programma di CAD sul PC.  

 Come funziona??  Il bromografo sfrutta la luce ultravioletta (UV) per solidificare il photoresist (un [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/5CCpy7_LYJAjxzHsjmzuPwwV-kg/0/da"><img src="http://feedads.g.doubleclick.net/~a/5CCpy7_LYJAjxzHsjmzuPwwV-kg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5CCpy7_LYJAjxzHsjmzuPwwV-kg/1/da"><img src="http://feedads.g.doubleclick.net/~a/5CCpy7_LYJAjxzHsjmzuPwwV-kg/1/di" border="0" ismap="true"></img></a></p><p style="float: left;margin: 4px;"><script type="text/javascript"><!--
google_ad_client = "pub-8317813521601074";
/* 300x250, creato 16/01/08 */
google_ad_slot = "6588950589";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br/></p> <p><strong>Cos&#8217;è??</strong></p>
<p><strong>Il bromografo</strong> è uno strumento molto usato in elettronica che serve per trasferire su di una basetta presensibilizzata, usando la luce, le piste del circuito attraverso il master ottenuto precedentemente usando un programma di CAD sul PC.<br /> <strong> </strong></p>
<p><span id="more-274"></span></p>
<p><strong><br /> Come funziona??<br /> </strong><br /> Il bromografo sfrutta la luce ultravioletta (UV) per solidificare il photoresist (un composto chimico che ricopre l&#8217;intera basetta) nelle parti dove le piste del master non sono presenti, ovvero dove tra basetta e luce non ci sia nulla che impedisca il passaggio della luce ultravioletta.<br /> La seguente immagine spiega meglio come funziona un bromografo..</p>
<p><img title="Funzionamento del bromografo" src="http://image.wetpaint.com/image/2/H0e4ArIY0iohrcD7mKrQnA6631/GW500H261" alt="Funzionamento del bromografo" width="500" height="261" align="bottom" /></p>
<p>Come si vede dall&#8217;immagine, la fonte luminosa è diretta dal master verso il lato rame della basetta presensibilizzata.<br /> Quando viene esposta, la basetta mantiene sulla sua superficie, le piste stampate sul master, mentre nella parte in cui sul master non ci sono piste, il photoresist solidifica e tramite un bagno in una soluzione fortemente basica viene eliminato.</p>
<p><strong>L&#8217;esposizione</strong> e lo <strong>sviluppo</strong> (processo in cui la base stacca dalla basetta le parti di photoresist solidificate) sono processi che devono essere effettuati in tempi precisi.<br /> Quando si espone una basetta alla luce UV, si deve fare in modo che non ci sia una sovraesposizione (quando la basetta è stata troppo sotto la luce) e sottoesposizione (quando la basetta è stata poco sotto la luce). Il fattore tempo è quindi determinante nella buona riuscita di un circuito stampato.<br /> I tempi però vanno trovati sperimentalmente, facendo varie prove e, ahimè, buttando qualche basetta nel cestino <img src='http://simyxt.altervista.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .<br /> I tempi dipendono anche da molti fattori tra i quali: la qualità della basetta (vi consiglio di comprare la basetta sempre dallo stesso venditore), dal tipo di foglio usato per il master (io personalmente uso il foglio lucido tecnico, quello che ci si fanno i piccoli disegnini a scuola, ma spesso si usano i fogli di acetato completamente trasparenti), lo spessore del vetro che separa le lampade dal sandwitch master-basetta e dalla distanza delle lampade dal vetro..<br /> <span style="color: #ff0000; font-size: medium;"><strong><br /> </strong></span></p>
<blockquote><div><span style="color: #ff0000; font-size: medium;"><strong><img title="Attenzione ai raggi UV" src="http://image.wetpaint.com/image/1/Ion3ckATaSAUDpY8mfIheg51902/GW47H42" alt="Attenzione ai raggi UV" width="47" height="42" align="left" /> ATTENZIONE:</strong></span> La luce ultravioletta è dannosa per la pelle e per gli occhi. Anche se sembra semplice luce violetto/blu.</div>
</blockquote>
<p><strong>Lo sviluppo</strong> si ottiene immergendo la basetta appena esposta sotto la luce UV in una soluzione di acqua e soda caustica o idrossido di sodio (NaOH). La soda caustica, che essendo molto basica, elimina il photoresist in eccesso nei punti in cui sul master non vi è stampato nulla.<br /> Anche lo sviluppo è soggetto al fattore tempo..Troppo tempo nella soluzione infatti potrebbe &#8220;tagliare&#8221; qualche pista, mentre poco tempo nella soluzione potrebbe non eliminare completamente la sottilissima pellicola di photoresist e quindi, quando la basetta verrà immersa nel composto chimico di incisione (normalmente si usa il cloruro ferrico), il rame in eccesso non verrà completamente eliminato e potrebbero formarsi dei ponti che causerebbero dei corto circuiti.</p>
<p><strong>L&#8217;incisione</strong> è il processo che elimina il rame in eccesso dalla basetta attraverso una reazione chimica.<br /> Ci sono diversi tipi di composti chimici che posso eliminare il rame.<br /> Il più usato è il cloruro ferrico (FeCl3) che tra l&#8217;altro macchia come un dannato <img src='http://simyxt.altervista.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , ma molti usano un composto di perossido di idrogeno (acqua ossigenata) a 130 volumi e acido cloridrico. Quest&#8217;ultimo è molto più pericoloso del cloruro ferrico.</p>
<p>Questo è il mio bromografo autocostruito (completo di timer (sempre autocostruito usando un PIC) per avere dei tempi precisi)</p>
<table border="0" cellpadding="10" width="100%" align="bottom">
<tbody>
<tr>
<td width="50%"><img title="Il mio bromografo" src="http://image.wetpaint.com/image/1/mL8z5rIX9lg2U0A1pJu4fw88123/GW335H252" alt="Il mio bromografo" width="214" height="160" align="bottom" /></td>
<td width="50%"><img title="Il timer del bromografo" src="http://image.wetpaint.com/image/1/RZ_ZseimhRRt5YPxcugVwg99246/GW338H255" alt="Il timer del bromografo" width="215" height="164" align="bottom" /></td>
</tr>
<tr>
<td width="50%"><img title="LCD del timer" src="http://image.wetpaint.com/image/1/tqRDq0gId1UBlScknHSxTA61716/GW338H255" alt="LCD del timer" width="211" height="158" align="bottom" /></td>
<td width="50%"><img title="Il bromografo acceso" src="http://image.wetpaint.com/image/1/xr_XRcXFh_UJ7aoje7WAAg93731/GW339H255" alt="Il bromografo acceso" width="214" height="162" align="bottom" /></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/il-bromografo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/il-bromografo/</feedburner:origLink></item>
		<item>
		<title>Leggere il codice HTML di un sito remoto con cUrl</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/Q-k0WafQ5uE/</link>
		<comments>http://simyxt.altervista.org/leggere-il-codice-html-di-un-sito-remoto-con-curl/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 11:14:48 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[pillole]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=271</guid>
		<description><![CDATA[

 A molti potrebbe essere utile questa funzione per leggere il codice HTML di un sito remoto per reperire informazioni oppure per rispecchiarne la pagina&#8230;
Comunque, per qualsiasi utilizzo lo si voglia usare la funzione è la seguente:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
function torna_codice&#40;$url&#41;
&#123;
    $curl = curl_init&#40;&#41;;
&#160;
    // Setup headers - I used the same [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/K3agToj3uZVEyYqI-MLOznChKnA/0/da"><img src="http://feedads.g.doubleclick.net/~a/K3agToj3uZVEyYqI-MLOznChKnA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/K3agToj3uZVEyYqI-MLOznChKnA/1/da"><img src="http://feedads.g.doubleclick.net/~a/K3agToj3uZVEyYqI-MLOznChKnA/1/di" border="0" ismap="true"></img></a></p><p>A molti potrebbe essere utile questa funzione per leggere il codice HTML di un sito remoto per reperire informazioni oppure per rispecchiarne la pagina&#8230;</p>
<p>Comunque, per qualsiasi utilizzo lo si voglia usare la funzione è la seguente:</p>
<p><br/><br/><span id="more-271"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> torna_codice<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$curl</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Setup headers - I used the same headers from Firefox version 2.0.0.6</span>
    <span style="color: #666666; font-style: italic;">// below was split up because php.net said the line was too long. :/</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Accept: text/xml,application/xml,application/xhtml+xml,&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Cache-Control: max-age=0&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Connection: keep-alive&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Keep-Alive: 300&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Accept-Language: en-us,en;q=0.5&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$header</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Pragma: &quot;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// browsers keep this blank.</span>
&nbsp;
    <span style="color: #000088;">$referers</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;google.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;yahoo.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;msn.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;ask.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;live.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$choice</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_rand</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referers</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$referers</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$choice</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$browsers</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$choice2</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_rand</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$browsers</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$browser</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$browsers</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$choice2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_USERAGENT<span style="color: #339933;">,</span> <span style="color: #000088;">$browser</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_HTTPHEADER<span style="color: #339933;">,</span> <span style="color: #000088;">$header</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_REFERER<span style="color: #339933;">,</span> <span style="color: #000088;">$referer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_AUTOREFERER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_TIMEOUT<span style="color: #339933;">,</span> <span style="color: #cc66cc;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_MAXREDIRS<span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_FOLLOWLOCATION<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_error</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// execute the curl command</span>
    <span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// close the connection</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// and finally, return $html</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><br/><br/><br />
Come si vede, la funzione utilizza le librerie <a href="http://us.php.net/manual/en/book.curl.php">cUrl</a> di PHP&#8230;<br />
Vi ricordo che nel vostro sito dovete avere abilitato questa libreria, altrimenti la funzione non fungerà..<br />
Ad esempio altervista mette a disposizione questa libreria e la <a href="http://us.php.net/manual/en/function.fsockopen.php">fsockopen</a> per comunicare con host esterni, ma devono essere attivati tramite un semplice sms&#8230;</p>
<p>Tuttavia la funzione restituisce, se tutto è andato bene, il codice HTML del sito che è stato passato alla funzione..<br />
Per ottenere il codice potete fare cosi:<br/><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$codice</span> <span style="color: #339933;">=</span> torna_codice<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://www.google.it&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><br/><br/><br />
Io ho sfruttato questa funzione per prelevare il contenuto del tag <title> del sito web in questione..se volete fare come me:<br/><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$apri</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://www.google.it&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">eregi</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;title&gt;(.+)&lt;/title&gt;&quot;</span><span style="color: #339933;">,</span> torna_codice<span style="color: #009900;">&#40;</span><span style="color: #000088;">$apri</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$titolo</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span> 
       <span style="color: #000088;">$tag_title</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$titolo</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span> 
        <span style="color: #000088;">$tag_title</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$apri</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Cioè, se c&#8217;è del contenuto nel tag title, il codice inserisce nella variabile il suo contenuto, altrimenti inserisce l&#8217;url del sito web passato nella funzione..<br />
Questo è tutto&#8230;:-)</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/leggere-il-codice-html-di-un-sito-remoto-con-curl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/leggere-il-codice-html-di-un-sito-remoto-con-curl/</feedburner:origLink></item>
		<item>
		<title>Robotic chair</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/AFYCF33ngXA/</link>
		<comments>http://simyxt.altervista.org/robotic-chair/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 10:49:17 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Robotica]]></category>
		<category><![CDATA[Tecnologie]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[elettronica]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=268</guid>
		<description><![CDATA[Vi segnalo questo interessante video in cui viene mostrata una sedia robotizzata che si distrugge (non è proprio il suo scopo) e si ricostruisce da sola..
Fantastico!!


]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/LginyDH8ey47FMgzIWon_0ncY-w/0/da"><img src="http://feedads.g.doubleclick.net/~a/LginyDH8ey47FMgzIWon_0ncY-w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/LginyDH8ey47FMgzIWon_0ncY-w/1/da"><img src="http://feedads.g.doubleclick.net/~a/LginyDH8ey47FMgzIWon_0ncY-w/1/di" border="0" ismap="true"></img></a></p><p>Vi segnalo questo interessante video in cui viene mostrata una sedia robotizzata che si distrugge (non è proprio il suo scopo) e si ricostruisce da sola..</p>
<p>Fantastico!!</p>
<p><br/><br/><br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/vlXh8RvvcuI&#038;hl=it&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vlXh8RvvcuI&#038;hl=it&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/robotic-chair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/robotic-chair/</feedburner:origLink></item>
		<item>
		<title>In pillole – Reindirizzamento per lingua dell’utente in PHP</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/MlzhZZWdoiA/</link>
		<comments>http://simyxt.altervista.org/in-pillole-reindirizzamento-per-lingua-dellutente-in-php/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 20:21:19 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[pillole]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=265</guid>
		<description><![CDATA[Piccolo script che permette di reindirizzare automaticamente l&#8217;utente secondo la propria lingua..


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function redirect&#40;&#41;  
&#123;  
$langs = $_SERVER&#91;'HTTP_ACCEPT_LANGUAGE'&#93;;  
$lang = substr&#40;$langs, 0, 2&#41;;
switch &#40;$lang&#41;
&#123;
	case 'it':
	header&#40;'location: it/index.php'&#41;;
	break;
	case 'en':
	header&#40;'location: en/index.php'&#41;;
	break;
	case 'fr':
	header&#40;'location: fr/index.php'&#41;;
	break;
&#125;  
&#125;

Ed è possibile richiarmarla semplicemente così:

1
redirect&#40;&#41;;

]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/o5sGvO_8r2QawzBx7IEefNUV_hI/0/da"><img src="http://feedads.g.doubleclick.net/~a/o5sGvO_8r2QawzBx7IEefNUV_hI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/o5sGvO_8r2QawzBx7IEefNUV_hI/1/da"><img src="http://feedads.g.doubleclick.net/~a/o5sGvO_8r2QawzBx7IEefNUV_hI/1/di" border="0" ismap="true"></img></a></p><p>Piccolo script che permette di reindirizzare automaticamente l&#8217;utente secondo la propria lingua..</p>
<p><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> redirect<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>  
<span style="color: #009900;">&#123;</span>  
<span style="color: #000088;">$langs</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_ACCEPT_LANGUAGE'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>  
<span style="color: #000088;">$lang</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$langs</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$lang</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'it'</span><span style="color: #339933;">:</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'location: it/index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'en'</span><span style="color: #339933;">:</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'location: en/index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'fr'</span><span style="color: #339933;">:</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'location: fr/index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>  
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><br/><br/>Ed è possibile richiarmarla semplicemente così:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">redirect<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/in-pillole-reindirizzamento-per-lingua-dellutente-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/in-pillole-reindirizzamento-per-lingua-dellutente-in-php/</feedburner:origLink></item>
		<item>
		<title>In pillole – Leggere contenuto cartelle in PHP</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/Hi_lGEO5TqQ/</link>
		<comments>http://simyxt.altervista.org/in-pillole-leggere-contenuto-cartelle-in-php/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 11:35:04 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[pillole]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=263</guid>
		<description><![CDATA[Per un amico ho realizzato una foto-gallery. Essa prendeva il titolo dell&#8217;album direttamente dalla cartella e faceva una gallery delle immagini contenute nella medesima cartella..
Per questo motivo mi sono dovuto creare delle funzioni che leggono il contenuto della cartella passata come parametro..
Lo script è il seguente:


1
2
3
4
5
6
7
8
9
10
11
12
&#60;?php
$nome_cartella = &#34;files/&#34;;
$handle = opendir&#40;$nome_cartella&#41;;
while &#40;false != &#40;$file = readdir&#40;$handle&#41;&#41;&#41; [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/ZGo1gQYD-bpy9bQg1h8yB2UCddU/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZGo1gQYD-bpy9bQg1h8yB2UCddU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZGo1gQYD-bpy9bQg1h8yB2UCddU/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZGo1gQYD-bpy9bQg1h8yB2UCddU/1/di" border="0" ismap="true"></img></a></p><p>Per un amico ho realizzato una foto-gallery. Essa prendeva il titolo dell&#8217;album direttamente dalla cartella e faceva una gallery delle immagini contenute nella medesima cartella..</p>
<p>Per questo motivo mi sono dovuto creare delle funzioni che leggono il contenuto della cartella passata come parametro..</p>
<p>Lo script è il seguente:</p>
<p><br/><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$nome_cartella</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;files/&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$handle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">opendir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$nome_cartella</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">!=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <span style="color: #990000;">readdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handle</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	   <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$file</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;..&quot;</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$file</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	   <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$file</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br/&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><br/><br/><br />
In poche parole, lo script legge il contenuto della cartella che è inserita nella variabile $nome_cartella e stampa a video i nomi dei file e delle cartelle..<br />
Se si vuole separare cartelle e file, si può fare un controllo con l&#8217;istruzione <strong>is_dir($file)</strong> che ritorna <strong>true</strong> se il paramentro passato è una cartella.<br />
A questo punto è possibile mettere in un array le cartelle e in un altro i file..</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/in-pillole-leggere-contenuto-cartelle-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/in-pillole-leggere-contenuto-cartelle-in-php/</feedburner:origLink></item>
		<item>
		<title>In pillole – Eliminare file in PHP</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/1NJTLO85hfw/</link>
		<comments>http://simyxt.altervista.org/in-pillole-eliminare-file-in-php/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 10:57:10 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[pillole]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=258</guid>
		<description><![CDATA[Inauguro oggi questa nuova categoria con lo scopo di aiutare i principianti (ma anche gli esperti che non ricordano come scrivere un istruzione..cosa che mi capita spesso..:-) ) nel trovare soluzioni ai loro problemi nella programmazione in PHP..
In questo post vedremo come eliminare un file con PHP.
Inanzitutto, l&#8217;istruzione per elimare i file è unlink($nome_file)&#8230;
Un piccolo [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/9JKatD8Xfbu00EGCrZeJhZyymII/0/da"><img src="http://feedads.g.doubleclick.net/~a/9JKatD8Xfbu00EGCrZeJhZyymII/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9JKatD8Xfbu00EGCrZeJhZyymII/1/da"><img src="http://feedads.g.doubleclick.net/~a/9JKatD8Xfbu00EGCrZeJhZyymII/1/di" border="0" ismap="true"></img></a></p><p>Inauguro oggi questa nuova categoria con lo scopo di aiutare i principianti (ma anche gli esperti che non ricordano come scrivere un istruzione..cosa che mi capita spesso..:-) ) nel trovare soluzioni ai loro problemi nella programmazione in PHP..</p>
<p>In questo post vedremo come eliminare un file con PHP.</p>
<p>Inanzitutto, l&#8217;istruzione per elimare i file è <strong>unlink($nome_file)</strong>&#8230;</p>
<p>Un piccolo script di esempio:</p>
<p><br/><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$path_nome_file</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'esempio.gif'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">file_exists</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$path_nome_file</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//con estensione</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #990000;">unlink</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$path_nome_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//elimina il file contenuto in $path_nome_file</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><br/><br />
Cosa fa questo script?? Semplice, per prima cosa controlla che il file (in questo caso il file esempio.gif) esiste e se esiste lo elimina..</p>
<p>Tutto qui..</p>
<p>A presto..</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/in-pillole-eliminare-file-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/in-pillole-eliminare-file-in-php/</feedburner:origLink></item>
		<item>
		<title>Prototipo per dispensa automatica per gatti</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/V35eFnyv5Tk/</link>
		<comments>http://simyxt.altervista.org/prototipo-per-dispensa-automatica-per-gatti/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 16:45:12 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tecnologie]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[elettronica]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[circuiti elettrici]]></category>
		<category><![CDATA[circuiti integrati]]></category>
		<category><![CDATA[programmi]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=255</guid>
		<description><![CDATA[Questa mattina ho terminato di fare la parte Hardware (prototipo relativo alla comunicazione, visto che manca ancora la parte motrice e del sensore).
Ho fatto un piccolo video che riassume le capacità del progetto..
 


Il tutto è molto semplice&#8230;
Il software sul PC si occupa di gestire i dati ricevuti da internet (dove io controllo il dispositivo..Posso anche [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/jnZc3RxHm_vlYYj5LiezXPEUa8g/0/da"><img src="http://feedads.g.doubleclick.net/~a/jnZc3RxHm_vlYYj5LiezXPEUa8g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jnZc3RxHm_vlYYj5LiezXPEUa8g/1/da"><img src="http://feedads.g.doubleclick.net/~a/jnZc3RxHm_vlYYj5LiezXPEUa8g/1/di" border="0" ismap="true"></img></a></p><p>Questa mattina ho terminato di fare la parte Hardware (prototipo relativo alla comunicazione, visto che manca ancora la parte motrice e del sensore).</p>
<p>Ho fatto un piccolo video che riassume le capacità del progetto..</p>
<p> </p>
<p><center><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Dr95hVc7tdo&#038;hl=it&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Dr95hVc7tdo&#038;hl=it&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
<p><br/></p>
<p>Il tutto è molto semplice&#8230;<br />
Il software sul PC si occupa di gestire i dati ricevuti da internet (dove io controllo il dispositivo..Posso anche trovarmi in Siberia davanti ad un PC con una connessione ad Internet per far si che il mio gattino mangi tranquillamente).</p>
<p>Stay Tuned per futuri sviluppi..:-)</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/prototipo-per-dispensa-automatica-per-gatti/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/prototipo-per-dispensa-automatica-per-gatti/</feedburner:origLink></item>
		<item>
		<title>Creiamoci il nostro streaming video</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/80oe0zgbUkQ/</link>
		<comments>http://simyxt.altervista.org/creiamoci-il-nostro-streaming-video/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 15:31:52 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[programmi]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=241</guid>
		<description><![CDATA[Il vostro cane fa casini quando siete via oppure volete avere sempre uno sguardo alla vostra casa stando comodamente seduti sul divano di un albergo a Los Angeles e ovviamente non volete spendere cifre orbitanti??
Niente paura, c’è NSV Tools e ShoutCast!
Con questi due software potrai vedere cosa accade in casa o dove tu vuoi e [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/69Jb80tOEOMERhuiCa5SFxz15Vg/0/da"><img src="http://feedads.g.doubleclick.net/~a/69Jb80tOEOMERhuiCa5SFxz15Vg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/69Jb80tOEOMERhuiCa5SFxz15Vg/1/da"><img src="http://feedads.g.doubleclick.net/~a/69Jb80tOEOMERhuiCa5SFxz15Vg/1/di" border="0" ismap="true"></img></a></p><p><center><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/sc-logobig.png"><img class="aligncenter size-medium wp-image-252" title="sc-logobig" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/sc-logobig-300x84.png" alt="sc-logobig" width="300" height="84" /></a></center></p>
<p>Il vostro cane fa casini quando siete via oppure volete avere sempre uno sguardo alla vostra casa stando comodamente seduti sul divano di un albergo a Los Angeles e ovviamente non volete spendere cifre orbitanti??</p>
<p>Niente paura, c’è NSV Tools e ShoutCast!</p>
<p>Con questi due software potrai vedere cosa accade in casa o dove tu vuoi e puoi anche trasmettere file video.</p>
<p>Cominciamo subito..</p>
<p>Scarica <a href="../NSVtools_repack.exe">NSV Tools</a> e <a href="shoutcast-dnas-1-9-8-windows.exe">ShoutCast DNAS Server</a>.</p>
<p>Installa questi due software e iniziamo subito a fare streaming!</p>
<p><span id="more-241"></span></p>
<p>Per prima cosa posizionati nella cartella <em>C:\Programmi\NSVtools\ </em>e crea un file di testo di nome <em>headers.txt</em> (se non esiste ovviamente) e aprilo.</p>
<p>Inserisci queste righe di codice e modificalo nelle parti in grassetto:</p>
<p><strong>Pass</strong> (da ricordare. Ti servirà per l’altro programma)</p>
<p>content-type:video/nsv</p>
<p>icy-metadata:0</p>
<p>icy-name:<strong>Dai un nome allo streaming</strong></p>
<p>icy-genre:Video</p>
<p>icy-pub:1</p>
<p>icy-br:128</p>
<p>icy-url:<strong>inserisci un URL qui</strong></p>
<p>icy-irc:#chan</p>
<p>icy-icq:1234567</p>
<p>icy-aim:SomeUser</p>
<p>icy-reset:1</p>
<p>Bene, adesso salvalo. Ci sono due metodi per fare streaming: streaming di file, oppure streaming live da Webcam o altro dispositivo video..</p>
<p><strong>Straming di file</strong></p>
<p>Questo processo serve per convertire i vostri file video in file <em>.nsv</em> compatibili con il programma.</p>
<p>Apri  il file <em>nsvate.exe.</em></p>
<p>Clicca su <em>File</em> -&gt; <em>Add Source Files</em></p>
<p>Seleziona il file video che vuoi caricare. (puoi scegliere tra .avi, .mpeg, .mov, .mpg)</p>
<p>Scegli la directory di destinazione che preferisci in basso alla finestra di dialogo.</p>
<p>Ora, clicca su <em>Edit Profiles </em>per modificare la grandezza, lo spettro audio, la velocità di riproduzione, nonché la qualità video.</p>
<p><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/nsvate1.JPG"><img class="aligncenter size-medium wp-image-242" title="nsvate1" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/nsvate1-300x160.jpg" alt="nsvate1" width="300" height="160" /></a></p>
<p><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/nsvate_conf.JPG"><img class="aligncenter size-medium wp-image-243" title="nsvate_conf" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/nsvate_conf-300x236.jpg" alt="nsvate_conf" width="300" height="236" /></a></p>
<p>Aperta la finestrella, clicca su <em>Add New</em> per creare un nuovo profilo, successivamente clicca su <em>Edit</em>. Dai un nome al profilo e scegli le configurazioni che credi siano adatte a te. Una volta finito clicca su <em>OK </em>e chiudi le finestre di configurazioni. Ora clicca sulla riga del file da convertire e successivamente clicca sulla freccia in alto. La conversione partirà….aspetta qualche secondo (a seconda della grandezza del file ovviamente)</p>
<p>Una volta finito siamo pronti a trasmettere.</p>
<p>Copia il file convertito e copialo in una nuova cartella all’interno della directory NSVtools.</p>
<p>Esempio: il file deve trovarsi qui -&gt; <em>C:\Programmi\NSVtools\streaming\tuo_file.nsv</em></p>
<p>Ora che tutto è pronto, apri un editor di testo (semplicemente il notepad di Windows) e incollaci queste righe e modificalo nelle parti in grassetto:</p>
<p>cd <strong>c:\programmi\nsvtools </strong>(directory di NSVtools)</p>
<p>nsvscsrc /SC 127.0.0.1:8000:<strong>pass</strong>:headers.txt <strong>streaming</strong></p>
<p><strong><br />
</strong></p>
<p><strong> </strong></p>
<p>pass = la password che prima hai scelto ed inserito nel file headers.txt</p>
<p>streaming = cartella in cui c’è il file prima convertito.</p>
<p>Salvalo con nome a piacere, ma con estensione <em>.bat (Il batch di Windows) </em>e non aprirlo ancora.</p>
<p>Questo file servirà per richiamare la connessione al server, senza ogni volta aprire il Prompt dei Comandi e spostarsi nella directory di NSVtools.</p>
<p>Ora andiamo spostiamoci nella directory <em>C:\Programmi\SHOUTcast </em>ed apriamo il file <em>sc_serv.ini.</em></p>
<p>Spostiamoci alla riga “Password=pass” e modifichiamo il parametro pass con la password che prima abbiamo scelto.</p>
<p>Alla riga “MaxUser” puoi scegliere quanti utenti potranno visualizzare il video contemporaneamente.</p>
<p>Salva ed esci dall’editor. Ora avvia il file <em>sc_serv.exe</em>.</p>
<p>A questo punto puoi avviare il file <em>.bat</em> che prima hai creato.</p>
<p>Se tutto andrà a buon fine, visualizzerai nella schermata DOS questo</p>
<p><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/dos.JPG"><img class="aligncenter size-medium wp-image-244" title="dos" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/dos-300x151.jpg" alt="dos" width="300" height="151" /></a></p>
<p>Altrimenti ricontrolla i nomi dei file, le directory nelle righe di codice. Se proprio non riesci a farlo funzionare, <a href="../info/">contattami</a>.</p>
<p>Ora per fare un prova, apri Windows Media Player. Vai su File -&gt; Apri URL</p>
<p>Ed inserisci questa stringa:</p>
<p><strong><a href="http://tuo_ip:8000/;stream.nsv">http://TUO_IP:8000/;stream.nsv</a></strong></p>
<p><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/wmp.JPG"><img class="aligncenter size-medium wp-image-245" title="wmp" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/wmp-300x159.jpg" alt="wmp" width="300" height="159" /></a></p>
<p>Dove TUO_IP è il tuo Indirizzo IP…</p>
<p>Il tuo indirizzo IP ora è:</p>
<p>74.125.44.136</p>
<p><strong>Streaming da Webcam</strong></p>
<p><strong> </strong></p>
<p>Nella directory <em>C:\Programmi\NSVtools</em>, aprire il file <em>nsvcap.exe</em></p>
<p>Andare sul menu <em>File</em> -&gt; <em>Set Capture Destination </em>e alla voce “Output” sciegliere <em>Shoutcast host</em>.</p>
<p>Impostate come Shoutcast server “<em>localhost</em>”, porta “8000” e alla voce password impostate la password che avete scelto per shoutcast (vedi <strong>Streaming da file</strong>).</p>
<p>Nel campo headers lasciate stare com’è oppure potete modificare la voce URL.</p>
<p>Nel menu NSV -&gt; Config potete modificare le impostazioni di frame video e spettro audio nonché la qualità del video.</p>
<p>In <em>File</em> -&gt; <em>Title control</em> potete dare un titolo al vostro streaming..</p>
<p>Se avete una webcam, sarete pronti per fare lo streaming dalla vostra WC.</p>
<p>Per iniziare a trasmettere aprire il file <em>sc_serv.exe</em> nella directory <em>C:\Programmi\SHOUTcast</em>. Il server di SHOUTcast ora avrà in streaming il video passato da NSVCap.</p>
<p><a href="http://simyxt.altervista.org/wp-content/uploads/2009/07/shout.JPG"><img class="aligncenter size-medium wp-image-246" title="shout" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/shout-300x237.jpg" alt="shout" width="300" height="237" /></a></p>
<p>Ora, grazie al controllo web di Windows Media Player potete inserire questo video in una pagina internet, con il controllo che punta verso il vostro server virtuale!</p>
<p>Un esempio di controllo:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;object classid=&quot;clsid:6bf52a52-394a-11d3-b153-00c04f79faa6&quot; width=&quot;100&quot; height=&quot;100&quot; codebase=&quot;http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701&quot;&gt;&lt;param name=&quot;url&quot; value=&quot;http://TUO_IP:8000/;stream.nsv&quot; /&gt;&lt;param name=&quot;src&quot; value=&quot;http://TUO_IP:8000/;stream.nsv&quot; /&gt;&lt;embed type=&quot;application/x-mplayer2&quot; width=&quot;100&quot; height=&quot;100&quot; src=&quot;http://TUO_IP:8000/;stream.nsv&quot; url=&quot;http://TUO_IP:8000/;stream.nsv&quot;&gt; &lt;/embed&gt;&lt;/object&gt;</pre></div></div>

<p>Bene, ora potete sfruttare questi software per qualsiasi utilizzo.<br />
In campo elettronico potete usare questi software ad esempio, per controllare a distanza un robot.<br />
Gli utilizzi sono molteplici</p>
<p>A presto!!</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/creiamoci-il-nostro-streaming-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/creiamoci-il-nostro-streaming-video/</feedburner:origLink></item>
		<item>
		<title>ilBloggatore.com – notizie dal mondo tech!</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/V7XI4M574bE/</link>
		<comments>http://simyxt.altervista.org/ilbloggatore-com-notizie-dal-mondo-tech/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 08:04:51 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tecnologie]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=239</guid>
		<description><![CDATA[Eh si, anchio mi sono iscritto ad ilbloggatore.com, un aggregatore di Feed che raccoglie tutte le notizie dai blog iscritti del mondo dell&#8217;informatica. Anchio vorrei condividere le mie idee e passioni a più persone possibili..
Se volete farvi conoscere, iscriviti su ilbloggatore&#8230;
]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/HdvHlcz1_TvL4IbCWDh9954Upas/0/da"><img src="http://feedads.g.doubleclick.net/~a/HdvHlcz1_TvL4IbCWDh9954Upas/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/HdvHlcz1_TvL4IbCWDh9954Upas/1/da"><img src="http://feedads.g.doubleclick.net/~a/HdvHlcz1_TvL4IbCWDh9954Upas/1/di" border="0" ismap="true"></img></a></p><p>Eh si, anchio mi sono iscritto ad <a href="http://www.ilbloggatore.com">ilbloggatore.com</a>, un aggregatore di Feed che raccoglie tutte le notizie dai blog iscritti del mondo dell&#8217;informatica. Anchio vorrei condividere le mie idee e passioni a più persone possibili..<br />
Se volete farvi conoscere, <a href="http://www.ilbloggatore.com/contattaci/">iscriviti</a> su ilbloggatore&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/ilbloggatore-com-notizie-dal-mondo-tech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/ilbloggatore-com-notizie-dal-mondo-tech/</feedburner:origLink></item>
		<item>
		<title>CSS decenti con Styleneat!</title>
		<link>http://feedproxy.google.com/~r/SimoneGiuglianiBlog/~3/wjCLuTrw2Os/</link>
		<comments>http://simyxt.altervista.org/css-decenti-con-styleneat/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 22:14:15 +0000</pubDate>
		<dc:creator>Simone Giugliani</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[informatica]]></category>
		<category><![CDATA[programmazione]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[servizi]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://simyxt.altervista.org/?p=231</guid>
		<description><![CDATA[Entrano nel vostro sito web, spulciano nel codice HTML..vanno a curiosare nel codice CSS e cosa trovano? Un codice illeggibile tutto in una linea e tutto attaccato. Basta! Pietà per tutti i copiatori di CSS che nella speranza di riuscire a copiare quel grazioso effetto di rollover sono incappati in un mercato del pesce fatto [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Z5nIoGZpsTkf28TLzB8jUyxhQ8M/0/da"><img src="http://feedads.g.doubleclick.net/~a/Z5nIoGZpsTkf28TLzB8jUyxhQ8M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Z5nIoGZpsTkf28TLzB8jUyxhQ8M/1/da"><img src="http://feedads.g.doubleclick.net/~a/Z5nIoGZpsTkf28TLzB8jUyxhQ8M/1/di" border="0" ismap="true"></img></a></p><p>Entrano nel vostro sito web, spulciano nel codice HTML..vanno a curiosare nel codice CSS e cosa trovano? Un codice illeggibile tutto in una linea e tutto attaccato. Basta! Pietà per tutti i copiatori di CSS che nella speranza di riuscire a copiare quel grazioso effetto di rollover sono incappati in un mercato del pesce fatto in codice. Da oggi si usa <a href="http://styleneat.com/" target="_blank">styleneat</a>.</p>
<p style="text-align: center;"><a href="http://styleneat.com"><img class="aligncenter size-full wp-image-233" title="logo2" src="http://simyxt.altervista.org/wp-content/uploads/2009/07/logo21.png" alt="logo2" width="198" height="37" /></a></p>
<p>Styleneat permette la formattazzione del vostro codice CSS per renderlo decisamente più leggibile del disordine lunga migliaia di colonne e di una riga sola che avete fatto.</p>
<p>Copiate il vostro codice, incollatelo (in alternativa potete uploadare il vostro file css direttamente dal sit, oppure linkare un .css già su un sito web), scegliete le opzioni che preferite e cliccate su <strong>Organize CSS</strong>.</p>
<p>In pochi secondi avrete il vostro codice perfettamente formattato e allineato.</p>
<p><span id="more-231"></span></p>
<p>Un piccolo esempio:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">html<span style="color: #00AA00;">,</span>body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
body <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #933;">.8em</span> <span style="color: #ff0000;">&quot;Trebuchet MS&quot;</span><span style="color: #00AA00;">,</span> Verdana<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Sans-Serif<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1 <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1<span style="color: #6666ff;">.lol</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#3da81d</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
h2 <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span>font-weight<span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#footer</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Trebuchet MS<span style="color: #00AA00;">,</span>arial<span style="color: #00AA00;">,</span>sans <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>font-<span style="color: #000000; font-weight: bold;">size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666666</span><span style="color: #00AA00;">;</span>position<span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>padding-<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">70px</span><span style="color: #00AA00;">;</span>left<span style="color: #00AA00;">:</span> <span style="color: #933;">112px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>right<span style="color: #00AA00;">:</span> <span style="color: #933;">112px</span><span style="color: #00AA00;">;</span>padding-<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Codice formattato da Styleneat:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">html<span style="color: #00AA00;">,</span>body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
body <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #933;">.8em</span> <span style="color: #ff0000;">&quot;Trebuchet MS&quot;</span><span style="color: #00AA00;">,</span> Verdana<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Sans-Serif<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
h1 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
	h1<span style="color: #6666ff;">.lol</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#3da81d</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
h2 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#footer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Trebuchet MS<span style="color: #00AA00;">,</span>arial<span style="color: #00AA00;">,</span>sans <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666666</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">70px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">112px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">112px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Decisamente meglio che dite??<br />
Questo servizio lo trovo moooolto utile..</p>
]]></content:encoded>
			<wfw:commentRss>http://simyxt.altervista.org/css-decenti-con-styleneat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simyxt.altervista.org/css-decenti-con-styleneat/</feedburner:origLink></item>
	</channel>
</rss>
