<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Scout ~ The Blog comments on Recording Historical Data in Scout </title>
    <link>http://blog.scoutapp.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Scout ~ The Blog comments</description>
    <item>
      <title>"Recording Historical Data in Scout " by derek</title>
      <description>&lt;p&gt;By default, when you create a report in &lt;a href="http://scoutapp.com"&gt;Scout&lt;/a&gt;, we assume that the data corresponds to the time the report was submitted.&lt;/p&gt;


	&lt;p&gt;Sometimes this isn&amp;#8217;t the case &amp;#8211; for example, &lt;a href="http://scoutapp.com/plugin_urls/7-feedburner-stats"&gt;you can retrieve the number of subscribers to your &lt;span class="caps"&gt;RSS&lt;/span&gt; feeds in Feedburner&lt;/a&gt;, but not from the current day.&lt;/p&gt;


	&lt;p&gt;You can override the time Scout records the data in a Plugin with the special :scout_time report key.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s an example:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
# typical report data 
{:circulation =&amp;gt; 1000}

# correspond the data w/ February 24, 2008
{:circulation =&amp;gt; 1000, :scout_time =&amp;gt; Time.parse("2/24/08")}
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;When displaying the data on a graph, the data will be shown on 2/24 and not the current date:&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://img.skitch.com/20080226-nfmser3xf5np2akm7hpas6ucsf.jpg" alt="Scout ~ Derek Laptop"/&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://scoutapp.com/plugin_urls/static/creating_a_plugin"&gt;Learn more about creating Scout Plugins&lt;/a&gt;&lt;/p&gt;

</description>
      <pubDate>Mon, 28 Apr 2008 08:35:00 EDT</pubDate>
      <guid>&lt;a href="/articles/2008/04/28/recording-historical-data-in-scout"&gt;Recording Historical Data in Scout &lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2008/04/28/recording-historical-data-in-scout"&gt;Recording Historical Data in Scout &lt;/a&gt;</link>
    </item>
  </channel>
</rss>
