Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Announcement: Cool MHTML library available for review (pre-alpha).

Thread Tools

Announcement: Cool MHTML library available for review (pre-alpha).

Peter Rilling
Posts: n/a

I have uploaded a library that, I hope, is better than using CDOSYS/CDONTS
for handling MHTML downloads. Right now the infrastructure for downloading
is in place, but I have not gotten the persistent system in place, but I
will be working on that shortly. If nothing else, this library provides a
simple way to download a page and all its referenced resources.

Here are some of the features that it currently supports:
** Downloads a page and all its referenced resources.
** Downloads them recursively. For instance, a CSS will be downloaded if
referenced by a page, but if that CSS references any images, those will also
be downloaded.
** Only one instance of a resource is downloaded regardless of how many
times they are referenced. The instance is still associated with all the
parent pages that contain it.
** Currently downloadable types include: audio, images, css, html, xml,
** Current types of references that are processed include:
background/foreground images (both html and css), css, background sound,
JavaScript, iframe and framesets, xml islands.
** Cool demo app that shows the downloaded content allowing you to sort by
type or referenced relationship.

The following are issues that are on my agenda:
** Update the URLs since they will be eventually viewed locally.
** Support saving to various forms, including the a single mhtml file.
** Support loading of single mhtml files.
** Fix bugs.

Now, what I need from this community is to put this code through its paces.
Find any bugs (including URLs that are not processed correctly). I also
like constructive criticism so any comments about my architecture would be
great, keeping in mind this is pre-alpha so it is far from perfect.

You can download it at

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer Vulnerability in MHTML Could Allow Information Disclosure Robert J. Roosevelt NZ Computing 0 02-02-2011 11:44 AM
Microsoft Internet Explorer MHTML URI Buffer Overflow Vulnerability Imhotep Computer Security 0 06-03-2006 02:52 AM
MHTML Streaming =?Utf-8?B?TUVSNzg=?= ASP .Net 2 02-06-2006 07:13 PM
'mhtml' files Earl Costello Computer Support 5 03-10-2005 07:05 PM
Stream mhtml to browser ASP .Net 0 12-15-2003 06:09 PM