Hi Alan,
Would be nice if the google custom search results on the FAQs etc. showed a date stamp - makes filtering for newer results easier.
Just a thought.
Best,
Martin
Sounds like a good idea - thanks for suggesting it. Do you, or anyone else, know how to enable that in custom search? I've tried looking through the settings before, particularly trying to alter weight for different pages, and found the customisation really lacking.
Thanks. I have not found anything in the documentation, but tried a custom search based on one of my community blog sites (campsbaycommunity.com) and date shows there automatically. The custom search is not implemented on the site but you can use this code for testing:
[code]
(function() {
var cx = '012015551971717343306:ocnwi9mgh_w';
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
})();
[/code]
The site is on WP and somehow google picks it up.
Maybe output the date stamp in your description or so. Not ideal and strange that Google does not offer this in the (free) version. Have not checked the commercial version yet.
Thx
Martin
Replies
Allan
[code]
(function() {
var cx = '012015551971717343306:ocnwi9mgh_w';
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
})();
[/code]
The site is on WP and somehow google picks it up.
Maybe output the date stamp in your description or so. Not ideal and strange that Google does not offer this in the (free) version. Have not checked the commercial version yet.
Thx
Martin
Allan