Archive for July, 2007

Detect if a URL is text/html

Saturday, July 7th, 2007

Our htmlsnapshot component is designed to convert html or text content into image.
If a URL is not text/htm content,  the snapUrl method may fail.
To solve this issue, we add a new method called IsGoodUrlForSnap.
It will return 1 on the URL which is text/html content.  It can be called like below:
snap.IsGoodUrlForSnap(“http://www.google.com“)
For more details, please visit the home [...]