Penso che puoi risolvere appendendo il nodo link1 direttamente al nodo li, anziché al nodo span, modificando le ultime 5 istruzioni in questo modo:<div><br></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; font-size: 13px; white-space: nowrap; "><span class="whitespace">            </span><span class="js-localvariable" style="color: black; ">span</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">appendChild</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">createTextNode</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-localvariable" style="color: black; ">data1</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br>
<span class="whitespace">            </span><span class="js-localvariable" style="color: black; ">li</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">appendChild</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-localvariable" style="color: black; ">span</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><br>
<span class="whitespace">            </span><span class="js-localvariable" style="color: black; ">li</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-variable" style="color: black; ">appendChild</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-localvariable" style="color: black; ">link1</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><br>
<span class="whitespace">            </span><span class="js-localvariable" style="color: black; ">div</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-variable" style="color: black; ">appendChild</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-localvariable" style="color: black; ">li</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><br>
</span><div><span style="font-family: &#39;courier new&#39;, monospace; ">            container.appendChild(div);</span><br><br></div><div>Buon proseguimento,</div><div>Giuliano</div><div><br></div><div><br></div><div><br>
<div class="gmail_quote">Il giorno 14 aprile 2011 22:58, Edoardo Poeta <span dir="ltr">&lt;<a href="mailto:edoardo.poeta@gmail.com">edoardo.poeta@gmail.com</a>&gt;</span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Sono un ignorante crasso di dom e js, ma devo per necessità estrema ricorrere alla Google Feed Api. Recuperato il feed lo devo restituire con questo output per ragioni di css: <span style="font-family:courier new,monospace"><br>


<br>&lt;span&gt;mese anno&lt;/span&gt;&lt;a href=&quot;link&quot;&gt;Titolo&lt;/a&gt;</span><br> <br>Ho scritto<br><br><span style="font-family:courier new,monospace">var entry = result.feed.entries[i];</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            var div = document.createElement(&quot;div&quot;);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            var link1 = document.createElement(&#39;a&#39;);</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            var li = document.createElement(&#39;li&#39;);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            var span = document.createElement(&#39;span&#39;);</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">        </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            var data = new Date(entry.publishedDate);</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            var data1 = data.getMonth() + &#39; &#39; + data.getFullYear();</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">                       </span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            link1.appendChild(document.createTextNode(entry.title));</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            link1.setAttribute(&#39;href&#39;, entry.link);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">        </span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            span.appendChild(document.createTextNode(data1));</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            span.appendChild(link1)</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">            li.appendChild(span)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            div.appendChild(li)</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">                             </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">            container.appendChild(div);</span><br>


<br>ottengo ovviamente questo<br><span style="font-family:courier new,monospace">&lt;span xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;2 2011&lt;a href=&quot;<a href="http://issuu.com/thinkquarterly/docs/01-data/1" target="_blank">http://issuu.com/thinkquarterly/docs/01-data/1</a>&quot;&gt;Think Quarterly - 01 Data&lt;/a&gt;&lt;/span&gt;</span><br>


<br>invece vorrei ottenere questo<br><span style="font-family:courier new,monospace">&lt;span xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;2 2011&lt;/span&gt;&lt;a href=&quot;<a href="http://issuu.com/thinkquarterly/docs/01-data/1" target="_blank">http://issuu.com/thinkquarterly/docs/01-data/1</a>&quot;&gt;Think Quarterly - 01 Data&lt;/a&gt;</span><br>


<br>C&#39;è qualche anima pia che mi può aiutare? So che è una cosa banale, ma non ci riesco... e sto perdendoci ore!<br><br>Grazie!<br><font color="#888888"><br>E.<br>
</font><br><br>
--<br>
Mailing list info: <a href="http://lists.linux.it/listinfo/sabazialug" target="_blank">http://lists.linux.it/listinfo/sabazialug</a><br>
<br></blockquote></div><br></div></div>