<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>some words from technology briefcase &#187; Tutorial</title>
	<atom:link href="http://blog.fltlab.net/index.php/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fltlab.net</link>
	<description>...nerd news for new nerds...</description>
	<lastBuildDate>Wed, 14 Sep 2011 09:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Top 10 Google Analytics Questions</title>
		<link>http://blog.fltlab.net/index.php/2010/03/05/top-10-google-analytics-questions/</link>
		<comments>http://blog.fltlab.net/index.php/2010/03/05/top-10-google-analytics-questions/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:21:38 +0000</pubDate>
		<dc:creator>flotruglio</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[GA]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[top 10]]></category>

		<guid isPermaLink="false">http://blog.fltlab.net/?p=180</guid>
		<description><![CDATA[Every day, I wake up and read the Google Groups for GA. Here are the ten questions I see just about every day, with answers. Question 1: Can’t I reprocess the data in some way? Sorry. Google Analytics doesn’t let you go back and reprocess. A very best practice is to think about your needs [...]]]></description>
			<content:encoded><![CDATA[<pre><p>Every day, I wake up and read the Google Groups for GA.<a href="http://blog.fltlab.net/wp-content/uploads/2010/03/google-analytics-logo.png"><img class="alignleft size-medium wp-image-181" src="http://blog.fltlab.net/wp-content/uploads/2010/03/google-analytics-logo-300x225.png" alt="" width="159" height="118" /></a><br />
Here are  the ten questions I see  just about every day, with answers.</p>
<p>Question 1:  <strong>Can’t I reprocess the data in some way?</strong> Sorry. Google Analytics doesn’t let you go back and reprocess. A very  best practice is to think about your needs while you are setting up your  analytics, and try to anticipate the future. This includes creation of a  profile for every important campaign that you run, whether you define  “campaign” as a Google AdWords campaign, a banner ad campaign, or an  email campaign.</p>
<p>Question 2: <strong>I don’t know how to set up links in my  newsletter</strong>. Or, I don’t know how to set up links in the paid  search for non-Google search engines.  Answer: Google Analytics has a  nice linkbuilder tool to solve this problem, but I like <a href="http://www.roirevolution.com/google-analytics/google-analytics-url-builder.htm" target="_blank">ROI Revolution’s better</a>.  It is more intuitive, and  it doesn’t have any typos . You can use the linkbuilder to code the  links in any of your marketing campaigns — your email marketing, your  Yahoo campaigns, your banner ads. (You don’t have to code Google  AdWords, the default in AdWords is auto-tagging — it codes for you.)  Once external links are coded, they’ll talk to your GA.</p>
<p>Question 3.  <strong>Why can’t I get rid of the site overlay?</strong> You’ll need to clear your cookies. The Site Overlay activates if the  GA tracking code sees the “GASO” cookie when you visit your website.  Just use Firefox, choose Tools&gt;Options&gt;Show cookies and type in  GASO. Delete that cookie.</p>
<p>Question 4.  <strong>Why is my site overlay broken?</strong> If you  make any changes to your Request URI — for example, if you ask to only  see page titles and not /mypage.com — the site overlay will not work for  the profile where you have the changes made.  You should set up a clean  profile without those changes.  (To be honest, I feel like the site  overlay is just about always broken, and I am awed when I see people ask  questions about why they can’t get a specific piece of data from it. )<span id="more-180"></span></p>
<p>Question 5. <strong>My AdWords used to be linked to one GA account.   I unlinked them, but now I can’t relink them, for some reason, to the  correct account. Why?</strong> Answer: Relinking a previously linked  AdWords account has to be done by Google. Submit a support ticket and  they’ll get right one it. GA knows that you can’t do it without their  help, and they are pretty responsive to this problem, I hear.</p>
<p>Question 6.  <strong>My site has a new name. How should I handle my  analytics?</strong> Answer:  GA doesn’t really care what the name of  your site is. So you can take your previous code and put it on your new  site.  But why would you want to do that? Unless the pages match  perfectly (example: you kept the same site but moved from .asp to .php),  you will really be comparing apples and oranges. Why don’t you just  create a new profile in the same account and put that new code on your  new site?</p>
<p>Question 7: <strong>Why is my own site my top referring source?</strong> Why is it even in my list of referring sources? Answer: Probably  because  you have  more than one domain (for example, you are using a  third party shopping cart) and you didn’t take the time to learn how to  do the cross-domain tracking.  Or because you have an old domain that  you are redirecting to your new domain, and you are doing the redirect  with javascript intead of with a server side redirect.</p>
<p>Question 8: <strong>Can’t I get conversion numbers instead of  conversion percentages?</strong> Answer: Well, you can get them in the  Total Conversions report, but you probably want them in the traffic  report. And you can get them by a) pulling out your calculator and  multiplying or b) dumping it all into excel and multiplying.</p>
<p>Question 9:  <strong>Can I mix the secure code and the regular code?</strong> Google Analytics has a regular form of code (that includes, but is not  limited to, the line <strong>http://www.google-analytics.com/urchin.js</strong> — and they also have the secure code, which uses the secure version of  that,  <strong>https://ssl.google-analytics.com/urchin.js</strong></p>
<p>There are three ways that you can do this:</p>
<p>Option I) Since the name of your site is probably  http://www.mysite.com, you are probably tempted to tell GA that when you  sign up. This will give you the non-secure code. You can put it on all  of your pages (even the secure pages), but it will generate a security  error, possibly scaring off potential customers. So, Option I is a lousy  idea.</p>
<p>Option II) You can follow the same instructions as above, but go in  to the secure pages and be sure to change <strong>http://www.google-analytics.com/urchin.js</strong> to be <strong>https://ssl.google-analytics.com/urchin.js</strong></p>
<p>Option III) Create a new profile, and pretend that your whole site is  secure.  To do that, choose the https beginning. GA will then  automatically generate secure code for you, which you can put on your  whole site. Using the secure site on all your pages – http and https  alike — does not matter and will not affect your data. GA will not care  that your site is mostly an http site.</p>
<p>Question 10)  <strong>Why can’t I see the past the question mark in  my referrers report?</strong> Answer: I really don’t have an answer. I  would love if someone else would weigh in on this topic.</p>
<p>Bonus: <strong>How do I get the IP addresses of the visitors?</strong> Answer: you cannot, personally identifiable information is against GA’s  terms of service.</p>
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.fltlab.net/index.php/2010/03/05/top-10-google-analytics-questions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>turn your Roomba into a &#8220;search engine&#8221;</title>
		<link>http://blog.fltlab.net/index.php/2010/03/04/turn-your-roomba-into-a-search-engine/</link>
		<comments>http://blog.fltlab.net/index.php/2010/03/04/turn-your-roomba-into-a-search-engine/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 01:51:28 +0000</pubDate>
		<dc:creator>flotruglio</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[gaaglebot]]></category>
		<category><![CDATA[google bot]]></category>
		<category><![CDATA[roomba]]></category>
		<category><![CDATA[search engine]]></category>

		<guid isPermaLink="false">http://blog.fltlab.net/?p=177</guid>
		<description><![CDATA[By adding an on-board computer and a camera on a Roomba, the Roomba can be used to index your home. As a bonus, you can also control the Roomba across an internet connection, and see the images from the camera — a spybot for you to check on your own home while you are out. read [...]]]></description>
			<content:encoded><![CDATA[<pre><p><a href="http://blog.fltlab.net/wp-content/uploads/2010/03/r2.jpg"><img class="alignright size-thumbnail wp-image-178" src="http://blog.fltlab.net/wp-content/uploads/2010/03/r2-150x150.jpg" alt="" width="150" height="150" /></a>By adding an on-board computer and a camera on a Roomba, the <a href="http://www.gaaglebot.com/">Roomba can be used to index your home</a>. As a bonus, you can also control the Roomba across an internet connection, and see the images from the camera — a spybot for you to check on your own home while you are out.</p>
<p>read the full tutorial at <a href="http://www.gaaglebot.com/">http://www.gaaglebot.com/</a></p>
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.fltlab.net/index.php/2010/03/04/turn-your-roomba-into-a-search-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FriendFeed &amp; Google Maps == FriendMap</title>
		<link>http://blog.fltlab.net/index.php/2010/01/19/friendfeed-google-maps-friendmap/</link>
		<comments>http://blog.fltlab.net/index.php/2010/01/19/friendfeed-google-maps-friendmap/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:35:26 +0000</pubDate>
		<dc:creator>flotruglio</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[FriendFeed]]></category>
		<category><![CDATA[FriendMap]]></category>
		<category><![CDATA[Google Map]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Maps]]></category>

		<guid isPermaLink="false">http://blog.fltlab.net/?p=18</guid>
		<description><![CDATA[or in other words ..“How to Create a Smart WebApplication to see Geo Infos of Ff posts” This tutorial born as a little developers guide to integrate the Google Apis with the FriendFeed Apis. First of all you need two authorization key, one for friendFeed (https://friendfeed.com/account/login?next=%2Fapi%2Fregister) and the other one for the google Maps (http://code.google.com/intl/it-IT/apis/maps/signup.html). [...]]]></description>
			<content:encoded><![CDATA[<pre><p>or in other words ..“How to Create a Smart WebApplication to see Geo Infos of Ff posts”</p>
<div id="_mcePaste">This tutorial born as a little developers guide to integrate the Google Apis with the FriendFeed Apis.</div>
<div id="_mcePaste">First of all you need two authorization key, one for friendFeed (<a title="register your application at ff" href="https://friendfeed.com/account/login?next=%2Fapi%2Fregister" target="_blank">https://friendfeed.com/account/login?next=%2Fapi%2Fregister</a>) and the other one for the google Maps <a title="request your api key at google.com" href="(http://code.google.com/intl/it-IT/apis/maps/signup.html" target="_blank">(http://code.google.com/intl/it-IT/apis/maps/signup.html</a>).</div>
<div id="_mcePaste">In this tutorial I don’t want to speak about the google widget and other possible integration of this kind of tools, but I simply want to explain the main things that you need to know to create this kind of tools…</div>
<div id="_mcePaste"><strong>What do you need else?</strong></div>
<div id="_mcePaste">Now we have the keys to use the APIs and we need to develop our application..but first we need to know the basics APIs model of friendfeed.</div>
<div><span id="more-18"></span></div>
<div id="_mcePaste"><strong>FriendFeed APIs model</strong></div>
<div id="_mcePaste">FriendFeed supports three methods of authentication: OAuth, Installed Application Authentication and HTTP Basic Auth with a special password called a remote key.<br />
This tutorial born as a little developers guide to integrate the Google Apis with the FriendFeed Apis.First of all you need two authorization key, one for friendFeed (<a href="https://friendfeed.com/account/login?next=%2Fapi%2Fregister" target="_blank">https://friendfeed.com/account/login?next=%2Fapi%2Fregister</a>) and the other one for the google Maps (<a href="http://code.google.com/intl/it-IT/apis/maps/signup.html">http://code.google.com/intl/it-IT/apis/maps/signup.html</a>).In this tutorial I don’t want to speak about the google widget and other possible integration of this kind of tools, but I simply want to explain the main things that you need to know to create this kind of tools…What do you need else?Now we have the keys to use the APIs and we need to develop our application..but first we need to know the basics APIs model of friendfeed.FriendFeed APIs modelFriendFeed supports three methods of authentication: OAuth, Installed Application Authentication and HTTP Basic Auth with a special password called a remote key.</div>
<div><a href="http://blog.fltlab.net/wp-content/uploads/2010/01/0FriendFeedGMap.jpg"><img class="alignleft size-full wp-image-19" title="friend feed signup" src="http://blog.fltlab.net/wp-content/uploads/2010/01/0FriendFeedGMap.jpg" alt="" width="159" height="18" /></a> For us and for security reason the best two are the OAuth and Installed Apps Authentication, but in this sample we don’t speak about the authentication process, because the more simply authentication method (HTTP) is enough to do a first test with the ff API. So you can download the basic template for http authentication (http://friendfeed.com/static/html/remotelogin.html) and then implement your post/get data.</div>
<p>Next you need to know how to read friendfeed posts and user data.</p>
<p>Simply if we want to request our friendfeed home page we need to invoke the “feedlist” command by:</p>
<p style="padding-left: 30px;">http://friendfeed-api.com/v2/feedlist</p>
<p>or in JSON callback by</p>
<p style="padding-left: 30px;">http://friendfeed-api.com/v2/feedlist?callback=yourfunction</p>
<p>To do this you simply use the Google Data Request or every Request method by other javascript framework (jquery, mootools.. ) or moreover the basic XmlHttpRequest.</p>
<p>For example in mootools:</p>
<pre style="padding-left: 30px;">var r = new Request.JSON({
       method :'get',
       url : ‘http://friendfeed-api.com/v2/feedlist’, //or http://friendfeed-api.com/v2/feedlist?callback=jsonobject
       onSuccess : function(text,json) {
                     try {
                       //work with your data..
                     } catch (e) {alert(e);}
        }
}).send();</pre>
<p>The response format is very simple and contain each link in your friedFeed SideBar :</p>
<ul>
<li>main[]{} &#8211; The main feeds at the top of everyone&#8217;s sidebar, e.g., Home, My discussions, and Direct messages</li>
<li>lists[]{} &#8211; The authenticated user&#8217;s friend lists</li>
<li>groups[]{} &#8211; The groups that show up by default in the Groups sidebar on friendfeed.com</li>
<li>searches[]{} &#8211; The authenticated user&#8217;s saved searches</li>
<li>sections[]{} &#8211; A list representing the authenticated user&#8217;s sidebar on FriendFeed. Useful for recreating the FriendFeed sidebar in your client.</li>
</ul>
<p>Each item is an array and the single item structure is:</p>
<ul>
<li>name &#8211; The display name of the section, e.g., &#8220;Friends&#8221; or &#8220;Groups&#8221;</li>
<li>id &#8211; &#8220;friends&#8221;, &#8220;groups&#8221;, or &#8220;saved-searches&#8221;</li>
<li>feeds &#8211; List of feeds in the section</li>
</ul>
<p>So for e.g if you need to retrieve all the feed into the main home need simply iterate the main[] and then acquire the feeds.</p>
<p>Now to create your feed list you need to know the feed item structure</p>
<p><strong>Feed</strong></p>
<ul>
<li>id &#8211; The feed id, e.g., &#8220;bret&#8221; or &#8220;bret/comments&#8221;</li>
<li>name &#8211; Display name of the feed, e.g., &#8220;Bret Taylor&#8221;</li>
<li>description? &#8211; Profile description, an HTML string</li>
<li>type &#8211; One of &#8220;user&#8221;, &#8220;group&#8221;, or &#8220;special&#8221;</li>
<li>private &#8211; true if the feed is private.</li>
<li>commands[]? &#8211; List of allowed commands for the authenticated user on this feed: &#8220;subscribe&#8221;,&#8221;unsubscribe&#8221;, &#8220;post&#8221;, &#8220;dm&#8221;, &#8220;admin&#8221;</li>
</ul>
<p>and for each feed we have a list of entries for example: body or url, but expecially our tutorial object entry : “geo”.</p>
<p>This entry If not available into the list can be requested by a complete feed reads</p>
<p style="padding-left: 30px;"><em>http://friendfeed-api.com/v2/feed/feed id</em></p>
<p>Now that you know the basics about the FriendFeed APIs we need to introduce the google maps and conclusion of our tutorial.</p>
<p><strong>The GoogleMaps Object</strong><br />
<a href="http://blog.fltlab.net/wp-content/uploads/2010/01/2FriendFeedGMap.jpg"><img class="alignleft size-full wp-image-20" title="GoogleMap" src="http://blog.fltlab.net/wp-content/uploads/2010/01/2FriendFeedGMap.jpg" alt="" width="169" height="40" /></a> <span style="font-weight: normal;">As you know is important that we have a key to use google maps and a javascript object, also we know that we can send marker by direct code or by a kml file, in which if we  want we can define the zoom level or other information for our marker.</span></p>
<p><span style="font-weight: normal;">I think that it is not necessary to spend more word about the google maps API, because there are a lot of example to test and to understand the following section of this tutorial.</span></p>
<p><strong>Assembly the Code</strong></p>
<p><span style="font-weight: normal;">Now, that we have a simple introduction to the need of this tutorial/developing idea.</span></p>
<p style="text-align: center;"><span style="font-weight: normal;"><a href="http://blog.fltlab.net/wp-content/uploads/2010/01/app_draft10.jpg"><img class="size-medium wp-image-21  aligncenter" title="app_draft10" src="http://blog.fltlab.net/wp-content/uploads/2010/01/app_draft10-300x159.jpg" alt="" width="300" height="159" /></a></span></p>
<p style="text-align: left;"><span style="font-weight: normal;"> </span></p>
<p style="text-align: left;">The application code can use two kind of methods the kml overlay load or the direct GMarker making.</p>
<p style="text-align: left;">For example if you want to create by server-side code the kml file you need to respect this syntax:</p>
<table cellspacing="10" cellpadding="5" width="80%" align="center">
<tbody>
<tr>
<td>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
     &lt;kml xmlns="http://earth.google.com/kml/2.0"&gt;
        &lt;Document&gt;
            &lt;name&gt;KML FriedFeed&lt;/name&gt;
            &lt;description&gt;FriendFeed markers&lt;/description&gt;
            &lt;Placemark&gt;
               &lt;name&gt;Feed 1&lt;/name&gt;
               &lt;description&gt;something readed from the body entry [FF]&lt;/description&gt;
               &lt;Point&gt;
                 &lt;coordinates&gt;{acquired by the geo entry [FF]}&lt;/coordinates&gt;
               &lt;/Point&gt;
            &lt;/Placemark&gt;
        &lt;/Document&gt;
&lt;/kml&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>..and in the javascript code:</p>
<table cellspacing="10" cellpadding="5" width="80%" align="center">
<tbody>
<tr>
<td>
<pre>var kml = new GGeoXml("http://mytestdomain.com/myresponsefeed.kml.php");
map.addOverlay(kml);</pre>
</td>
</tr>
</tbody>
</table>
<p>Or if you want to iterate the array and proceed with the single creation of each marker you need something like this:</p>
<table cellspacing="10" cellpadding="5" width="80%" align="center">
<tbody>
<tr>
<td>
<pre>for(var i = 0 ;i</pre>
</td>
</tr>
</tbody>
</table>
<p>Now if you want to make a sidebar into the gmap object you need to define a custom GControl:</p>
<table cellspacing="10" cellpadding="5" width="80%" align="center">
<tbody>
<tr>
<td>
<pre>        FeedListControl.prototype = new GControl();
        FeedListControl.prototype.initialize = function(map) {
        feedContainer = document.createElement("div");
        feedContainer.style.overflow="auto";
        feedContainer.style.backgroundColor = "#ffffff";
        feedContainer.style.border = "1px solid black";
        feedContainer.style.height="250px";
        feedContainer.style.width="130px";
        feedContainer.style.paddingLeft="5px";
        map.getContainer().appendChild(feedContainer);
        return feedContainer;
//define the position:
FeedListControl.prototype.getDefaultPosition = function() {
                    return new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(6, 33));
}</pre>
</td>
</tr>
</tbody>
</table>
<p>and then add the items to the control by :</p>
<table cellspacing="10" cellpadding="5" width="80%" align="center">
<tbody>
<tr>
<td>
<pre>feedContainer.innerHTML = my_html_feed_list;</pre>
</td>
</tr>
</tbody>
</table>
<p>Now if you are lucky you can have samething like this:</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://blog.fltlab.net/wp-content/uploads/2010/01/3FriendFeedGMap.jpg"><img class="size-medium wp-image-22 aligncenter" title="Result!" src="http://blog.fltlab.net/wp-content/uploads/2010/01/3FriendFeedGMap-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: right;"><strong>nice developing to everybody<br />
enjoy!</strong></p>
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.fltlab.net/index.php/2010/01/19/friendfeed-google-maps-friendmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

