You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2006/03/14 23:25:20 UTC

[Lenya Wiki] Update of "HowToEditWithWebDAV" by JonathanAddison

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.

The following page has been changed by JonathanAddison:
http://wiki.apache.org/lenya/HowToEditWithWebDAV

The comment on the change is:
Added Recent Testing Results / Observations section

------------------------------------------------------------------------------
    * Assets can be retrieved via GET requests, but can't be PUT.  Don't really know how to handle that.
    * While saving the document (cadaver) 2 revisons are created.
  
+ 
+ --------
+ 
+ == Recent Testing Results / Observations ==
+ 
+ == Dreamweaver ==
+   *       With the recent patches it is now working again as described above in the Dreamweaver section. (EDIT: The last patch has broken this for the moment as all files appear with their original extension (i.e. .xml instead of .html).  This will be fixed soon.)
+   *       Creating a new WebDAV site connected to localhost:3333/default displays the complete listing of files from the webdav folder
+   *       All of the files can be opened, edited, saved, and checked back in right from within Dreamweaver, with the changes appearing with a refresh of Lenya.
+   *       Basic MKCOL method implemented, but still cannot create new files because of temporary directories that are created during new file process.
+ 
+ == OpenOffice (Windows) ==
+   *	There is an option to toggle which Open/Save Dialogs are used, those from Windows or those from OpenOffice.
+   *	The Windows dialogs are used by default, to change go to Tools > Options > OpenOffice.org > General and click the option for OpenOffice Open/Save dialogs.
+    *	If using the Windows dialogs and browsing to the files on an XP Web folder, the files will open as read-only.
+    *	If using the OpenOffice dialogs, browsing to the XP Web folder is no longer an option.
+     *	However, you can type in ([http://localhost:3333/default/webdav/tutorial_en.html]) and the file will open as an editable file.
+     *	This is too difficult for a normal user but it helped to see that the XP Web folders are the cause of the read-only problem.
+     *	Dreamweaver has no read-only issues because it also has its own WebDAV implementation and bypasses XP Web folders.
+ 
+ == XP Web Folders ==
+   *	As mentioned above they only permit read-only views of WebDAV files in both Word 2003 and OpenOffice.
+   *	[http://www.zope.org/Members/enno/howto_webdav_zopeedit A google search revealed] that XP Web folders create temporary files and that this is the likely cause of the read-only issue.  The linked page has a good overview of the WebDAV issues with Word.
+ 
+ == NetDrive ==
+   *	Possible alternative to XP Web folders, mounts WebDAV, FTP, SFTP, etc. as a new drive letter.
+   *	Pluses: Free, No read-only issues with Word or OpenOffice, easy to find files in Windows Explorer since it shows as another drive
+   *	Minuses: Something else to install, would be better to have XP Web folders working for simplicity
+   *	Works as a good development option on Windows for now
+ 
+ == Word 2003, OpenOffice Saving Errors ==
+   *	There are 2 issues with trying to save html documents with Word or OpenOffice
+    *      The files are opened as read-only (when using XP Web folders)
+    *      If you can get the files to open without the read-only restriction they still cannot be saved, because the html source gets transformed to invalid markup.
+   *	The second point was tested using NetDrive, which removed the read-only restriction.
+   *	Saving was successful if I took a clean version of the code and replaced the unclean version in the source view.  Refreshing in Lenya showed the updated content.
+ 
+ == FrontPage 2003 ==
+   *       Functionality is a cross between Dreamweaver and Word.
+   *       Opens all files correctly without messing up the markup, and allows editing and saving with no errors.
+   *       Unfortunately the saved changes do not appear in Lenya when saving to the XP Web folder.
+   *       If changes are saved to NetDrive, then everything appears in Lenya as it should.
+   *       Also, a WebDAV site can be created, but errors are thrown when trying to check out files from the server to the site.
+   *       Haven't had as much time to test FrontPage, will update with more results. 
+ 
+ 
+ == OpenOffice (edit .odt) ==
+   * opening an .odt works if you apply the patch to [http://issues.apache.org/bugzilla/show_bug.cgi?id=38926 bug 38926]
+   * saving an odt does not work ATM (working on it), because
+    * the Put.java is hardcoded to work with html, and validate it. So far, I have removed all the validation stuff, and only copy the source. 
+    * the matcher "request/PUT" in the webdav/sitemap.xmap uses a stream generator, that only works with an xml input. I did some research, and wrote a [http://www.nabble.com/binaries-PUT-for-webDAV-was%3A-webdav-block%2C-davmap%2C-binaries-PUT%2C-request-reader--t1275428.html mail]  to the cocoon user list. Any hint welcome. I started a RequestReader, but still struggling with it ;-)
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org