473,804 Members | 3,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parsing and Rendering rfc8222

emf
Dearest mail manipulating macaques and perambulating python
prestidigitator s,

I have been blessed by the grace of Google and so am working full-time
on improving Mailman's web UI:

http://wiki.list.org/display/DEV/Summer+of+Code

In order to provide interfaces to archives, I believe I must perform
some intermediary manipulation; my goal is to get the information
contained within the .mbox files mailman generates into ElementTrees and
other objects so as to represent them via HTML/RSS/Atom/etc.

This is slightly out of scope for the web-UI project, as it is mostly
about data model rather than actual user interface.

In the interest of not reinventing the wheel, I'm looking for existing
python (or other!) code that does the things I need. I'm also putting
out a call for anybody who likes this sort of thing to help me out (see
below).

Here's where I'm at, grouped functionally:

* Need to convert rfc8222 to xml/html

I haven't found anything substantial via searching. My next step is to
go spelunking in MailManager code and other python-webmail packages. If
anyone knows good trees in this forest, please clue me in.

* Want to provide feeds (rss/atom/YourMommasSynta xFormat)

Right this second I'm planning on using pyfeed [1]; is there anything
else I should consider?

[1] http://home.blarg.net/~steveha/pyfeed.html

* mbox thread indexing on messages

I plan on using [2] to generate mbox thread indexes for rapid navigation
of lists. Any suggestions for more robust variants would be welcome;
feedback on how to handle threading for message-id-less messages would
also be welcome.

[2] http://benno.id.au/code/archiver/jwzthreading.py

* full-text indexing

pylucene seems to be the obvious choice; anything else I should
consider? Anyone know of good pylucene/web UI glue code out there?

(eg. something that leverages knowledge of the index to provide
suggested keywords/tag cloud and/or tab-completion)

As to help, I am first and foremost interested in someone willing to
write renderers as above and check it in to my branch.

I am also, however, interested in any advice, suggestions,
dear-gods-whatever-you-do-don't-do-x comments, critiques of what is
already checked in (zero python code, much html so far), pats on the
back or other goodies (snailmail address available on request ;)

I do ask that you send anything not related to my above question
directly to me, bypassing the list; I'd also humbly ask you to read the
wiki page before telling me I should do XYZ; I may already be doing it.

I'm not actually subbed to python-list because I lack the stamina, so
please cc: me on any follow ups.

Thank you for your generous assistance,

~ethan fremen

Jul 4 '06 #1
0 1163

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

Similar topics

6
3025
by: David Opstad | last post by:
I have a question about text rendering I'm hoping someone here can answer. Is there a way of doing linguistically correct rendering of Unicode strings in Python? In simple cases like Latin or Japanese I can just print the string and see the correct results. However, I don't know how to get Python to do the right thing for writing systems which require contextual processing. For example, let's say I create this Unicode string in Arabic: ...
6
1920
by: egg | last post by:
Dear Sir/Madam, I'm about to start a project, the idea is to have a web interface to let user specify the URL of a target HTML document, based on that URL, retrieved and parsed the HTML document using the DHTML object model exposed by ActiveX control WebBrowser, getting the position and dimension of each node inside the HTML document, processed it and pass the result back to the user as a new HTML document.
16
2911
by: Terry | last post by:
Hi, This is a newbie's question. I want to preload 4 images and only when all 4 images has been loaded into browser's cache, I want to start a slideshow() function. If images are not completed loaded into cache, the slideshow doesn't look very nice. I am not sure how/when to call the slideshow() function to make sure it starts after the preload has been completed.
3
3040
by: David Whitney | last post by:
All: I have a control that renders a table. As the table is rendered, each row in the table is constructed by creating a run-time (dynamic) object that is derived from an HtmlTableRow. The row has three HtmlTableCell objects, and each cell contains a single control added to the HtmlTableCell's Controls collection. The basic table renders correctly, but the controls within the HtmlTableCell objects do not; the cells are just empty. (Just...
9
1957
by: wardy | last post by:
I'm trying to undestand the impact of using content negotiation when rendering my Web pages to various different browsers as I would like to use the XHTML Strict DOCTYPE declaration. Reading the W3C guidelines, if I render as 'text/html' then there are some backward compatibility issues I need to worry about. Does this mean that the page must be rendered in one way if I use the "application/xhmlt+xml" content type and another if I use...
0
1430
by: Juan R. | last post by:
Since the idea of encoding mathematics using MathML is being very far from popular due to a number of factors -expensive tools, bad accesibility of generated code, unusual verbosity, lack of adequate support, special fonts, namespaces, special plugins, backward incompatiblity of MathML with other internet technologies, duplication of code, and others-, alternative encodings are spreading over the internet. Probably the most popular one...
3
2644
by: bruce | last post by:
Hi... got a short test app that i'm playing with. the goal is to get data off the page in question. basically, i should be able to get a list of "tr" nodes, and then to iterate/parse them. i'm missing something, as i think i can get a single node, but i can't figure out how to display the contents of the node.. nor how to get the list of the "tr" nodes....
1
1742
by: bruce | last post by:
Hi Paul... Thanks for the reply. Came to the same conclusion a few minutes before I saw your email. Another question: tr=d.xpath(foo) gets me an array of nodes.
7
1772
by: VC | last post by:
Hi I'm working on a web site with hard programming in Javascript. ?This web based application is intended to be used by bank workers who types very fast. The problem is: sometimes they type so fast that when they hit the ENTER key, the javascript related with this key is executed, but the <input TEXT...associated, that wasnt rendered yet. So we face the 'Object expected' error.
0
9706
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
9584
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
10337
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...
0
10082
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...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
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
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.