google

Gmail Contact api

For my application I need to import the Gmail Address book, which I am able to do by following "Gmail Contact API". Recently Gmail added some of the new fields(i.e. Birthday,Website etc) which are not the part of xml. The gmail api docs mention that the new added field is part of XML namespace http://schemas.google.com/contact/2008, but...

JavaScript Code to Capture Networks Served Ad

Hi, I have a website where we use the Google Ad Manager to serve ads on the site. I would like to create a "Report this Ad" link that sends someone email about the problem, but it also needs to tell them the exact ad that was displayed at that moment. There is just a small snippet of code that Google replaces with the ad code, example...

Google Calendar PHP - Event URL / ID? (Zend_Gdata)

Hey everyone, I have modified my PHP web app to add events to a Google Calendar. Currently, it adds successfully. However, now I wish to delete and edit events. This seems easy to do, except for the fact that I don't know what event URL is associated with each event. Am I supposed to set this event URL (or ID?) upon adding an event? H...

Google Language API for Source Code?

I'm 98% sure that Google has an API for detecting the language of CODE blocks, much like this, but for code. I found it before, but I can't seem to find it again. Surprisingly difficult to find. Anyone have a link? ...

OpenID error messages on python-openid

I'm using the python-openid library from Janrain at http://openidenabled.com/python-openid/ I adapted their Django example to another framework called Web2Py and it appears to be working, but with some annoying side-effects. The first problem is that sreg (Simple Registration Extension) and ax (Attribute Exchange) don't seem to work...

How should I store user-customised parameters in a database?

In this case I am referring specifically to Google Friend Connect - Social Bar parameters. Users can select from various parameters when setting up their SocialBar i.e. skin['BORDER_COLOR'] = '#cccccc'; skin['ENDCAP_BG_COLOR'] = '#e0ecff'; skin['ENDCAP_TEXT_COLOR'] = '#333333'; skin['ENDCAP_LINK_COLOR'] = '#0000cc'; skin['ALTERNATE_BG_C...

How do I change the title and link colors of a Google Custom Search Element?

The situation: Take a look at this page and search "photo" on both: http://dev.womenandlogistics.com/testsearchengine.html The top search engine refreshes the page and displays results with orange link titles and blue links. The bottom search engine displays tabbed results with blue link titles and blue links. I found an answer to thi...

KML and delete old KMLs files

Exists a way for i can delete the temporary places in google earth before add new placemarks using a kml file? ...

Frustration with Zend_Gdata and obtaining an Event URL for Google Calendar

Hey everyone, I posted a question about this last night, but I don't think it was clear enough. I am using the Zend_Gdata package with PHP to add events to my Google Calendar. I can successfully add events. However, when I add an event, I want to add that event's URL to a database so that if I ever need to delete that event, I can ret...

Zend Gdata - setVisibility for newEventEntry? (specify events for multiple calendars)

Hey everyone, I know that you can use setVisibility('private-abcdefg') for newEventQuery() in order to specify a particular calendar. My question is, can I use the same concept for newEventEntry()? $gdataCal = new Zend_Gdata_Calendar($client); $newEvent = $gdataCal->newEventEntry(); $newEvent->setVisibility('private-**************...

How do I fix Google's Custom Search Engine conflict with my navigational menu? (CSE disables menu when displaying search results.)

I've recently incorporated Google's Custom Search Engine to a client's site. Everything seems to work just fine but when I search something and the results come up, the top navigational menu disappears. Any idea how to fix this? I sure hope I don't need to redo the menu. If I do, does anyone have an alternative? I would use CSS Suckerfis...

How do I change authorization of a site on my Google Appspot OpenID?

When I tried to log in to Stack Overflow, I initially used my Google OpenID (which looks like this "http://openid-provider.appspot.com/login") but I accidentally clicked on deny. Now I can't log in with this OpenID at all. Is there any way I can change the authorizations on an account in the future? Thanks! ...

Disable Google Toolbar Autofill

The Google Toolbar's autofill feature has been the bane of my web development existance for the past several years. I have always settled on trying to create a timer control to check for changes since the developers epically failed to fire change events on controls. This has gotten further and further complicated when controls are bur...

Log in/out of Gmail chat programmatically, clicking Gmail's span "links"

At work, I use Gmail's chat, since it's encrypted and logs chats without installing or saving anything to the hard drive. At home, I use Pidgin. When I log into GMail at home, I have to log out of chat, or messages will end up in the wrong place. When I log into GMail at work, I have to log back in to chat. In other words, when I sta...

Google Calendar PHP Retrieve events by specified date range

Hey everyone, I know that you can retrieve events for a specified date range, but how can I retrieve events for one specified date (a single day)? I tried setting both setStartMin() and setStartMax to the same date, but that doesn't work. It seems that there has to be at least one day in between Min and Max. Here is the code I am usin...

How Google Analytics knows which internet connection we are using?

In Google Analytics there is one option to know the connection information about the client access. I think everyone knows about this, but my question is how the Javascript knows these details? Am not talking about the IP or http/https suppose am using TATA Indicom, or cable connection for the use of Internet. how google know about thi...

What is a more effective title seperator for SEO purposes? | or -

What is the best separator for the title tag for SEO. This <title>This is a sample title - mysite.com</title> or <title>This is a sample title | mysite.com</title> In Wordpress the SEO pack's default is |. What is the best separator as it relates to SEO? Why? ...

Google suggest queries with Scriptaculous Autocompleter?

I'm trying to display Google suggested queries when a user types in a query into our search text field. Our goal is to combine Google suggested queries with the Scriptaculous Autocompleter. Here's our code: new Ajax.Autocompleter('q', 'autocomplete_choices', 'http://suggestqueries.google.com/complete/search?q=test', {method:'get', onS...

how to sign in to google apps and my own site without provisioning api

Is there a way to make a one sign in site which will both sign to google apps and my site? I haven't got acces to provisioning api. The only idea how to do it that comes to my head is to somehow bypass it with curl. I'd love to know if there is any other solution, server side or client side. Please, help! I'm using django if that does ch...

Are there good tutorials on how to modify Google GWT styles?

I'm interested in GWT but find the default styles so ugly. I know CSS, but have no big idea about how to modify the GWT styles technically. A tutorial on this would be great. ...