title: Migrating data from Plone to Liferay, or how could I retrieve information from Plone's Data.fs
body: <p>I need to migrate data from a Plone-based portal to Liferay. Has anyone some idea on how to do it?</p>
  
  <p>Anyway, I am trying to retrieve data from Data.fs and store it in a representation easier to work, such as JSON. To do it, I need to know which objects I should get from Plone's Data.fs. I already got the <code>Products.CMFPlone.Portal.PloneSite</code> instance from the Data.fs, but I cannot get anything from it. I would like to get the <code>PloneSite</code> instance and do something like this:</p>
  
  <pre><code>&gt;&gt;&gt; import ZODB
  &gt;&gt;&gt; from ZODB import FileStorage, DB
  &gt;&gt;&gt; path = r"C:\Arquivos de programas\Plone\var\filestorage\Data.fs"
  &gt;&gt;&gt; storage = FileStorage.FileStorage(path)
  &gt;&gt;&gt; db = DB(storage)
  &gt;&gt;&gt; conn = db.open()
  &gt;&gt;&gt; root = conn.root()
  &gt;&gt;&gt; app = root['Application']
  &gt;&gt;&gt; plone_site = app.getChildNodes()[13] # 13 would be index of PloneSite object
  &gt;&gt;&gt; a = plone_site.get_articles()
  &gt;&gt;&gt; for article in a:
  ...    print "Title:", a.title
  ...    print "Content:", a.content
  Title: &lt;some title&gt;
  Conent: &lt;some content&gt;
  Title: &lt;some title&gt;
  Conent: &lt;some content&gt;
  </code></pre>
  
  <p>Of course, it did not need to be so straightforward. I just want some information about the structure of <code>PloneSite</code> and how to recover its data. Has anyone some idea?</p>
  
  <p>Thank you in advance!</p>