function pipeCallback(obj) {
document.write("");
var i;
for (i = 0; i obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "
" + "" + obj.value.items[i].title + "
";
document.write(item);
}
document.write("");
}
<script type="text/javascript">
function pipeCallback(obj) {
document.write("<ul>");
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write("</ul>");
}
</script>
<script...