<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Google on Lorenzo Bolla</title><link>https://lbolla.info/tags/google/</link><description>Recent content in Google on Lorenzo Bolla</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 17 Dec 2011 00:00:00 +0000</lastBuildDate><atom:link href="https://lbolla.info/tags/google/index.xml" rel="self" type="application/rss+xml"/><item><title>500 on YouTube on non-existing videos</title><link>https://lbolla.info/blog/500-on-youtube-on-non-existing-videos/</link><pubDate>Sat, 17 Dec 2011 00:00:00 +0000</pubDate><guid>https://lbolla.info/blog/500-on-youtube-on-non-existing-videos/</guid><description>&lt;p&gt;Now, &lt;a href="http://www.youtube.com/watch?v=wtf"&gt;this is embarassing&amp;hellip;&lt;/a&gt; It looks like requesting a non-existent video on YouTube causes a &amp;quot;500 Internal Server Error&amp;quot;!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://lbolla.info/img/capture.jpg" alt="500 on YouTube"&gt;&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Valid url: &lt;a href="http://www.youtube.com/watch?v=b5CeNunbHto"&gt;http://www.youtube.com/watch?v=b5CeNunbHto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Invalid url: &lt;a href="http://www.youtube.com/watch?v=wtf"&gt;http://www.youtube.com/watch?v=wtf&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Surely, a better response would be something like the one returned when the &lt;code&gt;videoId&lt;/code&gt; is missing: &lt;a href="http://www.youtube.com/watch?v="&gt;http://www.youtube.com/watch?v=&lt;/a&gt;. It seems like &lt;a href="http://www.youtube.com/watch?v=OxXc_fXxMoE"&gt;predictions became true&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Case sensitive Google search</title><link>https://lbolla.info/blog/case-sensitive-google-search/</link><pubDate>Wed, 13 Apr 2011 00:00:00 +0000</pubDate><guid>https://lbolla.info/blog/case-sensitive-google-search/</guid><description>&lt;p&gt;&lt;img src="https://lbolla.info/img/Screen-shot-2011-04-13-at-15.27.29-300x252.png" alt="Case Sensitive Google Search"&gt;&lt;/p&gt;
&lt;p&gt;Google does not support &lt;a href="http://www.google.com/support/websearch/bin/answer.py?hl=en&amp;amp;answer=134479"&gt;&amp;quot;case sensitive&amp;quot; searches&lt;/a&gt; (and &lt;a href="http://www.google.com/support/forum/p/Web+Search/thread?tid=282a99b488daa33f&amp;amp;hl=en"&gt;here&lt;/a&gt; and &lt;a href="http://www.google.com/support/forum/p/Web%20Search/thread?tid=654360f674f696e7&amp;amp;hl=en"&gt;here&lt;/a&gt;). It does seem to return &lt;a href="http://www.labnol.org/internet/search/case-sensitive-google-search/6279/"&gt;slightly different results&lt;/a&gt; depending on the case of the search query, but if you are only interested in the exact &amp;quot;case sensitive&amp;quot; matches you're on your own.&lt;/p&gt;
&lt;p&gt;To solve this problem, I've written a small Javascript snippet that shades results from Google searches if not exactly matching the case-sensitive search query.&lt;/p&gt;
&lt;p&gt;You can download it as:&lt;/p&gt;</description></item><item><title>Secure GMail Notifier</title><link>https://lbolla.info/blog/secure-gmail-notifier/</link><pubDate>Mon, 15 Oct 2007 00:00:00 +0000</pubDate><guid>https://lbolla.info/blog/secure-gmail-notifier/</guid><description>&lt;p&gt;As you might have noticed, &lt;a href="http://toolbar.google.com/gmail-helper/notifier_windows.html"&gt;GMail Notifier&lt;/a&gt; uses the url &lt;a href="http://mail.google.com/mail"&gt;http://mail.google.com/mail&lt;/a&gt; to access your personal mailbox. This is quite annoying for who cares about security. Here is a simple hack to make it use the secure url &lt;a href="https://mail.google.com/mail"&gt;https://mail.google.com/mail&lt;/a&gt;. (It works for the Windows version - for the Mac version there is already a &lt;a href="http://www.macosxhints.com/article.php?story=200707030100345"&gt;solution&lt;/a&gt;).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a backup copy of gnotifier.exe (usually in c:Program FilesGoogleGmail Notifier);&lt;/li&gt;
&lt;li&gt;Open gnotifier.exe with an hex editor (emacs hexl-find-file will do);&lt;/li&gt;
&lt;li&gt;Find the string &lt;a href="http://mail.google.com/mail"&gt;http://mail.google.com/mail&lt;/a&gt; and substitute it with &lt;a href="https://mail.google.com/mail"&gt;https://mail.google.com/mail&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;Save the file;&lt;/li&gt;
&lt;li&gt;Close any running GMail Notifier and launch it again.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Yes, it is as simple as that.&lt;/p&gt;</description></item></channel></rss>