title: Simple ajax-call to get Typepad blog's atom.xml
body: <p>So I have a Typepad blog and want to load some posts in to my own website. I looked at the Typepad API but it seemed overly complex. Typepad also supplies a widget, but that only shows post titles and hrefs and I need the content too.</p>
  
  <p>So here's what I'm doing, I have jQuery included in the page: </p>
  
  <pre><code>$.ajax({
      url: 'http://notes2self.typepad.com/notes/atom.xml?callback=?',
      type: 'GET',
      dataType: 'jsonp',
      success: function(feed) {
          console.log(feed);
      },
      error: function(err) {
          console.log(err);
      }
  });
  </code></pre>
  
  <p>It logs "success" but the object logged looks like an XMLHttpRequest response where I want it to simply return the xml contents:</p>
  
  <blockquote>
    <p>Object {readyState: 4, status: 200, statusText: "success"}</p>
  </blockquote>
  
  <p>Also, in Chrome on OSX, the console logs an error on line 1 of atom.xml:</p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token &lt;</p>
  </blockquote>
  
  <p>I'm obviously doing some very basic things wrong. Any tips to point me in the right direction?</p>