<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0">
    <channel>
      <title>manatlan's news</title>
      <link>http://manatlan.com/</link>
      <description>manatlan's news</description>
      <webMaster>me@manatlan.com</webMaster>

      <language>en</language>

		<item>
			<title><![CDATA[Big changes in manatlan.com ;-)]]></title>
			<link><![CDATA[http://manatlan.com/blog/big_changes_in_manatlan_com__-]]></link>
			<guid><![CDATA[http://manatlan.com/blog/big_changes_in_manatlan_com__-]]></guid>
			<description><![CDATA[<p>Apparently nothing has changed (may be some disturbance now). But a lot of changes was made. I had just migrate all files+models from one <a href="http://maison.appspot.com">appspot-id</a> to <a href="http://manatlan.appspot.com">another one</a> (At the beginning I couldn't choose "manatlan" as appspot-id ?! Now it works ?!). Files were easily migrated (thanks to gae). But models were more complex, thanks to <a href="/page/aex">AEX</a>, it helps me a lot ;-)</p>

<p>BTW, <a href="http://flux.manatlan.com">flux.manatlan.com</a> was a subdomain of my old appspot-id (it was very dependant on this website). Now it has its own appspot-id and works alone (with its own <a href="http://code.google.com/intl/fr/appengine/docs/python/config/cron.html">cron</a>, <a href="http://code.google.com/intl/fr/appengine/docs/python/taskqueue/">taskqueue</a>, and own quotas). It's in beta stage now (use at your own risks).</p>

<p>So, this is the first post (a test ;-)) on my new appspot-id.</p>
]]></description>
            <author>manatlan</author>
			<pubDate>Sat, 18 Jul 2009 13:04:21 GMT</pubDate>
		</item>
		<item>
			<title><![CDATA[A simple export/import lib for GAE]]></title>
			<link><![CDATA[http://manatlan.com/blog/a_simple_export_import_lib_for_gae]]></link>
			<guid><![CDATA[http://manatlan.com/blog/a_simple_export_import_lib_for_gae]]></guid>
			<description><![CDATA[<p>In fact, I always asked myself why there was a <code>to_xml()</code> instance method on an entity, without an <code>from_xml()</code> on the model class (the reverse method). If you have an answer, please, don't hesitate : tell me ;-)</p>

<p>So, I tried to make my own <code>from_xml</code> method. And it seems it works pretty good for me (afaik for the models of this website). So I want to share my work, so volunteers could help me to make it better : <strong>I take patches</strong>, and will maintain it.</p>

<p>My script exposes 2 methods :</p>

<ul>
<li><strong>exporte</strong>(*objects) : will generate (yield) a xml flow (using the <code>to_xml()</code>) of all "objects". object can be a Model class, in this case it will query all entities, or object can be some entities.</li>
<li><strong>importe</strong>(objects,file=None,buffer=None,delete=False) : will import in models defined in objects, the xml flow from a file if file is defined, or from a buffer if buffer is defined. 'delete' will make a <em>delete all</em> before importing.</li>
</ul>

<p>You will find it on the <a href="/page/aex">project's page</a></p>

<p><strong>UPDATE 2009/04/09</strong> :</p>

<ul>
<li>now it's called AEX for "App Engine eXchange". </li>
<li><a href="/page/aex">a page is dedicated for aex here</a></li>
<li>it can manage now all <a href="http://code.google.com/intl/fr/appengine/docs/python/datastore/typesandpropertyclasses.html">GAE properties</a>, with any kind of models (model, expando, polymodel)</li>
</ul>
]]></description>
            <author>manatlan</author>
			<pubDate>Wed, 08 Apr 2009 19:56:53 GMT</pubDate>
		</item>
    </channel>
</rss>
