Adding HTML windows

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ckds
Posts: 1
Joined: Sun Apr 09, 2006 2:24 pm

Adding HTML windows

Post by ckds » Sun Apr 09, 2006 2:27 pm

i want to build a web browser for my web tv software i build the windows edition with browser bob but even though it carrys mac styles it can not make files. How do i have html frames inside a single window enabling the software to be used as a kind of web browser. Or is there a way i can convert my old browser bob project files so i can continue to use your software from there

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Sun Apr 09, 2006 3:15 pm

I am not sure if I understand what you want, but I guess you want to show a fully rendered html-page on the mac and on windows?

In that case you need altBrowser

If you just want to parse a subset of html, then RunRev can do it:

Code: Select all

--try this:
put url "http://google.com" into field 1
--or this:
set the htmltext of field 1 to url "http://google.com"
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Sun Apr 09, 2006 8:21 pm

I think it would be possible to make your own frames using the fields
you need. You would have to pre-process your html document in Rev
first to find the frames information, then based on what you find, add
the amount of fields you need.

When reading the html document, assign the data for each frame to
the respective field for each frame.

Are the frames always going to be the same? If so, then it should be
even much easier. The fields can be hard coded instead of dynamically
producing them.

I haven't done anything like this in Rev, but if you need help actually
putting the idea to code, let me know, I'll try to help you out with the
code.

-Garrett

Post Reply

Return to “Internet”