|
2010-05-18
, 11:03
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#52
|
Hooray! It works :-)
Thank you all for your help and especially to Bjoern for this very appreciated programm!
Some feature requests:
1) Check for leading + in phone numbers.
re.match('^(\+[1-9][0-9]+)|(0[0-9]+)', num)
re.match('^(\+[1-9][0-9]+)', num)
2) Check for phone is online or not and go temporarily online if not.
Thanks again,
nexus
|
2010-05-18
, 11:59
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#53
|
Lol..that's a bad news Unfortunatelly my sms provider is not supported so...I'm some steps behind you
|
2010-05-18
, 12:07
|
Posts: 190 |
Thanked: 129 times |
Joined on Mar 2010
@ Bavaria, Germany
|
#54
|
Oh, i don't think we are direct competitors, cause my approach is to scrape the website instead of using a API provided by some service. ;-) This might come in handy if there is no API present for a certain provider.
But well... the providers are modular, so how a provider is interfaced does not matter to my program, it just relies on some variables passed back from the provider class.
Thank you very much for the link! I appreciate it very much! If I, with my average python/QT skills, can help out let me know.
Cheers
Bjoern
|
2010-05-18
, 12:37
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#55
|
Unfortunately we are. The basic idea is the same and I also use the o2 Germany's site because there is no programming interface.
|
2010-05-18
, 12:42
|
Posts: 16 |
Thanked: 1 time |
Joined on Jan 2010
|
#56
|
Mhh, do you have some programing skills? If yes, it should be no problem for you to adapt the "Vodafone - NL" class in www2sms_providers.py
Don't get disturbed by the "o2online - germany" provider class, I was a bit over ambitious and implemented all the features on their website (okay... scheduling is not yet working)
Cheers
Bjoern
|
2010-05-18
, 15:40
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#57
|
Mh I used to write in othe languages when I was younger...so..I can try!! I'll keep you up-to-date!
[2010-05-18 18:36:43] www2sms 1.0.1 has been queued for loading into fremantle extras-devel repository
www2sms (1.0.1) stable; urgency=low
* Stripped down the loaded QT modules to a bare minimum
* Fixed bug where the send Button was enabled without having an account
* Fixed regex check for o2online DE
* Added python-evolution to the dependencies
* Fixed crash for contacts without name, familyname or alias
* Known Bugs: Planing SMS does not work (o2online.de only) -> Disabled
* Known Bugs: Special characters (like Umlaute) vanish in the send SMS
|
2010-05-18
, 16:00
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#58
|
|
2010-05-18
, 16:05
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#59
|
I'm not trying to put a downer on this, but has anyone considered whether this kind of screen-scraping app is compatible with the various providers terms and conditions for their websites? They may prefer people going via their websites so they can show you adverts etc., and may not take kindly to this kind of app.
I only mention it because sometimes when sites find out about screen scraping they try and block it by user agent, or by obfuscating their HTML code, etc., which obviously is a hassle to work around.
|
2010-05-18
, 17:37
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#60
|
The Following User Says Thank You to blubbi For This Useful Post: | ||
Thank you all for your help and especially to Bjoern for this very appreciated programm!
Some feature requests:
1) Check for leading + in phone numbers.
2) Check for phone is online or not and go temporarily online if not.
Thanks again,
nexus