<?xml version="1.0" encoding="UTF-8"?>
<item>
  <id>11098</id>
  <title>A Life in Bites</title>
  <published_at>Wed May 14 09:05:00 -0700 2008</published_at>
  <link>http://www.chow.com/stories/11098</link>
  <pubDate>Wed, 14 May 2008 16:05:00 GMT</pubDate>
  <short_description>A co-production between SMITH Magazine and CHOW</short_description>
  <long_description>A co-production between SMITH Magazine and CHOW.</long_description>
  <img>http://www.chow.com</img>
  <author>none</author>
  <category>
    <id>6</id>
    <name>Feature</name>
  </category>
  <pages>
    <page>
      <page_number>1</page_number>
      <content>
        <![CDATA[<p>&lt;% view_cache :ttl =&gt; 15.minutes do %&gt;
  &lt;%= image_tag &#8216;http://www.chow.com/assets/2008/05/life_in_bites.gif&#8217;, :alt =&gt; &#8216;A Life in Bites&#8217; %&gt;
  &lt;%
      smith_feed_feature_elements = begin
        Hpricot(open(&#8216;http://www.smithmag.net/sixword-chow/rss.php?featured=1&#8217;).read).search(&#8216;item&#8217;)
      rescue SocketError, OpenURI::HTTPError, Errno::ETIMEDOUT, Errno::ECONNRESET
        Array.new
      end 
    %&gt;
  <script type="text/javascript">
    var counter = 1;
    function swap_feature_quote() {
      switch(counter % &lt;%= smith_feed_feature_elements.length %&gt;) {
      &lt;% smith_feed_feature_elements.each_with_index do |element, index| %&gt;
        case &lt;%= index %&gt;:
          $(&#8216;feature_element&#8217;).innerHTML = &#8216;&lt;%= escape_javascript element.at(&#8216;description&#8217;).inner_text %&gt;&#8217;;
          break;
      &lt;% end %&gt;
        default:
          $(&#8216;feature_element&#8217;).innerHTML = &#8216;SMITH Magazine and CHOW&#8217;
          break;
      }
      counter++;
    }
    setInterval(&#8220;swap_feature_quote();&#8221;, 6000);
  </script>
  <div id="feature_element">
    &lt;%= smith_feed_feature_elements.first.at(&#8216;description&#8217;).inner_text if smith_feed_feature_elements.first %&gt;
  </div>
  <div id="empty_black" class="black_bar"></div>
  <div id="left_column">
    <div id="introduction">
      <p>
        Maybe we couldn&#8217;t tell you where we&#8217;ve been, or how we got there, or whom we&#8217;ve met, but we can always 
        tell you what we&#8217;ve eaten. The story of our meals can be the story of our lives. And here&#8217;s a challenge: 
        Tell it in six words. 
      </p>
      <p>
        Hemingway famously wrote what he called his best short story: &#8220;For sale: baby shoes, never worn.&#8221; 
        And the six-word story was born. <a href="http://www.smithmag.net/"><em>SMITH (&#8220;Everyone Has a Story&#8221;) Magazine</em></a> took the idea and 
        ran with it, asking all kinds of people for their six-word memoirs. These are collected in a book, 
        &lt;<span>= link_to &#8220;<em>Not Quite What I Was Planning: Six-Word Memoirs by Writers Famous x%x</span> Obscure</em>&#8221;,
                                        &#8216;http://www.amazon.com/Not-Quite-What-Was-Planning/dp/0061374059&#8217; %&gt;. 
        (Mario Batali&#8217;s submission: &#8220;Brought it to a boil, often.&#8221;)
      </p>
      <p>
        We like the idea, and in collaboration, <i>SMITH Magazine</i> and CHOW challenge you to define your 
        food life in just six words. Tell us your tiny tale and you could win a copy of 
        &lt;%= link_to &#8220;<em>SMITH</em>&#8217;s new book&#8221;, &#8216;http://www.amazon.com/Not-Quite-What-Was-Planning/dp/0061374059&#8217;  %&gt;
        or even an iPod nano (personalized with your winning submission, of course). Come on—you hungered, 
        you found, you ate. Tell us. What&#8217;s your food story?
      </p>
     </div>
    <div id="feed_data">
      <p id="feed_data_title">Recent Submissions</p>
        &lt;%
        smith_feed_elements = begin
          Hpricot(open(&#8216;http://www.smithmag.net/sixword-chow/rss.php&#8217;).read).search(&#8216;item&#8217;)
        rescue SocketError, OpenURI::HTTPError, Errno::ETIMEDOUT, Errno::ECONNRESET
          Array.new
        end
            %&gt;
      &lt;% smith_feed_elements.each do |element| %&gt;
        &lt;% begin %&gt;
          <div class="submission_title">&lt;%= element.at(&#8216;description&#8217;).inner_text %&gt;</div>
          <p class="submission_author">- &lt;%= element.at(&#8216;author&#8217;).inner_text %&gt;</p>
        &lt;% rescue NoMethodError %&gt;
        &lt;% end %&gt;
      &lt;% end %&gt;
    </div>
    <p>&lt;%= link_to &#8216;See all submissions&#8217;, &#8216;http://www.smithmag.net/sixword-chow/archive.php&#8217; %&gt;</p>
  </div>
  <div id="right_column">
    <div id="submit_to_smith">
      &lt;%= link_to image_tag(&#8216;http://www.chow.com/assets/2008/05/smith_submit.gif&#8217;, :alt =&gt; &#8216;Submit to SMITH&#8217;,
                                    :onmouseover =&gt; &#8220;this.src = &#8216;http://www.chow.com/assets/2008/05/smith_submit_rollover.gif&#8217;&#8221;, 
                                    :onmouseout =&gt; &#8220;this.src = &#8216;http://www.chow.com/assets/2008/05/smith_submit.gif&#8217;&#8221;), 
                        &#8216;http://www.smithmag.net/sixword-chow/&#8217; %&gt;
    </div>
    <div id="smith_book">&lt;%= image_tag &#8216;http://www.chow.com/assets/2008/05/six_words_book.jpg&#8217; %&gt;</div>
    <p><strong>About the Book</strong></p>
    <p id="about_the_book">
      <i>Not Quite What I Was Planning:
      Six-Word Memoirs by Writers Famous &#38; Obscure</i> collects almost 1,000 six-word memoirs, including additions 
      from many celebrities like Stephen Colbert, Jane Goodall, Dave Eggers, and more.
    </p>
    <p>
      Surprisingly addicitive, <i>Not Quite</i> is both a moving peek at the minutiae of humanity and the most literary
      toilet reading you&#8217;ll ever find.
    </p>
  </div>
  &lt;%= clear_float %&gt;
&lt;% end %&gt;</p>]]>
      </content>
    </page>
  </pages>
  <tags>
  </tags>
</item>
