Hello. New project for me. I'm trying to do things Proxomitron can't do easily, 
its RegEx rules confuse me, it's far easier to adapt Lua to this now, 
especially as Proxomitron really wasn't written to extract a table or two on 
the assumption that the rest of a large web page was not to be processed...

I've Googled for examples of sockets used in wxLua, with very little result. 
I'm using W98, so I hope that isn't a problem as it doesn't do 'raw sockets' as 
I've seen them called, like WXP does. As wxLua is cross-platform, I'm guessing 
this isn't a problem for W98.

Anyway, it seems the best thing to ask for is something simple, a template I 
can adapt. The two main purposes I can immediately think of are a GET method to 
fetch a web page so I can filter it and save it to file, then use wx.execute() 
to ask a browser to display it. An ideal extension of this would be a local web 
proxy that the brower would reach on 127.0.0.1. This proxy would be entirely 
written in wxLua and intercept the external input fetched from a server, and 
filter it as I want, so the browser then shows it as I need.

If someone can help with a working template that does at least the basic 
fetching of a remote web page, please do, it will be a great help to build on 
that, instead of tryint to guess my way when I have no idea if it is even 
possible. Most things I read seem to indicate that the wxLua sockets code 
wasn't finished, though I grant some of the Google results were a year old or 
more. Trouble is, no-one apparently has any working examples, so there's a need 
there...

Right now I'm using WGET called by wxExecute) but it's not as nice as doing it 
all in wxLua would be.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to