INSTALL

by Kevin Kalupson last modified Dec 30, 2008 05:53 PM
Updated INSTALL and usage instructions. Need to update the package
See README.txt for dependencies Copy webslingerX to your Products folder as 'webslinger'. Restart Zope If everything works as planned, in the ZMI Navigate to the root of your Plone site and create a Webslinger Object with the drop down menu: Title: "Use Something Meaningful" ID: "Something Meaningful with legal characters(no spaces,$,^,etc)" Once you have a webslinger object created, in the zmi drop down, create a Script(Python) object. Assuming you used the id 'testsling' Give it a title and id and click edit. in the parameters field put directory,tag,ws_contributors,ws_rights myslinger = testslinger.simple_sling() print myslinger(self,directory,tag,ws_contributors,ws_rights) return printed hit save and the press the 'Test' tab. directory: enter the full directory to the html and images that you want to import make sure zope has permission to read tag: the id tag of the div section of your html that you consider to be the content of the document ws_contributors: the names of people who contributed to the resources ws_rights: and copyright info that you would like to put on your documents As a tip, you can watch the progress if you have started zope in fg mode. If your on a windows machine, I'm not sure how to do that but on *nix do a /zopeinstance/bin/zopectl fg Imports can take a while, but it should work out well.