[Zope] How to get the "pure" source of a pagetemplate back ?

Quentin Smith quentins@comclub.dyndns.org
Wed, 15 May 2002 15:25:44 -0400


Hi-

On Wednesday, May 15, 2002, at 01:22  AM, John Adams wrote:

> On Tue, 14 May 2002, Joachim Schmitz wrote:
>
>> Some care had to be taken if more than one person modifies the online 
>> site.
>> But if there were changes, I could just cut and paste the source from 
>> the
>> textbox into my local editorwindow. Until pagetemplates came around, 
>> here I
>> only get the text with all
>> macros expanded. So my question:
>>
>> how do I get the pure unexpanded text of a pagetemplate from a 
>> Zope-server
>> back ?

If the page template is at http://localhost/mypage.pt, the source is at 
http://localhost/mypage.pt/source.html

> To add to this question, is there any way (or could a way be hacked
> together) to allow editing of files on the command line instead of 
> through
> the web? It'd be nice to check pages out, edit pages in emacs,  and 
> check
> them back in a la CVS.

Search zope.org for this. There are a few tutorials which show how to do 
this with both Zope's FTP server and with WebDAV. Or if you prefer, use 
ncftp (my favorite) or plain ftp.

>
> Editing inside the TEXTAREA block hurts.

I agree!

>
> -john

--Quentin