Notices


Reply
Thread Tools
Posts: 81 | Thanked: 10 times | Joined on May 2010 @ Germany
#51
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.
2) Check for phone is online or not and go temporarily online if not.

Thanks again,
nexus
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#52
Originally Posted by nexus101 View Post
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.
Oh, okay, i thought it worked with 0somthing or +something, so I have to revise my regexp check to only allow number with +something

Code:
re.match('^(\+[1-9][0-9]+)|(0[0-9]+)', num)
Needs to be changed to
Code:
re.match('^(\+[1-9][0-9]+)', num)
Originally Posted by nexus101 View Post
2) Check for phone is online or not and go temporarily online if not.

Thanks again,
nexus
I'll put that on my TODO list. Thanks for the hint.

Cheers
Bjoern
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#53
Originally Posted by MaRRo81 View Post
Lol..that's a bad news Unfortunatelly my sms provider is not supported so...I'm some steps behind you
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
 
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#54
Originally Posted by blubbi View Post
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
Unfortunately we are. The basic idea is the same and I also use the o2 Germany's site because there is no programming interface.
But www2sms is more stable I think
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#55
Originally Posted by gri View Post
Unfortunately we are. The basic idea is the same and I also use the o2 Germany's site because there is no programming interface.
Oh, then I misread your program description. I thought you were using some sort of public available API which is available for a bunch of services.

Originally Posted by gri View Post
But www2sms is more stable I think
Sure about that?

But while we are on it.
Why not merge our efforts? I guess we both could make larger steps forward when we work together instead of figuring out different ways to address web scraping. And one stable, well supported app is better then two unstable apps.

I am open for changes. How about you?

Cheers
Bjoern
 
Posts: 16 | Thanked: 1 time | Joined on Jan 2010
#56
Originally Posted by blubbi View Post
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
Mh I used to write in othe languages when I was younger...so..I can try!! I'll keep you up-to-date!
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#57
Originally Posted by MaRRo81 View Post
Mh I used to write in othe languages when I was younger...so..I can try!! I'll keep you up-to-date!
Let me know if I can help you.

By the way, version 1.0.1 should be in the DEVEL overlay in a few minutes.
[2010-05-18 18:36:43] www2sms 1.0.1 has been queued for loading into fremantle extras-devel repository
I'll attach the tar here as well.

CHANGELOG 1.0.0 -> 1.0.1:
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
Cheers
Bjoern
Attached Files
File Type: gz www2sms_1.0.1.orig.tar.gz (36.3 KB, 74 views)
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#58
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.
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#59
Originally Posted by pelago View Post
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.
Well, I didn't read the Terms in detail, but I could find a passage that permits it clearly. But in fact, you are right.

We will see.

Cheers
Bjoern
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#60
Hey, first attempts to insert the SMS into conversations are WORKING!

So I guess the next version will be with SMS insertion into conversation :-)

Just wanted to let you knwo
 

The Following User Says Thank You to blubbi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:05.