[Zope] Search and Replace tool

2008-12-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please don't reply to an existing thread to ask an unrelated question.

 I've been doing some googling and haven't found anything exactly what I'm 
 looking for... Therefore, some input would be welcome.
 
 I want to search the data.fs file and modify existing part of a URLS from
 
 /zope/zope.pcgi/intranet/
 
 to
 
 :8080/intranet/
 
 
 Such that If I have a URL like
 
 test.domain.com/zope/zope.pcgi/intranet/test.html
 
 will become
 
 test.domain.com:8080/intranet/test.html


You need to clarify:  are the URLs you want updated embedded in content
objects, or are they dynamically generated?  If the latter, you need to
google for 'zope virtual hosting';  if the former, you need to explain
the application better:  there is no generic search and replace
operation independent of a given application.



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJR/d3+gerLs4ltQ4RAhqJAJ9EqE3SWB6ffNzLVV7fSVHApE6QHACfaHyp
U1g5P4KeN0l5t8iJySVwHWg=
=Q+4S
-END PGP SIGNATURE-
___
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] Search and Replace tool

2008-12-16 Thread Stephen Christian


On Tue, 16 Dec 2008, Tres Seaver wrote:

 Please don't reply to an existing thread to ask an unrelated question.

Thought, I started a new thread, maybe I have something configured 
incorrectly.


 I've been doing some googling and haven't found anything exactly what I'm
 looking for... Therefore, some input would be welcome.

 I want to search the data.fs file and modify existing part of a URLS from

 /zope/zope.pcgi/intranet/

 to

 :8080/intranet/


 Such that If I have a URL like

 test.domain.com/zope/zope.pcgi/intranet/test.html

 will become

 test.domain.com:8080/intranet/test.html


 You need to clarify:  are the URLs you want updated embedded in content
 objects, or are they dynamically generated?  If the latter, you need to
 google for 'zope virtual hosting';  if the former, you need to explain
 the application better:  there is no generic search and replace
 operation independent of a given application.


I believe the latter, what I'm looking for is hardcoding by the users as 
I have no idea what they've done / put in their content.


Canada's Fan S/F Convention http://tcon.ca 

Stephen Christian(schr...@vex.net)  _ Member of:
www.vex.com/~schrist(_'-/-_  _ |_  _  _  DWIN,Polaris 22
Canada's B5 Information Pages: ._)( (-'|_)| )(-'| ). *
www.cdnb5.ca|  President of TCON

___
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 )