Need help with Google Custom Search Engine ..

Discussion in 'Google API' started by ziya, Aug 31, 2009.

  1. #1
    I have the piece of code like this :

    ===
    var results = webSearch.results;
    for (var i = 0; i < results.length; i++)
    {
    var rc=i+1; // results start at 0 so add 1
    var countHTML='<span class="resultsCount">'+rc+')</span> ';
    var result = results;
    var title = document.createElement('div');
    title.innerHTML = countHTML+result.titltenoformattingi+'<br />';
    contentDiv.appendChild(title);
    ===

    I use this after I get results from Google search. Above part working fine. I need to read and post text and link of websites in a result.

    what properties are there for webSearch.results for reading text and URL of websites ?

    Can anyone help me with it please
     
    ziya, Aug 31, 2009 IP