var t = {
"name": "2photo.ru",
"updated_at": "2009-01-12T19:23:09+09:00",
"database_resource_url": "http:\/\/wedata.net\/databases\/iview",
"created_by": "ku",
"resource_url": "http:\/\/wedata.net\/items\/26658",
"data": {
"paragraph": "id('dle-content')/a[@class='news_head']",
"permalink": "./@href",
"url": "http:\/\/www.2photo.ru\/",
"subRequest.paragraph": "//div[@class='news_text']/div[@id]/img",
"subRequest.imageSource": "./@src",
"subRequest.caption": "//title/text()",
"nextLink": "id('dle-content')/div[last()]/font/following-sibling::a[1]",
},
"created_at": "2009-01-12T18:49:43+09:00"
};
for ( var n in t.data ) {
document.getElementById("data["+n+"]").value = t.data[n];
}