RE: [Zope] ftp editing methods
-----Original Message----- From: Will Fife [mailto:will@techfuel.com] Sent: Tuesday, June 29, 1999 1:04 PM To: Michel Pelletier Cc: 'Stefan Bund'; zope@zope.org Subject: RE: [Zope] ftp editing methods
Would it be possible to have a comment of some sort on the top line of the file that would tell the server what type of file that it is?
Yes, this suggestion was forwarded by Hadar, but it makes me shudder a bit. Sniffing content is never a very deterministic way of doing things. It could be done, I guess, as a configurable option. -Michel
Michel Pelletier wrote:
Yes, this suggestion was forwarded by Hadar, but it makes me shudder a bit. Sniffing content is never a very deterministic way of doing things. It could be done, I guess, as a configurable option.
Don't forget sub-types either. I have no idea why the mime system is two-level but it doesn't reflect reality. I have files that are text/xml/xhtml/ourhtml_subset or consider application/xml/rdf/netscape_what_s_related etc. -- Paul Prescod - ISOGEN Consulting Engineer speaking for only himself http://itrc.uwaterloo.ca/~papresco "The new revolutionaries believe the time has come for an aggressive move against our oppressors. We have established a solid beachhead on Friday. We now intend to fight vigorously for 'casual Thursdays.' -- who says America's revolutionary spirit is dead?
On Tue, 29 Jun 1999 13:05:38 -0400, Michel Pelletier <michel@digicool.com> said: Michel> Yes, this suggestion was forwarded by Hadar, but it makes me Michel> shudder a bit. Sniffing content is never a very deterministic Michel> way of doing things. It could be done, I guess, as a Michel> configurable option. This probably isn't a new idea but: How about having the ability to define in the Zope UI certain protocols (or Roles+Protocols) as "editing" protocols instead of "publishing" protocols, like WebDAV and FTP for example. When objects are accessed via those protocols, instead of seeing a single object, you see all it's properties, meta type, etc as sub-objects which you can edit individually. This way, if I want to, I can change the type of my object or any of it's properties or I can just mess with it's content if I want, in the case of DTML docs and methods. This way, you aren't trying to prepend the meta data about the object into all representations of it, and you don't have to worry about sniffing content for every single upload. Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA
participants (3)
-
Alex Rice -
Michel Pelletier -
Paul Prescod