Google Maps - Setting print preferences via querystring parameters - printing

I'm putting a link onto a site to allow my visitors to print off a map and directions from Google Maps. At the moment I have something this:
http://maps.google.com/maps?saddr=newcastle&daddr=london&pw=2
Is there a parameter I can add to this URL that will cause the "include large map?" checkbox at the top of the page to be checked by default when the page is loaded? Its not a big problem but will save my users a click :)
Thanks

Related

Can I use a URL link to pre-select the value of a drop down menu?

This is the webpage: http://dnr.alaska.gov/ssd/recoff/sag/BookandPageSearchMenu.cfm
I would like to be able to pre-select the District drop down menu using the URL that goes to that page.
Something like:
http://dnr.alaska.gov/ssd/recoff/sag/BookandPageSearchMenu.cfm?District=Palmer-311
But that doesn't work.
Is this possible using the URL?
If the web page is set up with a script to parse the URL and set the select box accordingly, yes. It is not possible on a random page lacking such built-in capability (which is likely the vast majority of pages).

Create custom google search with options to search the web and my site

I want to create a custom google search for my site. My requirements are as follows:
I need a text box for search and two radio buttons(one for searching my site and other for searching web).
Depending on the radio button selected the results should be displayed.
I have a separate search results page ('/search').
I know how to create a simple google custom search. But this requirement of providing an option to search the site or web is a little tricky for me.
Please help
I was able to solve this issue.
I first created a search engine in https://cse.google.com/cse/ for my site and configured it to search the web in Basics tab-> Sites to Search option.
With this the search engine would search the entire web.
The code that I placed on the search results page had something this:
"gcse:searchresults-only as_sitesearch='site to search'"
This is a part of the code that google gives you.
Here the parameter 'as_sitesearch' will control which site is to be searched. When the radio button of Searching the web was selected I did not pass any value to 'as_sitesearch' and when the radio button of Searching my site was selected I passed the site url to 'as_sitesearch'.
This worked for me

Joomla - Wrong url path from google results

I have a strange problem in one Joomla website.
If i access from homepage and then navigate into the site it works correct, but if i go in some internal page from google results it shows uncorrect page layout, because the url is not correct.
This is the correct url
Correct page from homepage
and this the uncorrect url that Google finds Uncorrect page from Google
in this second page is showed rating module (that i never used) instead of an article, as you can see in links.
Someone can help me?
EDIT: I'm using Joomla 2.5 version. Every menu item is category blog type, and must show all articles of one category. Each category have 2 articles. In the uncorrect link seems that it access to single article, adding the rating that i have hidden in each article
Which version are you using?
if you can turn on SEF option in the global settings in joomla admin. Then you need to make sure all your articles are in menus. then if you link them on different pages it should keep the url the same.
The way you have it at the moment with all the x=123&... get params pages will show for what ever ids you change the menu to.
The reason you are seeing an uncorrect layout is the two different Itemid parameters (the right url has 127 while the wrong one has 104). The rest of the difference in the urls will be ignored by Joomla.
Solution: Find your menu item with id 104 (look at the menu ids on the right of the menu items view), then check which modules appear on the page from there. There may be modules in non-visible positions.
One of these modules is publishing the links with the wrong ids. If it's a Joomla core (like a search module) you can usually force the Itemid either in the module or in the component's configuration. Else you need to fixsome third party code.
Only once you have solved the multiple-itemid should you turn on SEF, otherwise you'd get the same problem only more difficult to trace.
sh404 could help you with this, I'd give it a try on a test site to see if it gets you out of trouble faster.

Google search results "plus.google.com" entry

I made a Website for a client.
Now when I search for him the result looks like this:
You can see the fourth entry is somewhat of a special entry and I don't understand where this entry is coming from?
Is this an automated google+ page? I've just created a google places entry but never a google+ page.
How di I get rid of this search result?
Google Places entries show up in Google+ Local. They do not have a Google+ Page associated with them by default, but you can convert your entry to a place to enable more functionality and to hook the entry up with your site by using the badge code or the more minimal direct connect metadata link to verify your website on the Google+ Local page.
Associating your site with the Google+ Local page, should help with search too and provide people with a method to get directly to your site until the website starts showing up in the search index from being crawled.

Linking to a specific section of a page from Google custom search engine result

I would like to know if there is a way when using Google custom search engine to have Google CSE link to a page with a URL like this
http://www.mysite.com/mysection/mysectionarticles.html#myarticle234
or something close to that.
Let’s say Google would find the searched words in a certain part of the page it could be in a or after an anchor or something like that and would supply in the search result a way to link to this specific section of the page.
So if you have big pages the user wouldn't have to scroll through the page to find the relevant part he saw in the CSE snippet.
It could also be used if you have a dynamic page that change state using JavaScript. Part of the page is hidden to the user until he does an action in the pages, but this hidden content was indexed by Google because it’s part of the page. So when the user clicks on the link in the search result he ends up on a page and can’t find the relevant part because it’s hidden.
Take a look at Google's support for structured/rich data and ajax urls for crawling (aka hash-bangs). One or both of them ought give you access to the pages with the right things displayed.

Resources