Christian Uceda wrote:Thanks, I had no idea that the DataURI scheme existed. Three points for you mate!
Yes, it exists and it's a lot better than MHT, because all the browsers can read it!
The only real problem I see with it is support, it is only supported in IE 8 and onwards, which in my case renders this useless as I need IE 6/7 support.
Perhaps you could use the Mozilla version of the webgadget? And wouldn't that mean cross-platform support for your program?
Also it makes something that is mostly a four step stroke: compose page, display page in browser, save page as HTM, open it in webgadget into a new DataURI codding effort that requires me to write a new parser for my already mime-formatted existing data.
If I'm understanding the situation correctly, it's a 3-step stroke: compose page, internalise it (using my code), then display it in the webgadget.
That could be time consuming, there is the IE 6/7 limitation, and the fact that I'm using the demo with code size limits doesn't help either.
1. I don't see how it would be time-consuming. The code I linked to does everything for you. Just give it the source HTML file, and the destination name, and it'll do it.
2. IE 6/7... can I ask why you need compatibility with those versions of IE?
3. Demo limitations... easy: buy PB! Honestly, you won't regret it.
So this is a no solution for me at this time...
From where I'm standing it looks like the only problem is IE 6/7 compatibility.
I'm wondering if the developers could have a look and implement .mht support for the webgadget in a future revision of PB?
I have successfully opened MHTs in the webgadget, but not for a while since I discovered DataURI. It may be that a newer version of PB has introduced a problem with MHTs, but I doubt it as surely things hinge on the ATL dll from Microsoft, not anything at the PB end?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."