<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Jeffry Degrande</title>
  <id>http://www.jeffrydegrande.com</id>
  <updated>2010-02-18T00:00:00-08:00</updated>
  <author>
    <name>Jeffry Degrande</name>
  </author>
  <entry>
    <title>Hello World</title>
    <link href="http://www.jeffrydegrande.com/2010/02/18/hello-world/" rel="alternate"/>
    <id>http://www.jeffrydegrande.com/2010/02/18/hello-world/</id>
    <published>2010-02-18T00:00:00-08:00</published>
    <updated>2010-02-18T00:00:00-08:00</updated>
    <author>
      <name>Jeffry Degrande</name>
    </author>
    <summary type="html">&lt;p&gt;so far for tumblr&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;so far for tumblr&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>nokogiri with brewed libxml2</title>
    <link href="http://www.jeffrydegrande.com/2010/02/26/nokogiri-with-brewed-libxml2/" rel="alternate"/>
    <id>http://www.jeffrydegrande.com/2010/02/26/nokogiri-with-brewed-libxml2/</id>
    <published>2010-02-26T00:00:00-08:00</published>
    <updated>2010-02-26T00:00:00-08:00</updated>
    <author>
      <name>Jeffry Degrande</name>
    </author>
    <summary type="html">&lt;p&gt;This is how I got nokogiri working on Leopard without the
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 warning&lt;/p&gt;

&lt;p&gt;Install libxml2:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  brew install libxml2&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;This is how I got nokogiri working on Leopard without the
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 warning&lt;/p&gt;

&lt;p&gt;Install libxml2:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  brew install libxml2
  brew link libxml2
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Install nokogiri&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  gem install nokogiri &amp;mdash; &amp;mdash;with-xml2-include=/usr/local/include/libxml2 &amp;mdash;with-xml2-lib=/usr/local/lib/
&lt;/code&gt;&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Facebook and 406 not acceptable</title>
    <link href="http://www.jeffrydegrande.com/2010/04/13/facebook-and-406-not-acceptable/" rel="alternate"/>
    <id>http://www.jeffrydegrande.com/2010/04/13/facebook-and-406-not-acceptable/</id>
    <published>2010-04-13T00:00:00-07:00</published>
    <updated>2010-04-13T00:00:00-07:00</updated>
    <author>
      <name>Jeffry Degrande</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;em&gt;406 Not Acceptable&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keep running into this error when requesting json from rails in a facebook FBML
application&lt;/p&gt;

&lt;p&gt;&lt;em&gt;solution&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Set the content type to &amp;lsquo;text/javascript&amp;rsquo;; Facebook asks for that when it&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;em&gt;406 Not Acceptable&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keep running into this error when requesting json from rails in a facebook FBML
application&lt;/p&gt;

&lt;p&gt;&lt;em&gt;solution&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Set the content type to &amp;lsquo;text/javascript&amp;rsquo;; Facebook asks for that when it
really wants json. Like this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;respond_to do |format|
  format.json { render :json =&amp;gt; 'ok', :content_type =&amp;gt; 'text/javascript;' }
end
&lt;/code&gt;&lt;/pre&gt;
</content>
  </entry>
</feed>
