[Moin-user] email addresses of AdminGroup folk? map url to local file?

Thomas Waldmann tw-public at gmx.de
Sun Jan 28 07:46:39 EST 2007


> How would I get the email addresses of the people in the AdminGroup from
> within the Moin code?

get group member names (see wikidict.py)
find userid (user.py)
open user profile (make user object u, user.py)
u.email (or similar) is the mail address

> I'm working on a SpamBayes-based security policy and
> want to send the admin(s) the URL for a page which fails to pass muster with
> the SpamBayes scoring.

Maybe consider using superuser list members.

> Also, is it possible to (again, within the SpamBayes code) map a URL
> referring to a page in the wiki to a local file within the wiki or should I
> simply urlopen it to get its contents?

Maybe there is some code for that in request.py or 
converter/text_html_text_wiki.py.





More information about the Moin-user mailing list