Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-06 Thread Martijn Pieters

On Tue, Dec 05, 2000 at 03:51:28PM -, Phil Harris wrote:
 Working on the HTML-Kit plugin as we speak. ;)

I have created a Python library for HTML-Kit plugins. Very easy with
Mark Hammonds Win32 extensions. It is only the bare bones COM interface
though, no niceties such as Exceptions and such.

As soon as the download server is back online again (www.chamisplace.com)
I can figure out more easily what plugins can do on the whole and create a
higher level interface along the lines of:

--

from HTMLKitPlugins import Plugin, RegisterPlugin

class HelloWorld(Plugin):
name = 'Hello_in_Python'
iconCaption = = 'PyD'
section = 'MyPlugins'

def main:
self.output('Hello, Python World!')

RegisterPlugin(HelloWorld())

--

A HiperDom or DTML plugin is then going to be a breeze. Imagine XML-RPC
access to the Zope server so you can expand dtml-var references in
place. :)

Currently I use a fake Perl plugin to pass through to Python (yukk), but
if someone wants to write a standalone .EXE file that transparently
invokes a python file based on registry entries (location of Python
interpreter and a registry of Python plugin files) we can do without Perl
altogether.

Next step would then be to ask Chami.com to add support for Python plugins
as well (which is not hard for them if I supply the Python library files).

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


Like others I was a bit puzzled as to how to Save As FTP
in HTML-Kit. I've just downloaded build 290 and got it
all working (the stuff may have lain undiscovered in
earlier verions - RTFM .).

The keys to cracking it are:

1. Go Workspace - Add FTP Server/Folder - Add FTP Server.
   Do the obvious (all familiar to Homesite users).
   A blue coloured ftp source will appear in the File pane
   on the RHS. Expand/collapse trees to navigate to the
   file you want to open.

2. Right-click and "Open As Text". Haven't yet fathomed
   the significance of this as opposed to other options.
   What I do know is that "Save" then does the business -
   saves it back to your FTP source.

As a 24-day-old (6 days to go ) Homesite evaluation
user I'm really, really impressed so far with HTML-Kit.
My thanks to Phil Harris et al for the tip.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


Like others I was a bit puzzled as to how to Save As FTP
in HTML-Kit. I've just downloaded build 290 and got it
all working (the stuff may have lain undiscovered in
earlier verions - RTFM .).

The keys to cracking it are:

1. Go Workspace - Add FTP Server/Folder - Add FTP Server.
   Do the obvious (all familiar to Homesite users).
   A blue coloured ftp source will appear in the File pane
   on the RHS. Expand/collapse trees to navigate to the
   file you want to open.

2. Right-click and "Open As Text". Haven't yet fathomed
   the significance of this as opposed to other options.
   What I do know is that "Save" then does the business -
   saves it back to your FTP source.

As a 24-day-old (6 days to go ) Homesite evaluation
user I'm really, really impressed so far with HTML-Kit.
My thanks to Phil Harris et al for the tip.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Robin Becker

I'm a bit puzzled as to how you get things like index_html to appear. My
homesite seems to need an extension list.
-- 
Robin Becker

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Jason Cunliffe

Paul

Thanks for your notes, especially the  "open as text" tip.

Very fast and easy.
HTML-Kit Preview is very useful too for changing forms in Zope.

Now if only someone would create an HTML-Kit library Zope extension complete
with all essential DTML and pythonisms for auto tag completion

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']

- Original Message -
From: Paul Browning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 8:04 AM
Subject: RE: [Zope] FTP in HTML-Kit? Sussed it!

 1. Go Workspace - Add FTP Server/Folder - Add FTP Server.
Do the obvious (all familiar to Homesite users).
A blue coloured ftp source will appear in the File pane
on the RHS. Expand/collapse trees to navigate to the
file you want to open.

 2. Right-click and "Open As Text". Haven't yet fathomed
the significance of this as opposed to other options.
What I do know is that "Save" then does the business -
saves it back to your FTP source.




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Phil Harris

Jason,

Working on the HTML-Kit plugin as we speak. ;)

Phil

- Original Message -
From: "Jason Cunliffe" [EMAIL PROTECTED]
To: "Paul Browning" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 3:05 PM
Subject: Re: [Zope] FTP in HTML-Kit? Sussed it!


 Paul

 Thanks for your notes, especially the  "open as text" tip.

 Very fast and easy.
 HTML-Kit Preview is very useful too for changing forms in Zope.

 Now if only someone would create an HTML-Kit library Zope extension
complete
 with all essential DTML and pythonisms for auto tag completion

 - Jason
 ___
 Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']

 - Original Message -
 From: Paul Browning [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 05, 2000 8:04 AM
 Subject: RE: [Zope] FTP in HTML-Kit? Sussed it!

  1. Go Workspace - Add FTP Server/Folder - Add FTP Server.
 Do the obvious (all familiar to Homesite users).
 A blue coloured ftp source will appear in the File pane
 on the RHS. Expand/collapse trees to navigate to the
 file you want to open.
 
  2. Right-click and "Open As Text". Haven't yet fathomed
 the significance of this as opposed to other options.
 What I do know is that "Save" then does the business -
 saves it back to your FTP source.




 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


On Tue, 5 Dec 2000 13:56:04 + Robin Becker [EMAIL PROTECTED] 
wrote:

 I'm a bit puzzled as to how you get things like index_html to appear. My
 homesite seems to need an extension list.

For me it just works (index_html included). Mind you I declined all offers to
set preferences for browsers and file extensions when
HMTL-Kit started up for the first time.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Stefan H. Holek

On Tue, 5 Dec 2000, Jason Cunliffe wrote:

 Thanks for your notes, especially the  "open as text" tip.

I found an option in "Edit | Preferences | Workspace" named 
"Ignore file type when opening/inserting"

It may have (yet undetected) side effects, but doubleclicking
index_html now does what I would expect it to... ;)

Regards,
Stefan


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Jason Cunliffe

Yes interesting + thanks again.
Also there is radio button in "Edit | Preferences | Workspace"

'Transfer mode' = use text mode to transfer files with extensions

and then a long list:

al;asa;asc;asp;aspc;aspx;bas;bat;c;c++;cat;cc;cfm;cfml;cgi;cnf;conf;cpp;cs;c
ss;css1;css2;css3;csv;cxx;dcl;decl;dtd;dtml;el;ent;etx;f90;h;h++;hh;hkh;hks;
hpd;hpp;htaccess;htm;html;htt;htx;hxx;inc;inf;ini;inl;iss;j;jav;java;javascr
ipt;js;jscript;l;latex;lcd;lisp;log;lsp;m;pas;pc;perl;php;php2;php3;php4;php
5;php6;pht;phtml;pl;pl3;pl4;pl5;pl6;pl7;pll;plx;pm;py;rtf;rtx;scm;shtm;shtml
;soc;sql;stm;sys;tex;text;tsv;txt;vb;vbs;xml;xsd

so I addeddtml;  not sure what side efect there but seems to
be ok :-)

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']

From: Stefan H. Holek [EMAIL PROTECTED]
Subject: Re: [Zope] FTP in HTML-Kit? Sussed it!

 I found an option in "Edit | Preferences | Workspace" named
 "Ignore file type when opening/inserting"

 It may have (yet undetected) side effects, but doubleclicking
 index_html now does what I would expect it to... ;)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )