izmenjeno 1 put, poslednji put Aleksandar Ružičić 25.05.2008. u 17:40
Izmene poruke
- Aleksandar Ružičić25.05.2008. u 17:40zapis iz teksta poruke
Imam problem sa funkcionalnoscu Google Custom Search Engine-a, tj. za bilo koju rec koju mu zadam da pretrazuje ne moze da pronadje rezultat u okviru mog sajta i to za neke reci koje se pojavljuju na svakoj stranici. Evo koda koji sam koristio
stranica na kojoj je forma
stranica na kojoj se prikazuje rezultat
Ne znam sta moze biti problem
stranica na kojoj je forma
Code:
<form action="http://mojsajt.com/result.html" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="007534734189520848532:pk6wzzehmis" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse...orm=cse-search-box&lang=en"></script>
<form action="http://mojsajt.com/result.html" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="007534734189520848532:pk6wzzehmis" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse...orm=cse-search-box&lang=en"></script>
stranica na kojoj se prikazuje rezultat
Code:
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
Ne znam sta moze biti problem
Potpis
Do not try to bend the spoon, that's impossible.
Instead just try to realize the truth.
What truth?
There is no spoon.
There is no spoon?
Then you'll see that is not the spoon that bends, it is only yourself.
Instead just try to realize the truth.
What truth?
There is no spoon.
There is no spoon?
Then you'll see that is not the spoon that bends, it is only yourself.