It is currently Thu Oct 18, 2018 9:15 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: html5 IE gadget project
PostPosted: Fri Jul 20, 2018 2:30 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1182
Location: germany
Hello idle,

any news on this? I'm looking for a cross platform replacement of the PB Webgadget and this is also interesting. While it follows the idea of Fred to use the local available HTML renderer, it still seem to offer more control than the PB Webgadget.


Top
 Profile  
Reply with quote  
 Post subject: Re: html5 IE gadget project
PostPosted: Fri Jul 20, 2018 11:47 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 3315
Location: New Zealand
I've only tried it on windows via a dll but it should be buildable for linux and osx
though I've yet to turn it into a gadget, currently it just launches a window with the browser
which will have some issues on linux from a shared object but it shouldn't be to much trouble to build it statically.

At the moment I'd suggest you take a look at civet_server project as I believe that will offer a better solution
its an embedded in memory http / https server so you're not limited to using the web gadget alone
as you can easily launch your UI into the users browser.
You then have a choice of either using a client side js framework or server side PB directly manipulating the html.
I'm currently looking at adding an html preprocessor, php like processing, so it'll make it easier to use
so you can generate tables and forms with minimal efforts from callbacks.

civet_server
viewtopic.php?f=27&t=70995

git project
https://github.com/idle-PB/pb_civet_server

_________________
Got winter blues?
Enjoy a Caravan Trip into, "The Land of Grey and Pink", wine and punk weed optional!
https://www.youtube.com/watch?v=9hmFzGTxod4


Top
 Profile  
Reply with quote  
 Post subject: Re: html5 IE gadget project
PostPosted: Mon Jul 23, 2018 7:22 am 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1182
Location: germany
Hi idle,

thanks for your reply. I also found the API of this lib does not offer embedding, right? Just open up complete windows.

I cant do like you describe (civet server). I use the HTML gadget to mainly display content to the user and I also run a WYSIWYG html editor inside this gadget (ckeditor). But there is a lot of stuff around and I also use external libraries (libcurl, crypto etc). Thus, it has to run locally.


Top
 Profile  
Reply with quote  
 Post subject: Re: html5 IE gadget project
PostPosted: Tue Jul 24, 2018 4:57 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 3315
Location: New Zealand
Yes the webview lib needs modification to make it into a gadget, it shouldn't be hard to do but it'll still have those cross platform issues.
which are mostly out of our control.

As for Civet_Server it isn't a seperate program, it's your application self hosting with civet_server embedded
along with all the www assets embeddable in the datasection. So you'd have no problem at all using ckeditor with it
plus you have the choice to display it in a webgadget or directly to the users browser.
It also has SSL client functions so you can pull stuff from external resources, though I'm yet to test or intergate that yet
but you can still access the functionality from civetweb.pbi.

If your concern is because its a server you can easily configure it so it's only visible to the local machine
by setting up it's Access control list. -0.0.0.0/0 +127.0.0.1 (-block everything and +allow localhost)

It's probably not going to solve your immediate needs anyhow as it's still windows only but it won't take long to get it cross platform
It just need someone to build the civetweb static libs for linux and OSX (though I can do the linux)
In the mean time I'm scrambling to get it to V1.0 so I can get on and give it a whirl with a real world application.

_________________
Got winter blues?
Enjoy a Caravan Trip into, "The Land of Grey and Pink", wine and punk weed optional!
https://www.youtube.com/watch?v=9hmFzGTxod4


Top
 Profile  
Reply with quote  
 Post subject: Re: html5 IE gadget project
PostPosted: Tue Jul 24, 2018 7:14 am 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 06, 2005 2:35 pm
Posts: 1182
Location: germany
Thanks idle, I will have a look.


Top
 Profile  
Reply with quote  
 Post subject: Re: html5 IE gadget project
PostPosted: Sat Sep 22, 2018 11:57 pm 
Offline
User
User

Joined: Sun Nov 27, 2016 6:38 am
Posts: 19
i am liking this, would it be possible to add these functions:

- set user agent
- set referrer
- socks5 proxy support would be nice

also how do i open 2 websites at the same time?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye