bboschecker - check for new blackberry device OS versions (open source, php)
Update = version 0.2 released, new thread here:
http://www.blackberryforums.com/gene...d-checker.html === Today I whipped up some PHP code that will scrape the OS downloads page from the FAQ (BlackBerry Operating System Downloads - BlackBerryFAQ) and do all the hard work of finding OS releases for your device. The code is released under the GPLv2, fixes and additions welcome. PM me, post here, whatever - so long as you abide by the spirit and law of the GPL license. :) Open Source for the win. Download: Index of /code/ (click on ZIP file to download) NOTE: an online, working version of this is NOT provided, it might lead to abuse of the RIM download servers if a kabillion people try and use it at once. You need to download and run on your own webserver (which isn't hard, it's one whole PHP file with nothing to configure - it either works or it doesn't). If you want to run this on Windows you will need to change one setting at the top (location of a temp file to store web cookies). The quick one-two punch: simply load the PHP script in your Firefox from your PHP webserver and you're greeted with this: http://i172.photobucket.com/albums/w...epop/boc_1.jpg Put in your device model desired and click Search, let it crank and it looks like this: http://i172.photobucket.com/albums/w...epop/boc_2.jpg See an OS you'd like to read more about, just click on the provided carrier link and you're off and running! It couldn't be more simple to use. If it feels "slow" loading each carrier page, this is on purpose! I built in a one second (configurable) pause between each page fetch from the RIM servers. It is in our best interest to fly under the radar and not abuse RIM's servers with a tool like this. It is highly suggested you do not lower this value - in fact, increase it if possible on your server. TODO: add the ability to specify the network type (i.e. search CDMA only), currently the way the line breaks are in the FAQ page code would make this harder than the 10 minutes I want to spend coding it. :) Blog post: bboschecker.php - check BlackBerry device OS releases « rivviepop phantom |
Here's the code in a standard 'code' block here on the forum, in case you just wanna read it and stuff. ph34r my PHP skillz. :)
bboschecker.php PHP Code:
|
The download link on your blog takes me here....
Free Hostia: domain hosting and web hosting service I just copy pasted code from your second post. |
Quote:
|
Excellent idea, looks great.
Glad to see you placed a pause between page fetches. Respect is always good. Thanks Rivviepop (y) |
cant this find os 4.3?
|
Wirelessly posted (BlackBerry8700/4.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/100)
Sweeet rivvie Nice work! |
since I don't know much about php and/or setting up web pages I never figured out how to run this....yep, I'm a newbie in this dept.
|
Quote:
Nice work Rivvie! |
Quote:
The one feature which it uses is the 'cURL' stuff; this *might* not be pre-compiled in on all instances which could be a stumbling block. It's part of PHP that hooks in to an external library, you'll have to look at your server (or even desktop, this could run under a basic setup) to find out yes or no. cURL is an advanced HTTP program/library that offers features which I use. |
Oh, dear....I'm going to have to go back to school.
You're so far over my head I've got Athlete's Scalp! |
Quote:
:) |
Nice work rivvie, I was wondering when someone might do this
|
Quote:
Nice work, BTW. |
i use this quite frequently. i appreciate your time making it. if you dont mind i have a few questions/problems i was wondering if you could help me out with.
when i run it and type 8830 or 8130 or 7103 it shows a whole list of vendors and their OS, but it misses out on Verizon Wireless. Why is that? Something overlooked someplace? :( |
Quote:
Look at this page: BlackBerry Operating System Downloads - BlackBerryFAQ All the ones with a yellow lock icon are hosted on RIM, all the ones with a little blue box and up-right arrow are hosted on a unique carrier server, not supported. You could, with some work, take my code and extend it to know the format of Verizon's site and include entry fields for the phone number; I however have no desire to work on this featureset. |
what if we don't have a web server..
Can't this program operate as a stand alone app on ones PC or mac? or the handheld itself? |
Quote:
I don't have apache or windoze server 2003 to install php on. How many people would really abuse this? |
Quote:
|
Quote:
Quote:
|
All times are GMT -5. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.