[Zope] on ZCatalog

Andy McKay AndyM@ActiveState.com
Mon, 14 Aug 2000 13:35:35 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0092_01C005F4.86EFDE80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

You dont need to delete and then add back in the SiteRoot object, just alter
the url that is passed to ZCatalog.

--
     Andy McKay, Developer, ActiveState
     http://www.ActiveState.com
     Programming for the People


----- Original Message -----
From: tav
To: zope@zope.org
Sent: Monday, August 14, 2000 9:16 AM
Subject: [Zope] on ZCatalog


since ZCatalog refuses to work with SiteRoot (SiteAccess), i have thought of
implementing a temporary solution of making a dtml method which:

- deletes the SiteRoot object

- traverses the site for ZWiki pages to add to the ZCatalog

- adds the SiteRoot object back again

i am lost as to the dtml for getting ZCatalog to find and update all the
ZWiki pages... :/

also, can someone advise me on how often i should call this method... so as
to not cause too much strain on the machine

many thanks in advance

--
best regards, tav
http://plexnews.com

------=_NextPart_000_0092_01C005F4.86EFDE80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You dont need to delete and then add =
back in the=20
SiteRoot object, just alter the url that is passed to =
ZCatalog.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>-- <BR>&nbsp;&nbsp;&nbsp;&nbsp; Andy McKay, Developer,=20
ActiveState<BR>&nbsp;&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.ActiveState.com">http://www.ActiveState.com</A><BR>&nb=
sp;&nbsp;&nbsp;&nbsp;=20
Programming for the People</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Dtav@espnow.com href=3D"mailto:tav@espnow.com">tav</A> </DIV>
<DIV><B>To:</B> <A title=3Dzope@zope.org=20
href=3D"mailto:zope@zope.org">zope@zope.org</A> </DIV>
<DIV><B>Sent:</B> Monday, August 14, 2000 9:16 AM</DIV>
<DIV><B>Subject:</B> [Zope] on ZCatalog</DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
<DIV><FONT size=3D2>since ZCatalog refuses to work with SiteRoot =
(SiteAccess), i=20
have thought of implementing a temporary solution of making a dtml =
method=20
which:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- deletes the SiteRoot object</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- traverses the site for ZWiki pages to add to the=20
ZCatalog</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- adds the SiteRoot object back again</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>i am lost as to the dtml for getting ZCatalog to =
find and=20
update all the ZWiki pages... :/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>also, can someone advise me on how often i should =
call this=20
method... so as to not cause too much strain on the machine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>many thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>--</FONT></DIV>
<DIV><FONT size=3D2>best regards, tav</FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://plexnews.com">http://plexnews.com</A></FONT></DIV></BODY><=
/HTML>

------=_NextPart_000_0092_01C005F4.86EFDE80--