Re: link sanitizer

<VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Tejaswi) Tue, 11 May 2004 11:19:05 -0400
Newsgroups gmane.org.misc.vasudeva-server.web
Message-ID <[email protected]>
Hi
I am unable to verify whether or not this works do my own lack of 
expertise :).

Dhyani, can you please have a look at this issue and verify that it 
works for you so that we can look at pushing it live?
Thanks
Tejaswi



  (Tejaswi) wrote:
> hi Medur
> can you call me about implementing the sanitizer?
> thanks
> Tejaswi
> 
> (Medur) wrote:
> 
>> Those wishing to test the link sanitizer kindly consider the following:
>>
>> Attached is an export file (usr.zexp) to be imported into your local 
>> zope.  This import contains the zope objects necessary to run the link 
>> sanitizer.
>>
>> Setup:
>> 1. Checkout from the repository the contents of depot/vsaUtils. Please 
>> note that this is not a Product - it is a package of interdependent 
>> python modules.  These files should be set into a folder which is a 
>> sibling to the vsa folder in the repository.
>>
>> 1. adjust your zope.conf file to contain the following lines:
>>
>> # Directive: path
>> #
>> # Default: $INSTANCE/lib/python
>> #
>> # Example:
>> #
>> #    path $INSTANCE/mypymodules
>>
>> path <***path to vsaUtils Directory***>
>> path <***path to vsaUtils Directory***>/fn
>>
>> # Directive: products
>>
>> where <***path to vsaUtils Directory***> is the path to the vsaUtils 
>> directory which you checked out in line 1.
>>
>> 3. Place the contents of the Extensions.zip file into your Extensions 
>> directory of your plone instance.
>>
>> 4. Import the usr.zexp file into the root of your zmi.
>>
>> 5. Make sure you have a recent copy of the srichinmoyraces.org in the 
>> root of your zmi.
>>
>> 6. go to the folder:
>>  /usr/dev/000.024.PortSiteToPlone  in your zmi.  Adjust any settings 
>> in the 3 functions you find there.  i.e. log file , storage directory 
>> etc.
>>
>> 7. create or allocate an empty directory on your filesystem.
>>
>> 8. Place the domainmap.ini in there.
>>
>> 9. restart your zope.
>>
>> 10. run functions 15 16 and 17 in that order.
>>
>> 11. If everything went well then rerunning 15 will have no effect 
>> because all the links have been fixed.
>>
>> Medur
>>
>> Overview of the process.
>> Function 15 extracts the text property of all pages with links to the 
>> old srichinmoyraces.org sites into a series of numbered files 
>> (t*.txt).  Create or allocate an empty folder to contain these files. 
>> (e.g. c:\scraces\ etc).
>>   Function 16 repairs the broken or erroneous links and writes the 
>> corrected text to a new series of files in the same directory (f*.txt).
>>   Function 17 writes the corrected text back to nthe 
>> srichinmoyraces.org Plone site in your zope instance.
>>
>> Feel free to verify the results after each step.
>>
>> AYC
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------- 
>>
>> This message is sent to you because you are subscribed to the mailing 
>> list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.
> 
> 
> 
> --------------------------------------------------------------------------
> This message is sent to you because you are subscribed to the mailing 
> list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.


--------------------------------------------------------------------------
This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.