English 中文(简体)
Moving (very old) Zope/Plone Site to Django
原标题:

I am ask to move data from a (now offline) site driven by Plone to a new Django site.

These are the version informations I have:

Zope Version (unreleased version, python 2.1.3 )

Python Version 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)]

CMFPlone (Installed product CMFPlone (1.0.1)) 2003-04-11 01:17

furthermore I have the complete Data.fs and several Plone-folders exported to xml/zexp

What are good strategies to move?

How can I access a six years old ZODB?

最佳回答

The handiest option would be if you can get your hands on the complete installation, especially the Products/ folder. If you have that, you can probably start it up just fine with python 2.1. Find the etc/zope.conf file, switch on FTP access if not yet enabled and copy everything out of there onto your harddisk. That s the quickest way to get everything out in a format that you can work with.

Alternative if you don t have access to the complete installation: try to set up an old debian somewhere that contains zope-cmfplone 1.0.1. Copy the Data.fs to the correct location (I d guess in /var/lib/zope or so on such an old debian) and start the server. And do the FTP trick again.

Alternative 2: if the exported zexp xml contains all the content, you can take a quick look whether you can extract whatever you need from that.

Alternative 3: the Data.fs is readable with a standalone ZODB package. The Data.fs contains python objects that are readable from within python. Get yourself an older zope or standalone zodb package and open the Data.fs. As you don t have the original software, apparently, the python classes used to make the objects aren t available so the objects will be pretty much broken. With dir() and dictionary access you can try to rescue as much as possible.

Alternative 4: was it a public site? What does http://archive.org have in store for you?

问题回答

暂无回答




相关问题
How to get two random records with Django

How do I get two distinct random records using Django? I ve seen questions about how to get one but I need to get two random records and they must differ.

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

Flexible pagination in Django

I d like to implement pagination such that I can allow the user to choose the number of records per page such as 10, 25, 50 etc. How should I go about this? Is there an app I can add onto my project ...

is it convenient to urlencode all next parameters? - django

While writing code, it is pretty common to request a page with an appended "next" query string argument. For instance, in the following template code next points back to the page the user is on: &...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

热门标签