.MHT files on webgadget
Posted: Tue Aug 31, 2010 2:10 am
Hi,
This is a question about the "webgadget"
HTML code can be written on a webgadget using:
That works fine and dandy
But if instead a simple html page if I try to use an embedded .mht file (html + images) like:
What I obtain is the same behaviour as if I had pushed plain html to the webgadget. it doesn't display the data as mht but still tries to render the data as html which means that all the mht headers and graphics are displayed as alphanumeric data inside the webgadget and not as a mht file will do displaying an entire page.
This could be a limitation of the webgadget or me not having a clue as usual.
If anyone could help me I'll be eternally grateful as this will be immensely useful to me.
This is a question about the "webgadget"
HTML code can be written on a webgadget using:
Code: Select all
SetGadgetItemText(#Web_Control, #PB_Web_HtmlCode, PeekS(?page))
DataSection
page:
IncludeBinary "resources\page.html"
EndDataSection
But if instead a simple html page if I try to use an embedded .mht file (html + images) like:
Code: Select all
SetGadgetItemText(#Web_Control, #PB_Web_HtmlCode, PeekS(?mht))
DataSection
mht:
IncludeBinary "resources\pageplusimages.mht"
EndDataSection
What I obtain is the same behaviour as if I had pushed plain html to the webgadget. it doesn't display the data as mht but still tries to render the data as html which means that all the mht headers and graphics are displayed as alphanumeric data inside the webgadget and not as a mht file will do displaying an entire page.
This could be a limitation of the webgadget or me not having a clue as usual.
If anyone could help me I'll be eternally grateful as this will be immensely useful to me.