[opencms-dev] Replace a string in all pages

Daniel Rhoden drhoden at iiwinc.com
Wed Feb 9 22:00:24 CET 2005


This is funny.  It hasn't even been a whole half hour and I now have a 
vested interest in this solution.  I have to do a mass re-naming of 
resources (folder names and file names), not quite the same as xml 
pages, but close.  I have to change all uses of "_" to "-" so that 
Google will see "word1" and "word2" in a folder/file that is now named 
"word1_word2".

Does anyone have a solution for recursively renaming folders and files?

Thanks,

--Daniel Rhoden

Daniel Rhoden wrote:

> There might be some clues to your problem's solution in the post 
> titled "RE: [opencms-dev] Use openCms to generate xml page, not 
> html."  I don't need to do this myself (yet) but I'd love to have this 
> solution in my toolbox when I need it.
>
> Could you keep me posted if you find a solution?
>
> Good luck,
>
> Daniel
>
> Lars Martin wrote:
>
>> Hi all.
>>
>> Is there an easy way to replace a String "A" in all pages (not
>> templates) with say string "B" without opening page by page? Imagine
>> a product name has changed and the whole website with all occurences
>> of the old product name should be revised.
>>
>> Thanks, Lars
>> ______________________________________________________________________
>> Lars Martin                             mailto:Lars.Martin at smb-tec.com
>> SMB GmbH                                        http://www.smb-tec.com
>> D-04347 Leipzig                                    Rohrteichstrasse 18
>> Tel: +49-(0)341-699 46 04                    Fax: +49-(0)341-699 47 04
>> Produkt-Manager Business Server BS1          Produkt-Manager CADDA.NET
>>
>>
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please 
>> visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>>  
>>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list