Discussion:
ezmlm-browse 0.10 whining
Russell Nelson
2005-08-14 01:22:04 UTC
Permalink
Hmmm..... Debian Sarge doesn't install a python2 executable. It only
installs python and python2.3. So the makefile fails.

Also, http://untroubled.org/ezmlm-browse/ doesn't mention that
bg-sysdeps is a requirement.

Also, that web page says "template drive" when it should probably say
"template driven".

Also, if you want to see what it looks like:
http://dsbl.org/cgi-bin/ezmlm-browse.cgi

Also, while I'm whining, Google doesn't search dynamic pages. Neither
does it search into http://www.crynwr.com/cgi-bin/ezmlm-cgi/index.
Thus, ezmlm-browse needs to have a "stealth" mode, wherein it exposes
each email once and only once, and links to it from the Thread index
and Date index.

Also, if whining is True:
I may as well make it work under ModPython at the same time.
--
--My blog is at blog.russnelson.com | In a democracy the rulers
Crynwr sells support for free software | PGPok | are older versions of the
521 Pleasant Valley Rd. | +1 315-323-1241 | popular kids from high
Potsdam, NY 13676-3213 | | school. --Bryan Caplan
Bruce Guenter
2005-08-14 02:54:34 UTC
Permalink
Post by Russell Nelson
Hmmm..... Debian Sarge doesn't install a python2 executable. It only
installs python and python2.3. So the makefile fails.
Any suggestions how to resolve it? Assume that "python" is python v2?
Post by Russell Nelson
Also, http://untroubled.org/ezmlm-browse/ doesn't mention that
bg-sysdeps is a requirement.
Whoops. I could have sworn I had added a note about that after somebody
else got bit. Sorry.
Post by Russell Nelson
Also, that web page says "template drive" when it should probably say
"template driven".
DOH.
Post by Russell Nelson
http://dsbl.org/cgi-bin/ezmlm-browse.cgi
http://lists.untroubled.org/ is also an example.
Post by Russell Nelson
Also, while I'm whining, Google doesn't search dynamic pages. Neither
does it search into http://www.crynwr.com/cgi-bin/ezmlm-cgi/index.
Thus, ezmlm-browse needs to have a "stealth" mode, wherein it exposes
each email once and only once, and links to it from the Thread index
and Date index.
Are the thread and date indices not also "dynamic pages", which by the
same logic would not get searched? I don't see how this would help.
Post by Russell Nelson
I may as well make it work under ModPython at the same time.
What needs to be done to facilitate this?
--
Bruce Guenter <***@untroubled.org> http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA 2E2A E96F B2DC 6999 80E8
Russell Nelson
2005-08-16 21:29:03 UTC
Permalink
Post by Bruce Guenter
Post by Russell Nelson
Hmmm..... Debian Sarge doesn't install a python2 executable. It only
installs python and python2.3. So the makefile fails.
Any suggestions how to resolve it? Assume that "python" is python v2?
Check sys.version_info[0] to make sure that it's 2 or greater?
Post by Bruce Guenter
Post by Russell Nelson
http://dsbl.org/cgi-bin/ezmlm-browse.cgi
http://lists.untroubled.org/ is also an example.
DOH.
Post by Bruce Guenter
Post by Russell Nelson
Also, while I'm whining, Google doesn't search dynamic pages. Neither
does it search into http://www.crynwr.com/cgi-bin/ezmlm-cgi/index.
Thus, ezmlm-browse needs to have a "stealth" mode, wherein it exposes
each email once and only once, and links to it from the Thread index
and Date index.
Are the thread and date indices not also "dynamic pages", which by the
same logic would not get searched? I don't see how this would help.
Well, I've gotten a start on what I want:

http://archives.linmodems.org/

It doesn't format the emails in a pretty manner, and doesn't have a
thread index, but there is one and only one URL for each email, and
doesn't "look" like CGI.
Post by Bruce Guenter
Post by Russell Nelson
I may as well make it work under ModPython at the same time.
What needs to be done to facilitate this?
It's not terribly hard to use ModPython. The most serious pain in the
butt is that you have no control over the current directory, so all
filenames have to be absolute. You can see how I did it here:

http://archives.linmodems.org/archives.py

The Apache configuration looks like this:

<VirtualHost 192.203.178.3>
ServerName archives.linmodems.org
DocumentRoot /var/www/archives.linmodems.org
</VirtualHost>

<Directory "/var/www/archives.linmodems.org">
SetHandler python-program
PythonHandler archives
</Directory>
--
--My blog is at blog.russnelson.com | In a democracy the rulers
Crynwr sells support for free software | PGPok | are older versions of the
521 Pleasant Valley Rd. | +1 315-323-1241 | popular kids from high
Potsdam, NY 13676-3213 | | school. --Bryan Caplan
Loading...