<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Filtro json]]></title><description><![CDATA[<p dir="auto">Eccomi di nuovo qui...<br />
grazie all'aiuto trovato qui sul forum e una sana dote di pazienza, sono riuscito a convertire il mio xml in json(p) sul server e darlo in pasto al client con $.ajax (scusate se non uso un linguaggio tecnico ma ne sono alqunto ignorante)<br />
Ora però ho un problema e spero che qualcuno mi dia una mano.<br />
Vi fornisco dei dati:</p>
<hr />
<p dir="auto">Questo è un estratto del mio json<br />
{<br />
"@attributes": {<br />
"version": "2.0"<br />
},<br />
"channel": {<br />
"title": "MyNF",<br />
"link": "vuoto",<br />
"description": "News",<br />
"copyright": "Copyright MFd",<br />
"docs": ".htttp/blogs.law.harvard.edu/tech/rss",<br />
"language": "IT-it",<br />
"item": [<br />
{<br />
"title": "Boomk",<br />
"category": "News",<br />
"pubDate": "Sun, 28 Jul 2013 11:58:07 +0200",<br />
"guid": "vuoto.php?id=111",<br />
"description": "JPmorgan flute, pin.51, graund.36"<br />
},<br />
{<br />
"title": "ByronMC",<br />
"category": "News",<br />
"pubDate": "Sun, 28 Jul 2013 11:58:07 +0200",<br />
"guid": "vuoto.php?id=112",<br />
"description": "Adenomi salter, pin.45, graund.24"<br />
},<br />
{<br />
"title": "ClebverFK",<br />
"category": "News",<br />
"pubDate": "Sun, 28 Jul 2013 11:58:07 +0200",<br />
"guid": "vuoto.php?id=113",<br />
"description": "Radum sniter, pin.78, graund.12"<br />
},<br />
etc etc etc</p>
<hr />
<p dir="auto">Nel file index.html ho:<br />
$.ajax({<br />
type: "GET",<br />
url : ".htttp/ww.mynf.it/json.php?callback=?",<br />
success: function(data)<br />
{<br />
$('#ole').html(JSON.stringify(data));<br />
console.log(json);<br />
},<br />
error: function(e)<br />
{<br />
alert(e.message);<br />
}<br />
});</p>
<p dir="auto">...che nel div "olé" mi restituisce il json.</p>
<p dir="auto">PROBLEMA: Non ho idea di come fare a farmi "restituire" soltanto i valori di "title" e "description", che sono gli unici che mi interessano, e scartare tutto il resto.<br />
Qualcuno mi può aiutare?<br />
Grazie mille in anticipo.</p>
]]></description><link>https://dev.connect.gt/topic/192110/filtro-json</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 01:07:52 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/192110.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Jul 2013 13:56:03 GMT</pubDate><ttl>60</ttl></channel></rss>