Yes .. the demo source (link at the end of
the article) should be pretty much self explaining .. it streams html & pictures
directly from blob fields in a paradox table when internet explorer requires
them (using IStream interfaces, not files) – what else do you need?!
Kind
Regards,
Stefan Mueller
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul A Norman
Sent: Tuesday, 23 May 2006 5:44
p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] The
Programmer's Grail? Streaming Twebbrowser ordescendantto DB Blob and back
Exploring the line that you have ginve me Stefan, I would then keep a
seperate table of images and handle calls for them in the Name space handler?
On 23/05/06, Stefan
Mueller <[EMAIL PROTECTED]>
wrote:
Here is a link to a namespace documentation and example
sourcecode that I used in one of my products:
http://www.bsalsa.com/name_space.html
… as for reading images out .. the easiest is actually to
scan the html file for image-tags (don't forget css-links, table backgrounds,
etc). You will need to do this anyway and replace those linktags with your own
namespace handler url.
Kind Regards,
Stefan Mueller
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Paul A Norman
Sent: Tuesday, 23 May 2006 2:46 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] The Programmer's
Grail? Streaming Twebbrowser or descendantto DB Blob and back
I am
reposting this here, as there are people with expertese who might not see it in
the other placs I have put it.
And I
suspect it opens up an area of great usefuleness beyond Twebbrowser.
I have been looking (as many seem to!) into streaming the content of
Twebbrowser or TembeddedWB into a data base Blob field, seems to be the
grail of this kind of programming!
And generally I want to be able to live re-edit the returned material
in a Twebbrowser window.
Wanting to retain images etc, I have looked at MHT and it seems that it
is possible to use a NameSpace set up to stream them back to the
browser window once in the DB, but I can find no other way than
initally saving to disk to get an MHT out of a browser back to the DB
blob field. I want to avoid using the disk because of the overheads.
So I want to know how I might get a binary representation of the
actual rendering of the HTML in Twebbrowser into a stream and into a
blob and back when wanted. NOT as MHT or HTML! As already rendered
content this stream would be very fast to re-process back into a
Twebbrowser.
It just seems that there must be something like a TCanvas in the
Twebbrowser. But a pure TCanvas may not render the 'data' back into the
browser as edit able material.
** Is there something in how Twebbrowser renders the HTML, a 'binary
layer' that can be streamed back and forward?
** Something that has all the rendered elements and <object> <img>
<etc
..> as binary available for streaming?
Is component streaming an sensible avenue?
i.e. TStream.WriteComponent
Paul
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
|
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi