Re: [Zope] + in url /zope object name
Brian Sullivan wrote at 2006-4-5 14:12 -0400: > ... >> However, Zope3 allows you to configure the rules. >> Thus, you can allow names starting with '+'. >> > >Starting with a "+"? What about containing a "+"? In Zope3, you decide about the naming rules. >What about Zope 2? In Zope2, only a few special characters are allowed. >The reason this is an issue for me is that I have a whole bunch of >content that has directories using "+" in the name that I would like >to upload. You can easily extend the regular expression checking for bad ids. I even removed almost all restrictions in our local Zope version (only "/" and ";" is still forbidden). That was a bit more work, as proper escaping is necessary. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] accessing zope admin on suse 10.1
Dwayne Hottinger wrote at 2006-4-5 18:06 -0400: >I downloaded suse 10.1 beta 4 and installed zope during the install. It seems >to run fine, but I cant access the admin interface. Is there a file that I can >edit as root and set the username and password? I tried the zpassword.py >command and still cant access it. Reading the Zope related documentation delivered with SuSE may answer your questions. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] filtering results
Hi, I am a Zope newbie. I apologize if the terminology I use below is not correct, but I hope that you get the gist of what I am about to ask. I would like to be able to 'filter' results before returning them to the user. In other words, if a user requests a given object, it is passed through a filter before being passed on to him or her. As a simple example, I may want to tidy the html before the user sees it, or eliminate or add certain tags or words. I have put together a simple 'html tidy' external method that takes raw html and produces a tidied version, but I don't know how I can apply it. Thank you for any comments, suggestions, or simple examples you may be able to provide. Best Regards, gyro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] RE: How to convert characters that have special meaning in HTML to HTML character entities
Whoa, speedy response! Thanks a lot, although I should've known this. -Original Message- From: Max M [mailto:[EMAIL PROTECTED] Sent: 06 April 2006 13:24 To: [EMAIL PROTECTED] Subject: Re: How to convert characters that have special meaning in HTML to HTML character entities Jonathan Bowlas wrote: > Hi All, > > I have a string that contains a href="http://www.mywebaddress.com";>link tag that I would like rendered > as HTML when output but it only seems to render in the html page like this > link; > > To replace the characters, I tried this in my TAL: > > > > tal:content="d_stand_replaced_chars" /> > > > But it converted the '>' I replaced with a '>' back to a '>' upon > rendering the string in a html page. > > Any ideas how I can achieve this? tal:content="structure d_stand_replaced_chars" -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to convert characters that have special meaning in HTML to HTML character entities
On 4/6/06, Jonathan Bowlas <[EMAIL PROTECTED]> wrote: > I have a string that contains a href="http://www.mywebaddress.com";>link tag that I would like rendered > as HTML when output but it only seems to render in the html page like this > link; > > To replace the characters, I tried this in my TAL: > > > > tal:content="d_stand_replaced_chars" /> > > > But it converted the '>' I replaced with a '>' back to a '>' upon > rendering the string in a html page. TAL escapes characters that have special meaning in HTML or XML by default, to avoid XSS attacks. You can force TAL to not do this with the 'structure' keyword, like so: Not blinking -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: How to convert characters that have special meaning in HTML to HTML character entities
Jonathan Bowlas wrote: Hi All, I have a string that contains a http://www.mywebaddress.com";>link tag that I would like rendered as HTML when output but it only seems to render in the html page like this link; To replace the characters, I tried this in my TAL: But it converted the '>' I replaced with a '>' back to a '>' upon rendering the string in a html page. Any ideas how I can achieve this? tal:content="structure d_stand_replaced_chars" -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] How to convert characters that have special meaning in HTML to HTML character entities
Hi All, I have a string that contains a http://www.mywebaddress.com";>link tag that I would like rendered as HTML when output but it only seems to render in the html page like this link; To replace the characters, I tried this in my TAL: But it converted the '>' I replaced with a '>' back to a '>' upon rendering the string in a html page. Any ideas how I can achieve this? Jon ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: accessing zope admin on suse 10.1
Dwayne Hottinger wrote: > I downloaded suse 10.1 beta 4 and installed zope during the install. It > seems > to run fine, but I cant access the admin interface. Is there a file that > I can > edit as root and set the username and password? I tried the zpassword.py > command and still cant access it. > > thanks, > > ddh > > > -- > Dwayne Hottinger > Network Administrator > Harrisonburg City Public Schools > ___ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) You need to 1) stop zope 2) run zopectl adduser from the zope home (/var/opt/zope/something) 2) start zope ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] accessing zope admin on suse 10.1
Dwayne Hottinger wrote: I downloaded suse 10.1 beta 4 and installed zope during the install. It seems to run fine, but I cant access the admin interface. Is there a file that I can edit as root and set the username and password? I tried the zpassword.py command and still cant access it. Just try installing Zope from source and follow the prompts. OS-packaged versions of Zope tend to be a nightmare... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )