Based on load_site.py from Digital Creations
Modified by Oleg Broytmann
Modified by Itamar Shtull-Trauring
LoadSite is a utility for uploading files to Zope. It's better than plain FTP:
- Works even if Zope FTP is not working, since it uses HTTP. If you can browse the site, you can use LoadSite.
- automatic addition of standard_html_header and title property for HTML files
- creation of index_html files that redirect to your index.html files
- cleaning up MSWord generated curly quotes
Version 1.4 is much faster, no longer trashes <dtml> tags, and has a config.py file so you easily customize the way it works.
New in version 1.3 is a wxWindows-based GUI frontend. Now you can upload files to Zope
using a GUI interface in either Win32 or Unix while still using all of load_site's features.
You can download wxPython from: http://208.240.253.245/wxPython/
Important: In order to use the GUI you need to change the Zope source code. You need to edit lib/python/OFS/ObjectManager.py and change the objectMap function to read
def objectMap(self):
""" Return a tuple of mappings containing subobject meta-data """
return self._objects
and unless you're uploding as superuser edit __ac_permissions__ so that the
(objectIds
, objectValues
, objectItems
,''),
line reads as
(objectIds
, objectValues
, objectItems
, objectMap
,''),