Could not find a relevant post that addressed my problem.
Trying to use the Yahoo Shopping example for the oG Search Engine, but continue to only get a single page of results. Anyone seen this problem?
The XPath is virtually the same for the "Next" links on each site and the
example gets 10 pages of results. I initially used the Bookmaker odds example
to grab the first page of results when I ran into trouble. Now trying to
convert to a more robust solution. Appreciate any help...
The Google Custom Search API will work for me as I just need one exhaustive
search per day.
Also, I apologize for not posting the correct copy of my code; always seem to
post when I am most frustrated and have totaled the code. The xq-expression
should be as follows:
<xq-expression><![CDATA[ declare variable $doc as node() external; for $URL in $doc//cite return <link>{replace(data($URL), '[ \n\t]', '')}</link> ]]></xq-expression>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could not find a relevant post that addressed my problem.
Trying to use the Yahoo Shopping example for the oG Search Engine, but continue to only get a single page of results. Anyone seen this problem?
The XPath is virtually the same for the "Next" links on each site and the
example gets 10 pages of results. I initially used the Bookmaker odds example
to grab the first page of results when I ran into trouble. Now trying to
convert to a more robust solution. Appreciate any help...
Before testing your code, you must know that google doesnt allow scrapping...
therefore you must use their api
Also, there's a semicolon at the end of the 1st </call-param>;
The code seems good, but the link provided isnt... even when chaging it, it
still not working, I don't know how it works for you...
I'm pretty sure google's scripts block scrapping on their google.com page In
order to force people to use their api limited to 100 free query xD
Change code as following:
let $variable := replace(data($item), '', '')
return
<link>{$variable}</link>
instead of yours:
return
<link>{replace(data($item), '', '')}</link>
Thanks for the feedback guys.
The Google Custom Search API will work for me as I just need one exhaustive
search per day.
Also, I apologize for not posting the correct copy of my code; always seem to
post when I am most frustrated and have totaled the code. The xq-expression
should be as follows:
No problem. Code that I set is also working, so you can check it.