Re: link sanitizer
<VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Medur) Tue, 11 May 2004 17:20:20 +0000
| Newsgroups | gmane.org.misc.vasudeva-server.web |
|---|---|
| Message-ID | <[email protected]> |
remember that relative links will only resolve to active pages on the site and not to the s_ files Medur On Tue, 11 May 2004 12:36:06 -0400 <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Priyadarshan) wrote: >Hi, > >Medur should sanitise a copy of the site (any copy will do) >on his local machine. > >Then you should test it, on his local machine, the way I did >it in the past (read my message) > >It does not make much sense to just look at the code. > >It is better for you to test it, since Medur said it works. > >Only you know well how the results are supposed to look like. > >priyadarshan > >On May 11, 2004, at 11:19, (Tejaswi) wrote: > >> 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>. >> Vasudeva Service home: http://www.vasudevaservice.com/ >> Browse list: >>nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web >> List archive: >> https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html >> ----------------------------------------------------------------------- >> --- >> > > >-------------------------------------------------------------------------- >This message is sent to you because you are subscribed to the >mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>. >Vasudeva Service home: http://www.vasudevaservice.com/ >Browse list: >nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web >List archive: >https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html >-------------------------------------------------------------------------- -------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.