Hello.
I use this great contribution. But i have problem with diacritic words in searching. For example if i have word dřez the google searcher this interprate like this: dĹ™ez.
Please. Can you help me with this?
Thank you
Hello.
I use this great contribution. But i have problem with diacritic words in searching. For example if i have word dřez the google searcher this interprate like this: dĹ™ez.
Please. Can you help me with this?
Thank you
Welcome Google Searcher has been updated to interoperate correctly with php 5.3.
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
In an earlier post from a couple years ago, you mentioned that line 145 of tpl_main_page.php could be modified to weed out unwanted search terms.
My line 145 shows:
$keywords = '';
I've noticed a few oddities that manage to pass through Google, like:
²®
but confound my Zen-Cart search engine so that no further items are located.
Is there a means to add these characters so that they can be ignored?
Great mod, BTW - thanks!
Hi, im getting results like this
Welcome, Google Searcher! We see you arrived searching for: &esrc=s&source=web&cd=1&ved=0cdyqfjaa&url=http://########################rytv.com/store/gold_earrings.html&ei=vojntovdg87orqe71_sida&usg=afqjcnf0h8bmmxrcytmu91vcjbxwxvz-rg&sig2=2yg0fs3bofya6bknt65fga
Click here to search our entire site for these keywords
just like the demo site is showing currently.
Could you please help?
Thank you
hmm.... can't dup. Google is operating differently for you for some reason.
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
I hadn't brought up the odd search stuff, but since you passed on my question and instead answered fjtv's post but said you couldn't duplicate the oddities mentioned, here's one from a search today on my site:
Welcome, Google Searcher! We see you arrived searching for: &esrc=s&source=productsearch&cd=11&ved=0ckgbeimimao&url=http://www.[domain].com/shop/index.php?main_page=product_info&products_id=4256¤cy=usd&ctbm=shop&ei=qlhoto_6ey zbggek7r3ydq&usg=afqjcnh9_dc4hqmb4--ra2x-iv-9b8pdaq&sig2=5duwqyxoz4a_wcuidnptnw
Click here to search our entire site for these keywords
I chalked those up to something on Google's end, but if it helps to get a more informative answer, I'm all for helping.
Line 145 in the first version is line 149 in the second.
(The way to figure things like this out is to download the prior version and look at it.)
It's this block:
So both of you: please print out what you get in this loop and figure out what you need to filter out.Code:foreach ($key_arr as $key) { if (empty($key)) continue; $key = preg_replace($unStrictReplace, '', $key); $noquotekey = preg_replace($quoteReplace, '%', $key); if (empty($search_keywords)) { $search_keywords = $noquotekey; $keywords = $key; } else { $search_keywords = $search_keywords . '+' . $noquotekey; $keywords = $keywords . ' ' . $key; } }
@oregongardener - to strip off oddball characters, read about preg_replace and iconv.
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Hi, anyone has solution? Pardon as i dont have php knowledge. Thanks
The problem with Google Searcher's result is that Google is sending two different query types to your site (you can see this if you look at your logs) and Google Searcher is only using one decoding format, when 2 are needed.
We are working to modify the code being used so it will translate what Google is sending correctly. A preg_replace or preg_match is not going to do the job. The solution is a regex expression.
Hello, I installed your module (thank you for the contribution) but it says this when they enter my site: Welcome, Google Searcher! We see you arrived searching for: tps://www.google.com/
Click here to search our entire site for these keywords
Sorry, the product was not found.
I used the example of wwrepair.com drain pump and when I clicked on the link that pulled up it brought to my page BUT instead of showing the drain pump in the search it said tps://www.google.com/
What should I do differently?
Bookmarks