Interesting idea there. Always like innovation. :-) It is risky to go directly to that URL though, because it has been known to change, sometimes without warning, to a completely different one. The safest way to do this would be to get that address from a Frame tag at http://www.dlee.org and then go to that. Pseudo code that looks suspitiously like Python:
url = "http://www.dlee.org/skype/" lines = urllib.urlopen(url).readlines() for line in lines: if "<frame src=" in line: url = line.split('="', 1)[1] url = url.split('"', 1)[0] lines = urllib.urlopen(url).readlines() break # process lines as before. I did not test that code btw. Other than that, it sounds like your approach should continue to work as long as I maintain the incremental update strategy I adopted a few months ago, wherein I have occasional version code changes but more frequent replacement updates. At this time, I believe I'll keep that structure in effect for a while. On Fri, Feb 25, 2011 at 08:19:18PM +0100, Hrvoje Kati?? wrote: Ok here's how program works: 1. It connects to http://kirk.dlee.org:13380/skype/skype5.php. The reason why it doesn't connect to www.dlee.org/skype is because in this case no required data will be retrieved by WebClient class. 2. Next, it searches for first heading at level 2 containing string "Revision XXX", which shows the current version (for example "Revision 52a"). 3. Last, it searches for first heading at level 3 which contains string "Revision XXX", which shows the latest revision (for example "Revision 640"). 4. Then it downloads the file depending on user's selection from the url http://kirk.dlee.org:13380/skype/jfw-skr"... The rest of a string is "_nsi.exe", ".exe" or ".zip", depending on user's selection. Best regards, Hrvoje ____________________________________________________________________________________________________ Mobile: +385989590464 E-Mail: [email protected] MSN: [email protected] Skype: hrvojekatic Twitter: @HKatic Facebook: www.facebook.com/jukebox2009 Klango: DJ_Jukebox On 25.2.2011 17:18, Doug Lee wrote: >I don't change the site design much, but what are you depending on, >and does your tool help with both the in-place updates we've had with >5.0b and 5.2a and the new-release updates that occur when I change the >version code? > >On Fri, Feb 25, 2011 at 09:15:41AM +0100, Hrvoje Kati?? wrote: >Hi all, > >Although my work is primarily focusing on SkypeTalking, I've developed >a small program for users who are running JAWS scripts for Skype in >combination with or without SkypeTalking. This program will allow you >to check for, download and install the latest scripts revision from >Doug Lee's Website. It'll work as long as the website design is not >changed by the maintainer. >The instructions are provided with the program. Here's just the most >important thing that you need to know: >I wrote this program in C# 3.0 (pronounced C Sharp), for smaller size >and higher speed. This means, if you are still on Windows XP, you have >to install .Net Framework 3.0 or later for this application to run >successfully. If any of you was playing Monopoly from RSGames, you >probably already have .Net Framework installed, and also if you were >using some other apps that require this thing. >Windows Vista and 7 users don't have to care about this. Vista users >can install .net Framework as an additional component, while in >Windows 7 it's built-in to core of the OS. >For other information, see the readme.txt file in a package. > >Download it here: >http://dl.dropbox.com/u/4078384/JawsSkypeScriptsUpdater.zip > > > > > Thanks for posting to the skype english list. to contact skype support wiht any questions regarding your account email [email protected] To access scripts for the latest version of skype go to http://www.dlee.org/skype To access tutorials and other goodies go to http://www.marrie.org/skype/skype.html To contact the list owner send a message to mailto:[email protected] to download a tool to automate the installation of skypewatch go to this link. http://www.hrvojekatic.tk/ and for a searchable archives page go here. http://bit.ly/64Y48 thanks and have a wonderful day. _______________________________________________ Skypeenglish mailing list [email protected] http://emissives.com/mailman/listinfo/skypeenglish_emissives.com -- Doug Lee [email protected] http://www.dlee.org SSB BART Group [email protected] http://www.ssbbartgroup.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius Thanks for posting to the skype english list. to contact skype support wiht any questions regarding your account email [email protected] To access scripts for the latest version of skype go to http://www.dlee.org/skype To access tutorials and other goodies go to http://www.marrie.org/skype/skype.html To contact the list owner send a message to mailto:[email protected] to download a tool to automate the installation of skypewatch go to this link. http://www.hrvojekatic.tk/ and for a searchable archives page go here. http://bit.ly/64Y48 thanks and have a wonderful day. _______________________________________________ Skypeenglish mailing list [email protected] http://emissives.com/mailman/listinfo/skypeenglish_emissives.com
