473,614 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1726
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 PythonAuthenHan dler,
PythonHeaderPar serHandler and so on.

Since I'm making a database request in my PythonAuthenHan dler, 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.co m> 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********@gmai l.com
mail: ca********@yaho o.com
Jul 18 '05 #3
pc***@yahoo.com (Peter Clark) wrote in message news:<f7******* *************** ****@posting.go ogle.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
1821
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 public portal consisting of annotated links to external materials in a particular subject area. - Links on the site will be to materials on separate servers offered through sites of organizations within the institution. There are maybe 2-3000...
1
2207
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 something like using task manager to kill Python and/or the IE instance. Then I'll reload pythonwin and get "LoadBarState failed due to win32 exception" and once I get this pythonwin will no longer work. It'll get all sorts of errors, the drop...
1
7031
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 anything, but I guess something had to be changed. I have checked NTFS permissions and the ASPNET account has full control on the parent directory of that XML file and on the file itself. I have also checked in IIS, and the Virtual Directory has...
5
2132
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 will create the framework with the combinations of the team members. This development will be online and we will use online source controls for both code, and documentation. I think 5 asp.net experienced team member is enough for this project. I...
2
3086
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: try {
3
1752
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 code: Dim MyMailFrom As New Net.Mail.MailAddress("portal@xxx.com", "Portal XX.com") Dim MyMailTo As New Net.Mail.MailAddress("info@xxx.com")
13
2294
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 could add a directory to my project (say, "Controls"), then add a user control to that directory. From an .aspx I could then import the namespace ("using .Controls";), and then reference that control. With the 2.0 way of doing things, if I add a...
0
5521
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 //Events raised by browser script+="//EPCM.subscribeEvent('urn:com.sapportals.portal:browser', '*',onGetEvent);\n"; //events raised by load or reload the page
0
8180
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8130
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8576
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8275
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8429
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5538
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4121
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1423
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.