Tuesday, October 09, 2012

PDF Books from Wikipedia

Wikipedia is just brilliant.

One of the great features of this site, I liked was, the ability of combine a few pages of our interest and convert it to a PDF file. This can be used for either

  • later reading
  • sending to customer.

This blog post is showing how to create a PDF of some of our like minded pages. Let us say we need to create a PDF of some information on Storage Area Networking, Fibre Channel and SCSI.

Step 1.

1. Goto the page of Storage Are Networking

image

2. Choose Create a Book

image

3. Start Book Creator

image

5. Goto the next page on Fibre Channel Protocol

image

6. Add this page also.

7. Goto the SCSI page and add it as well. You should now be able to see 3 pages.

 image

8. Click on Show Book, and on the next screen enter the title.

image

9. On the right click on download

image

image

10. There are many formats to choose from. Let us say you choose PDF and Download.

image

Ultimately, you get a Download link. (Press F5 to refresh)

The book is ready a PDF file.

image

----------------------------------------------------------------------------

MD5

MD5 is or message digest 5, is a cryptographic algorithm to generate the hash value (say of a file). It generates a 16 byte or 128 bit value. Often it is used to check the integrity of downloads. Once you download a file, how sure are you that what you have downloaded is what the file is supposed to be.

For instance, let us say you are downloading Ubuntu. At the page you can see the file and know what is the md5. Once your download completes, you should get some utility to check the md5. If the strings match, you are sure that you downloaded what you want. This is useful in cases where there are mirror sites, that allow for download files in local regions. From the main site you get the MD5 checksum (string), and once you have downloaded the file, you run a local MD5 generation program on the downloaded file and compare.

So how do we generate MD5. There are plenty of utilities available. There is one from Microsoft itself. You can download it from this KB Article. Download and run the file. Instructions are here.

Run the program to calculate the checksum, like this.

image

The md5 of the downloaded file, calculated by fciv utility from Microsoft. The original value of iso I got from the web site.

image

That guarantees that I got the file right.

 

Sources.

1. http://en.wikipedia.org/wiki/MD5

2.http://support.microsoft.com/kb/841290