AWStats doesn't recognize any search engine - search-engine

AWStats seems to recognize Google as an external page rather than a
search engine.
As a result, it does not report top search keyphrases and keywords.
Output on the web page:
...
Links from an Internet Search Engine - Full list
Links from an external page (other web sites except search engines) - Full list
- http://www.google.com/url 1,427 1,427
- http://www.google.com/imgres 960 1,025
- http://www.google.com/search 332 367
...
Where should I look to find a solution?

Related

How to handle sitemaps for pages with path parameters?

I noticed that some website are capable of providing a URL like:
https://www.example.com/cars/new%20york
and get Google to display something like
320 cars found in NewYork
Get cars here at EXAMPLE.COM
https://www.example.com/cars/new%20york
in the search results (note that there's also the number of cars displayed).
I'd like to optimize my website in the same way thus I am currently working on a sitemap. However, I don't see how search engines would be able to "guess" all the possible parameters to this.
I was thinking that I could e.g. generate a sitemap with all possible parameters (e.g. all cities):
https://www.example.com/cars/new%20york
https://www.example.com/cars/vienna
https://www.example.com/cars/rome
and put them in my sitemaps.xml
That's a semi-optimal solution imho because in theory on can have example.com/cars/anything%20you%20want.
So - is there another way to achieve what this or will it be necessary to create this (rather huge) list of urls and host it?

Extracting URLs from multiple pages of archive.org?

Usually i search for books at archive.org,i find them one by one,open each one in a new tab,and when there are 30 tabs i open new chrome windows.Each tab has a URL like
https://archive.org/details/in.gov.ignca.12237 .So at the end i got some chrome windows,each with 30 tabs.I want a list of the URLs of the PDF files which are available at each tab(1 PDF is at each tabs).Now,how could i do it as easy as possible,and for free?
Best,

Change structure of automaticly generated urls in prestashop

I have this website of my client made by someone in prestashop which has search input, and after searching for an item it will display a list of matching products, each linking to its page with a url looking like this:
www.website.com/category/full-product-name.html?search_query=search_phrase&results=2
Where a regular url of the product page looks like this:
www.website.com/category/full-product-name.html
The problem is now the google indexes the duplicated urls as separate pages.
I've never worked with prestashop before but I've looked into the template files and found something what I'd assume is file responsible for generating the content with line responsible for the link looking like this:
<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
Now as I don't know much about prestashop I don't want to blindly change stuff. How could I change it to have the links from the search results have the same structure as the normal product page urls?
Well I don't know what's the point of allowing search engines indexing search pages but the problem is here. For whatever reason the developers decided to include query string into search result links.
You can create an override of search controller (or custom search module would be even better) and throw that line out and you should have normal product links.

Address suggestions while searching offline SKMAPS

I am using MultiStep offline search in SKMaps. I have a search bar in my application, where a user can type an address to search in an offline downloaded package say California. While writing an address in the search bar , I want to show address suggestions to user. Is this possible with Skobbler? I could not find any api provided.
In the current APi there is not "one line search" (type the whole address in a single line) and no out-of-the-box typeahead.
You can implement the typeahead by using the user's input as a search term for the multiline search - http://developer.skobbler.com/getting-started/ios#sec20 - you will have to decide if that term is a city or a street in a particular city for this to properly work.
On another note - we are working on a new geocoding implementation that would provide one line search and typeahead - this should be out in Q1 or Q2 2015

How do I localize the interface of Google Custom Search Control

I'm using Google Custom Search with a CustomSearchControl to display search results for a website. I can get the search results localized, and can add a localized no results string without problems. However, I cannot get the search box itself to become localized, i.e. the "Search" button and "XXX results".
The Google documentation CustomSearchControl doesn't mention any way to achieve this. Isn't this possible?
Here is the code I'm using.
google.load('search', '1', {language : 'is', style : google.loader.themes.MINIMALIST});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('MY_ID');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.setNoResultsString("Ekkert fannst.");
customSearchControl.draw('cse');
var queryFromUrl = parseQueryFromUrl();
if (queryFromUrl) {
customSearchControl.execute(queryFromUrl);
}
}, true);
Official response from Google support
I would like to update that currently for custom search element V2 code, you can change the search engine language only from the control panel->Basics->Language section. Whatever language you select it will be the same in all of your multilingual sites. You can't have different languages in different sites. Currently we don't have any parameter such as "language" in the Google Site Search code snippet to customize the language.
In your case you can consider creating different search engine for different languages and change the Language setting in Control Panel --> Setup --> Basics --> Language in all the search engine respectively and share the query quota by adding the search engine in the Business group.
Once you do that all these free search engines will share the query quota of your master GSS search engine.
After that, you can configure each search engine with respective sites/URL pattern only and implement the specific search engines on respective sites.
Please review the document below to know about Language settings
https://support.google.com/customsearch/answer/2633296?hl=en
Please review the document below know about business group:
https://support.google.com/customsearch/answer/2633350?hl=en
With the CSE Element v2, the search button becomes an icon, so there is no need to localize, if you switch to v2.

Resources