⇤ ← Revision 1 as of 2001-01-08 16:17:55
Size: 2137
Comment:
|
← Revision 2 as of 2008-06-26 09:50:36 ⇥
Size: 2137
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
||["action/SpellCheck.py"]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| | ||[[action/SpellCheck.py]]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| |
Line 12: | Line 12: |
||["action/limitedsearch.py"]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| | ||[[action/limitedsearch.py]]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| |
Line 14: | Line 14: |
||["action/mailchanges.py"]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| | ||[[action/mailchanges.py]]||Christian Bird||chris.bird@lineo.com||0.8||N/A|| |
Line 25: | Line 25: |
How about changing ["action/mailchanges.py"] so that it uses the python smtplib rather than the system mail program? A snippet to do the mailing is as follows: {{{ | How about changing [[action/mailchanges.py]] so that it uses the python smtplib rather than the system mail program? A snippet to do the mailing is as follows: {{{ |
Offers
This is a marketplace for your actions. Please state your name, your email, and the release your macro is developed for (if you used a CVS snapshot, also state the revision number).
Use a special pagename ["action/YourAction.py"] and start your macro with the line
#format python
This way, the action can directly be put on the page without any modification, and as easily copied from that page. See the examples below.
Macro |
Author |
Release |
Revision |
|
Christian Bird |
0.8 |
N/A |
||
|
This is a modification to Richard Jones' Spell Check action, but this allows to easily add words via an input field |
|||
Christian Bird |
0.8 |
N/A |
||
|
This is an action called by the LimitedSearch macro that allows searches within a limited portion of the wiki |
|||
Christian Bird |
0.8 |
N/A |
||
|
This is a python module to place in your MoinMoin directory that allows anyone to easily subscribe to changes on any page |
These actions only become available when Jürgen places them on his system. They should appear at the bottom of each page.
Requests
If you are not familiar with Python and/or the MoinMoin code base, but have a need or an idea for an action, this is the place to ask for it. Someone might find it useful, too, and implement it.
How about changing action/mailchanges.py so that it uses the python smtplib rather than the system mail program? A snippet to do the mailing is as follows:
import smtplib msg = """From: user@anywhere.com To: you@someplaceelse.com This is a test of the python broadcasting system. This is only a test. """ fromaddr = 'me@anywhere.com' toaddr = 'you@someplaceelse.com' server = 'smtp.anywhere.com' server = smtplib.SMTP(server) server.set_debuglevel(1) server.sendmail(fromaddr, toaddr, msg) server.quit()
This is just a quick example but I think it would be easy to put in. -- BruceDurling