You are not logged in Log in Join
You are here: Home » Members » itamar » load_site.py with additional features

Log in
Name

Password

 
 

Folder icon load_site.py with additional features

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,''),

 Title   Type   Size   Modified   Status 
 1.1 Edit object Software Release   2000-03-14 published
 1.2 Edit object Software Release   2000-03-06 published
 1.3.1 Edit object Software Release   2000-03-16 published
 1.4.0 Edit object Software Release   2000-09-04 published
 Load_site enhanced version 1.2 Edit object News Item 1 K 2000-03-05 published
 New version of load_site with GUI interface Edit object News Item 1 K 2000-03-16 published