Safari, .zem files, and other Plone/Zope features
Dec 04, '07 07:30:01AM • Contributed by: grahamperrin
Dec 04, '07 07:30:01AM • Contributed by: grahamperrin
For .zem files, sometimes offered by Plone content management systems, to be treated as safe by Safari and similar applications, you may add three strings to your DownloadAssessment preferences file. Here's how:
If your CMS does not append the .zem suffix to ZEM file names, then you may ask your Plone service administrator to consider this discussion. Focusing on the Plone site manager's view of
- Launch Terminal, and convert the plist into editable form:
plutil -convert xml1 ~/Library/Preferences/com.apple.DownloadAssessment.plist - Edit the file:
pico ~/Library/Preferences/com.apple.DownloadAssessment.plist - Include the following three defintions:
Here's an example of the full file. After making the changes, save and close the plist.<key>LSRiskCategoryExtensions</key> <array> <string>zem</string> </array> <key>LSRiskCategoryContentTypes</key> <array> <string>com.urbanape.zopeeditmanager</string> </array> <key>LSRiskCategoryMIMETypes</key> <array> <string>application/x-zope-edit</string> </array> - Get ZopeEditManager. In the app, go to Preferences » Helper Apps, and you may wish to add helpers such as these:
application/msword | NeoOffice | .doc - Quit then re-launch Safari.
If your CMS does not append the .zem suffix to ZEM file names, then you may ask your Plone service administrator to consider this discussion. Focusing on the Plone site manager's view of
/portal_actions/document_actions/extedit/manage_propertiesForm
If the URL (Expression) is changed to...
string:${here/aq_parent/absolute_url}/externalEdit_/${here/getId}.zem?macosx=1
...then the service may play more nicely with browsers on Mac OS X, without compromising service to users of IE 7 on Windows. I have not tested for service compatibility with other browsers/platforms.
•
[7,263 views]
