Log In
New Account
Home My Page Project Cloud Code Snippets Project Openings www2sms
Summary News SCM Files Wiki

Front Page

For all those who want to know how to add new providers to www2sms:

  • All providers are in the file "www2sms_provisers.py"
  • Every provider is a own class
  • The class must return two parameters 1) True or False 2) Text to show the user

Take a look at Python Mechanize http://wwwsearch.sourceforge.net/mechanize/

To easily find forms and values, install the Firefox "Web Developer" plugin: https://addons.mozilla.org/en-US/firefox/addon/60/

Now take the class for Vodafone.nl in www2sms_provisers.py as a template for your own class.

REMEMBER: python-mechanize can't cope with JavaScript? or Flash. You have to manually do what the JavaScript? would have done (See o2online.de-Class).

Feel free to extend this Wiki as you make progress.

Happy hacking.

(last edited May 22, 2010) - Read Only [info] [diff])
FindPage by browsing or searching
5 best incoming links: TextFormattingRules (8), RecentChanges (2), TestPage (1)
5 best outgoing links: JavaScript (3)
5 most popular nearby: JavaScript (153), RecentChanges (116), TestPage (114), TextFormattingRules (98)

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment