updates multilang download parser thingy

2004-08-04 Thread Wim Vandersmissen
Hi,

Here something to make life a bit easier when downloading the packages for
other languages.

Invoked as follows

perl msparse.pl link-to-microsoftdownload where to put it

The link-to-microsoftdownload has to be 
http://www.microsoft.com/downloads/details.aspx?FamilyId=somthingdisplaylang=en 

e.g. for the MS04-25 update

[EMAIL PROTECTED]:~/un$ perl msparse.pl 
http://www.microsoft.com/downloads/details.aspx?FamilyId=06F49985-F19F-4B50-A75F-7636D8BEE576displaylang=en;
 updates/ie6sp1

Gives this output.. with the dos ^M included ;)

:: 
URL|ARA|http://download.microsoft.com/download/2/8/2/282d8ce0-dd2c-4c22-b013-8ca07075dd61/IE6.0sp1-KB867801-x86-ARA.exe|updates/ie6sp1/IE6.0sp1-KB867801-x86-ARA.exe
:: 
URL|CSY|http://download.microsoft.com/download/0/6/a/06a9fb86-d076-4e62-94f8-2bbbe19bf943/IE6.0sp1-KB867801-x86-CSY.exe|updates/ie6sp1/IE6.0sp1-KB867801-x86-CSY.exe
:: 
URL|DAN|http://download.microsoft.com/download/8/c/6/8c687181-35ba-4a6f-8a23-fa9fe7b8c186/IE6.0sp1-KB867801-x86-DAN.exe|updates/ie6sp1/IE6.0sp1-KB867801-x86-DAN.exe
... etc..

--Wim



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


updates multilang download parser thingy (with attach)

2004-08-04 Thread Wim Vandersmissen
Forgot the attach -doh-

--Wim


msparse.pl
Description: Perl program


Re: minor problem with find-boot-device

2004-08-04 Thread Steffen Kaiser
On Tue, 3 Aug 2004, Patrick J. LoPresti wrote:
Hello Pat,
Look under /sys/firmware/edd/int13_dev80.  See if the data there
matches SATA device number 1, number 2, or both.
If your machine has a modern BIOS, there should be files named
host_bus and interface which uniquely identify the drive.  If not,
There are such files for the normal IDE drive, but not for the SATA disks.
we fall back to using the disk size (sectors).  If you have identical
disks on the two SATA channels, then the size is not a sufficient
The two disks are 100% identical, I do not see no difference in both 
folders, except some mbr_signature in int13_dev80. Also the contents of 
all the data is the same. Even the BIOS does not make it easy to 
distinguish between both channels - you see what you've selected by what 
is booted ;-)

It amounts to this.  If there is enough information under
/sys/firmware/int13_dev80 to distinguish the device, then we should be
doing so.  If, on the other hand, int13_dev80 does NOT correspond to
your boot device, that would be interesting as well...
I'm trying to find someone, who has another SATA drive laying around or 
some IDE-to-SATA adaptor, so the information is not identical.

Bye,
--
Steffen Kaiser
---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


Re: updates multilang download parser thingy

2004-08-04 Thread Niels S. Richthof
Hi Wim!

 don't forget to escape the :

Sorry, I've overlooked the . With them it works without escaping.

cu
Niels


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


Re: updates multilang download parser thingy

2004-08-04 Thread Wim Vandersmissen
On Wed, Aug 04, 2004 at 02:44:56PM -0400, Patrick J. LoPresti wrote:
 Wim Vandersmissen [EMAIL PROTECTED] writes:
 
  perl msparse.pl link-to-microsoftdownload where to put it
  
  The link-to-microsoftdownload has to be 
  http://www.microsoft.com/downloads/details.aspx?FamilyId=somthingdisplaylang=en 
 
 Ah, screen scraping.  Very cool!
 
 In fact, it is so cool that I think we should rewrite prepare in
 Perl and incorporate your logic.  Then most of the URL download
 comments could be generic.  Something like this:
 
 :: 
 URL|generic|http://www.microsoft.com/downloads/details.aspx?FamilyId=somthingdisplaylang=en|updates/ie6sp1
 
 Then we could eliminate most of the comments with direct download
 locations.
 
 Of course, this presupposes we have someone willing to maintain the
 screen-scraping logic should Microsoft change the format of their
 pages.  What do you think?

Sounds good, the only problem is that you don't know if Microsoft changes
the FamilyId thing or not. But ofcourse we have the same problem now with
the direct download URLs.

 Not for this release, though :-).

Hehe
/me starts coding ;)

--Wim


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


Re: updates multilang download parser thingy

2004-08-04 Thread Shad L. Lords
Of course, this presupposes we have someone willing to maintain the
screen-scraping logic should Microsoft change the format of their
pages.  What do you think?
Sounds good, the only problem is that you don't know if Microsoft changes
the FamilyId thing or not. But ofcourse we have the same problem now with
the direct download URLs.
This also assumes that microsoft wont change their naming convention or make 
some of the download use en instead of enu.  But, we can work around those 
as they come up.

-Shad 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel