473,320 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Email "portal" in Python?

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
Jul 18 '05 #1
5 1708
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...dler.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
Jul 18 '05 #2
On 7 Nov 2004 20:19:56 -0800, Peter Clark <pc***@yahoo.com> wrote:
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: ca********@gmail.com
mail: ca********@yahoo.com
Jul 18 '05 #3
pc***@yahoo.com (Peter Clark) wrote in message news:<f7**************************@posting.google. com>...
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/atlantib...thonutils.html
Jul 18 '05 #4
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.

Peter Clark wrote:
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

Jul 18 '05 #5
[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
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/atlantib...thonutils.html

Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: pom | last post by:
What dynamnic open-source content management system(s) would you look at to meet the following specific situation? - The requirement is for a large institutional client who wishes to build a...
1
by: gcash | last post by:
I'm doing stuff using COM to automate IE, for some boring repetitive portal tasks I have to do. Anyway, every so often I'll make some sort of error and things will crash, and I'll have to do...
1
by: Winterminute | last post by:
If I try to make any changes to the ASP.NET Portal Starter kit it fails with an access denied error. This was working when I left last week and is failing today. I don't remember changing...
5
by: Kamil Tezduyar | last post by:
I want to create a team to develop a web portal framework. The main purpose of this framework is reusing this in many projects. The major idea in my mind it, building it as much as flexible. We...
2
by: Fabian | last post by:
Hi, I work with asp.net 2.0 and I have a intermittent error, only happens a few times a day. In the page I evaluate a Query String and then I get data form a database. The code snipped: ...
3
by: TCB | last post by:
Hi, There are a couple of things that are bothering me, any help on these is greatly appreciated. This is using ASP.NET 2.0 1. I am sending email in my web app, using a simple form here is the...
13
by: Kobee | last post by:
Hi, I'm having a few issues adapting to new 2.0 "website" project vs. the old 1.1 "web application". One of the major issues I'm having is with the notion of namespaces. Using the old way, I...
0
by: ajloren123 | last post by:
I´ve been working over the EPCM.subscribeEvent I´ve included all the raised events collected from the javascripts. The completed code looks like this: //Subscribe the events from portal ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.