Re: [Zope] We get problems Zope is backed up!

2001-01-29 Thread Kevin Teague

>Does anybody have a solution for our big problem?

Heh-he. "Zope is backed up" makes it sound like Zope is a toilet in bad need
of a plumber.

Sorry, couldn't resist :)

> We are using Zope v2.2.4 running in Apache on a Linux-machine

Perhaps using the rsync technique here would make the back-ups happen
quicker (but probably not solve the problem):

http://www.zope.org/Members/jrush/howto_rsync_zope


Kevin Teague
http://www.bud.ca


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] My Add list is so full...

2001-01-16 Thread Kevin Teague

>> There are too many meta-type item in add list. Is is possible to
>> organize sublist of meta-type into  products sublist ?

> Well that doesn't help much, but at least your problem has a name now.

You can also call this problem "addbox pollution". There's a Local Factory
Product that might be able to help you out:

http://www.zope.org/Members/lalo/LocalFactory

I never successfully used this Product myself howver, I just accepted having
a large Add pop-up menu. Luckily the most popular objects "DTML Document"
and "DTML Method" sort right near the top of the add box. It'd be much worse
if digital creations had called it "ZTML".

Kevin Teague
http://www.bud.ca


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Marketing

2001-01-13 Thread Kevin Teague

On 1/13/01 12:30 PM, "Stephan Goeldi" <[EMAIL PROTECTED]> wrote:

>>> I searched on several sites for Zope Marketing products like
>>> e.g. high quality color PDF or slides, targeting management
>>> or marketing people.
>> 
>> Not a bad idea. I wouldn't mind having a go at it, can someone at
>> DigiCool send me a large version of the Z ball logo and the fonts used
>> by 'Zope'?
> 
> And if you could create a 'media' or 'press' directory on zope.org with all
> the PR and Marketing PDF Files, Zlogo etc. in it, it would be perfect.
> 

I'm not sure about the typeface they used, but there are some nice EPS files
of the Zope logo available at:

http://www.zope.org/Images/Logos.html

I've also put up a Zope image that I use for my Eterm background here:

http://www.zope.org/Members/kteague/


Kevin Teague
http://www.bud.ca


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Multiple servers on Zope?

2001-01-09 Thread Kevin Teague

> How can I create "multiple" web servers on Zope as in IIS?  We have a few
> domains that resolve to the same IP address. When a user accesses eg.
> www.geospace.co.za they must get to a different site than when they access
> www.triangletyre.co.za even though both addresses resolve to the same IP
> address.  In IIS you just create a new virtual web site that "responds" to
> the new domain name.  I am not using Zope through IIS and would actually
> like to get rid of IIS altogether.

You'll need to install the excellent SiteAccess Product to do virtual
hosting from within Zope (I used to use Apache with mod_rewrite to do the
virtual hosting, but it's much better to let Zope handle it).

http://www.zope.org/Members/4am/SiteAccess2

One caveat is that virtual hosting doesn't work cleanly with the Zcatalog.
This will be fixed in Zope 2.3, but if you aren't running 2.3alpha, and you
are using the Zcatalog, then you'll need this patch:

http://www.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix/FrontPage


Kevin Teague
http://www.bud.ca


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] rss

2000-12-13 Thread Kevin Teague

I'm setting up some rss feeds, and I've just used the Site Summary
product from here:
 
http://www.zope.org/Members/edmundd/SiteSummary

With Site Summary you can use the importRSS method to pull in a channel.
I use a modified version of this script running on a cron job to update
the rss channels:

http://www.zope.org/Members/phd/cron-zope/pack-db_fs

The script looks like this (it's still kind of hack-ish, but it works
:). My only problem now is to figure out how to have member preferences
handle a list of rss channels with the PTK.


#!/usr/bin/python

username="kteague"
password="**"
zope="http://www.evileggs.org/"

import sys, urllib, re

class NoGUIURLopener(urllib.FancyURLopener):
   def __init__(self, username, password, *args):
  apply(urllib.FancyURLopener.__init__, (self,) + args)

  self.username = username
  self.password = password
  self.asked = 0

   def prompt_user_passwd(self, host, realm):
  if self.asked:
 raise "Unauthorized"
  else:
 self.asked = 1
 return self.username, self.password


channel_id = ""
rss_url = ""

try:
f = open("channellist.txt")
except:
   print 'Could not open the channellist.txt file.'
lines = f.readlines()
f.close()

for line in lines:
if re.search('^\n$', line):
continue
m = re.search('(.*?)\s+(.*)', line)
try:
(channel_id, rss_url) = m.groups()
except:
print 'Can not properly parse line:\n%s' % (line)
continue
urllib._urlopener = NoGUIURLopener(username, password)
urllib.urlretrieve("%s/rss/%s/importRSS?url=%s" % (zope, channel_id,
rss_url))



==
And the 'channellist.txt' text file just has the Zope id's of the Site
Summary objects and the rss channel URLs, like so:


Advogato   http://www.advogato.com/rss/articles.xml
Linux.com   http://www.linux.com/mrn/front_page.rss


-- 
  Kevin Teague, Zopista
  http://www.stormix.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] score in ZCatalog search results?

2000-12-06 Thread Kevin Teague


> Can't seem to find word on this anywhere.  I wanted to put relevancy ranking
> into my ZCatlog search result hit-list, but am finding no info in searches
> of zope.org, ZDP, or mailing lists.

data_record_score_ is probably what you want. You could use it to do
something like:


id: 
score: 



Or for a more complex example, see this page:

http://www.stormix.com/search_website_results/view_source

--
  Kevin Teague, Zopista
  http://www.stormix.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] the day of zope headaches

2000-12-05 Thread Kevin Teague


> Zope has encountered an error while publishing this resource.
> 
> IOError
> 
> Sorry, a Zope error occurred.
> 
> such a very helpful message. this happened while reindexing the ZCatalog

View the HTML source for the error page - the Python traceback contained
in there will be more helpful. However, the last time I had an IOError
while re-indexing a ZCatalog was when Python was ran out of space in the
/tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit
Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py
on Debian systems) from:

attempdirs = ['/usr/tmp', '/tmp', pwd]

To: 

attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd]

-- 
  Kevin Teague, Zopista
  http://www.stormix.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Kevin Teague

Joachim Werner wrote:
> 
> I checked:
> 
> Zope 2.1.6 is shipped with the DeLuxe and Server versions of RedHat 7.0, but
> not with the Standard edition. They have split Zope into a couple of separate
> packages. On the web page they mention Zope a couple of times!
> 
> BTW:
> 
> Zope (also the 2.1.6) is also on the SuSE 7.0 (Professional) distribution. So
> Zope is now on most of the major distributions (RedHat, SuSE, Debian)!

We also included Zope 2.1.6 is also included in the new Storm Linux 2000
(which is based on Debian). We liked Zope so much, we put it on all of
our editions (Starter, Open, and Deluxe) :)

We also mention Zope on the list of included packages on the outside of
Deluxe box.

And we use Zope to power our web site:


-- 
  Kevin Teague, Zopista
  http://www.stormix.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Kevin Teague

Oops, hit ALT+Enter when trying to paste in the URL at the end of that
last message:

http://www.stormix.com/partners/technical/index_html

-- 
  Kevin Teague, Zopista
  http://www.stormix.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )