Email "portal" in Python?

P

Peter Clark

Think of something like MyYahoo: a personalized portal with news
aggregator, weather forecast, comics, etc. Now instead of visiting a
web site, think of all of it being sent daily as an email. It does
have a web interface, but mostly for selecting your content: this is
my location for weather, these are the news feeds I'm interested in,
these are the comics I like, save my preferences, and the server takes
care of the rest. Does such a thing exist? (Even in other non-Python
languages?) I've tried Freshmeat, and the other usual sources, but so
far, nothing. If there isn't any such creature, I'll write my own, but
I wanted to first check that I'm not re-inventing the wheel.

Thanks,
:peter
 
R

roderik

I've posted this question on the mod_python mailing list but didn't get
much response, so I thought I'd post it here.

It seems to me that for each path element in a URI a mod_python handler
will be invoked. This applies to PythonAuthenHandler,
PythonHeaderParserHandler and so on.

Since I'm making a database request in my PythonAuthenHandler, this
quickly becomes a problem.

Example:
http://lucene.moonspawn.scanmine.com/ =>
AuthenHandler::authenhandler called: 1
index got called once

http://lucene.moonspawn.scanmine.com/SearchHandler.py/search =>
AuthenHandler::authenhandler called: 1
AuthenHandler::authenhandler called: 2
/search got called once

http://lucene.moonspawn.scanmine.com/search.html => (using mod_rewrite)
AuthenHandler::authenhandler called: 1
AuthenHandler::authenhandler called: 2
AuthenHandler::authenhandler called: 3
/search got called once

I get the same behavior on three separate installations

So, either I've got a miss-configuration which results in multiple calls
to handlers or.., this is expected behavior, and there is a technique to
avoid this or..., this is expected and, for reasons that escapes me,
desired behavior.

I'd greatly appreciate any help and suggestion

regards

/rune
 
C

Carlos Ribeiro

Think of something like MyYahoo: a personalized portal with news
aggregator, weather forecast, comics, etc. Now instead of visiting a
web site, think of all of it being sent daily as an email. It does
have a web interface, but mostly for selecting your content: this is
my location for weather, these are the news feeds I'm interested in,
these are the comics I like, save my preferences, and the server takes
care of the rest. Does such a thing exist? (Even in other non-Python
languages?) I've tried Freshmeat, and the other usual sources, but so
far, nothing. If there isn't any such creature, I'll write my own, but
I wanted to first check that I'm not re-inventing the wheel.

What you are looking for is a *good* content management system,
integrated with a mailing list manager. Perhaps there is something
along these lines for Zope/Plone, but even if it exists, you'll
probably need to customize it heavily.

--
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: (e-mail address removed)
mail: (e-mail address removed)
 
M

Michael Foord

Think of something like MyYahoo: a personalized portal with news
aggregator, weather forecast, comics, etc. Now instead of visiting a
web site, think of all of it being sent daily as an email. It does
have a web interface, but mostly for selecting your content: this is
my location for weather, these are the news feeds I'm interested in,
these are the comics I like, save my preferences, and the server takes
care of the rest. Does such a thing exist? (Even in other non-Python
languages?) I've tried Freshmeat, and the other usual sources, but so
far, nothing. If there isn't any such creature, I'll write my own, but
I wanted to first check that I'm not re-inventing the wheel.

Thanks,
:peter

I don't think you'll find anything (although I'd love to be proved
wrong).

I've nearly completed a 'login module' for use with Python CGIs. It is
very easy to use (simplest use add three lines of code to the start of
your script - user is then required to login). It has built in support
for saving user preferences. It *will* feature full admin screens and
optional client side javascript encryption for secured password
transmission. (It's done - just needs glueing together). It uses
cookies and adding 'session persistence' would be very easy.

I'd love to work on Python CGI frameworks for this sort of project -
preferably in a modular way.

You can see a quick example of what I've done so far at :
http://www.voidspace.org.uk/cgi-bin/jalopy/jalopy.py

(This is an online Content Management System that allows editing and
creating of webpages using the Kupu WSYWIG editor). It only implements
login and logout - but the infastructure behind it is quite complete.

I'd like to see a nice Webamil application etc using python
(preferably straight CGI) - and would like to find people to work
with. We would probably benefit from using a framework like Quixote,
but I haven't quite got around to learning it......

If you are itnerested then email me ( mike AT pcbloes DOT com) or if
you would liek to go alone but are still interested in just the login
stuff then also email me.

Regards,


Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
L

Larry Bates

What you are describing is Zope (perhaps with Plone add-on).
As with any "powerful" application framework it will require
you to customize it for your purposes.

www.zope.org
www.plone.org

Larry Bates
Syscon, Inc.
 
M

Michael Foord

[snip..]
If you are itnerested then email me ( mike AT pcbloes DOT com) or if

oops... that should read mike AT pcblokes DOT com opf course....

Fuzzy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,211
Messages
2,571,092
Members
47,693
Latest member
david4523

Latest Threads

Top