Re: [Zope] ZopeWeaver?
Hi Andy,
"Andy" == Andy McKay <andym@activestate.com> writes:
>> There are now all manner of Dreamweaver extensions, both
Andy> I tried it briefly and found that Dreamweaver cant seem to Andy> handle a file with no extension such as index_html, so gave Andy> up.
Yes.. it's apparently just the Windows version that has this problem.... it's a really wierd limitation...
Yes, this works fine on the Mac. I suspect the difference is because on the Mac they are taking the http content types to figure out the content, but on Windows they are being lazy and using the file extension. Why they didn't use the same code I don't know. To make Dreamweaver on Windows happy, we name our index files "index.html" and then have a DTML method for index_html which is just <dtml-var index.html>. Most of our content people use Dreamweaver (on Macintosh and Windows) to edit Zope sites and are very happy with it. Simon -- --------- My opinions are my own, NIP's opinions are theirs ---------- Simon J. Coles Email: simon@nipltd.com New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 =============== Life is too precious to take seriously ===============
On Wed, 29 Nov 2000, Simon Coles wrote:
Yes, this works fine on the Mac. I suspect the difference is because on the Mac they are taking the http content types to figure out the content, but on Windows they are being lazy and using the file extension. Why they didn't use the same code I don't know.
Thats just the way Windows works. Somehow M$ chose to determine the filetype by the file extension, and the file extension only (and then they chose to _hide_ the extension by default... ;). A somehow related issue is that IE seems to prefer file extensions over any HTTP headers, MIME types and such. Mac has a forked filesystem keeping type information separately. Thus no problem with names. Cheers, Stefan
Sorry for the question, but i am getting crazy trying to get the Zope Poll Product working !! Have anybody installed this on a Debian machine? I am missing something? I installed the python-imaging* from 2.2 and it doesn't work, so i switch to python-imagin from Woody and it doesn't work to. I replace the /usr/lib/python1.5/site-packages/PIL/__init__.py with the one comming in the Poll product and neither !!! Can you help me with that? Have anybody made a Poll Debian package, it is a escential part in every website :) Thank for your work, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com
One trick I use on my NT box is to use Dreamwaver for all the major html content which end in a .html extension and htmlkit for the index_html and like files. FYI, Albert Boulanger aboulanger@vpatch.com
Hello Thanks for all the comments so far on this topic. Hope to hear more. I have been looking this morning gain at the Extending Dreamweaver docs. [on Win32 its typically at C:\Program Files\Macromedia\Dreamweaver 3\Extending\ExtendingHelp.htm ] It seems to me that by using the XML-based TAGSPEC, and then the Dreamweaver Javascript DOM, it should be possible to open index_html or anything.dtml in a fully controlled manner. It looks like this can avoid any dependancy on Win32. SOME EXAMPLES: DWfile.read() The following code reads the file mydata.txt and, if successful, displays an alert box with the contents of the file. var fileURL = "file:///c|/temp/mydata.txt"; var str = DWfile.read( fileURL); if (str){ alert( fileURL + " contains: " + str); } .......................... In Dreamweaver 3, extensions are no longer limited to working within the local file system. Dreamweaver now provides a mechansim for getting information from and sending information to a web server via hypertext transfer protocol (HTTP). This chapter describes the HTTP API and how to use it. MMHttp.getFile() The following code gets an HTML file, saves all the files in the Configuration/Temp folder, and then opens the local copy of the HTML file in a browser: var httpReply = MMHttp.getFile("http://www.dreamcentral.com/people/profiles/scott.html", false); if (httpReply.statusCode == 200){ var saveLoc = httpReply.data; dw.browseDocument(saveLoc); ............................ There's lots more, but these seem like the 2 essential ones [+ their .write() counterparts] The potential advantages I see for Zope are: - PROFILE [improving Zope's general visibility and acceptance for new projects] Having a set of Zope Dreamweaver Extensions in itself would help promote it. - WORKFLOW [making Zopesite development with Dreaweaver much friendlier for designers/programmers etc.] - DESIGN [ better integration with Macromedia's graphic toolset will make it easier to for professional designers to develop more professional looing ZopeSites] - FEATURES [There are many features available now in Dreamweaver3+ which can be leveraged to prototype and build higher level Zope templates design and interface] So my questions are what Javascript 'ZopeWeaver' extensions would you really like to see? - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']
participants (5)
-
albert boulanger -
Jason Cunliffe -
Nestor A. Diaz L. -
Simon Coles -
Stefan H. Holek