| View previous topic :: View next topic |
| Author |
Message |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Thu Apr 20, 2006 4:30 pm Post subject: Help with Lua Web Browser |
|
|
I have been making a lua web browser based off the wlan test. I have gotten far, i just need help making an html parse function. Don't know where to start. I was thinking along the lines of using the string.gsub for most of the parsing. My goal is a browser like lynx for *nix. Simple and fast. _________________ - be2003
blog |
|
| Back to top |
|
 |
TeamOverload

Joined: 20 Apr 2006 Posts: 41 Location: CT
|
Posted: Thu Apr 20, 2006 11:26 pm Post subject: |
|
|
Sounds good, but I don't know if Lua can handle a very full featured web browser. It will be interesting to see, and I dont want to discourage you, so I wish you luck _________________ [img]http://img115.imageshack.us/img115/1130/teamoverloadanimationsig7wp.gif[img] |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Fri Apr 21, 2006 1:52 am Post subject: |
|
|
well so far i have simple url input and page history. I have already viewed www.psp3d.com with it, text only and with no links :(
thinking of writing a lua or lrx library, because it has like 300 lines, most for functions.
I have planned a rewrite of my code for easy implementing of my functions. eg.
| Code: | | gotoURL(url as a string) |
returns the source as a string... wow lots of work todo. _________________ - be2003
blog |
|
| Back to top |
|
 |
TeamOverload

Joined: 20 Apr 2006 Posts: 41 Location: CT
|
Posted: Fri Apr 21, 2006 2:31 am Post subject: |
|
|
Well i certianly will be interested in this. If you need any help or tester send me a PM, or message me on AIM, or send me an email or something _________________ [img]http://img115.imageshack.us/img115/1130/teamoverloadanimationsig7wp.gif[img] |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Fri Apr 21, 2006 2:56 am Post subject: |
|
|
i will post a screenshot soon.
trying to get the rewrite done first _________________ - be2003
blog |
|
| Back to top |
|
 |
glynnder
Joined: 04 Sep 2005 Posts: 35
|
Posted: Fri Apr 21, 2006 6:37 pm Post subject: |
|
|
be 2003, i am interested in this and have been looking at making a web browser in lua for a while, i have made a few propgrams in a few languages, and i would like to work with you on this.
Interested? |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Sat Apr 22, 2006 1:30 am Post subject: |
|
|
i might need help eventually.
these are a screenshot and the source as html
just right click on the link and save as index.lua. it is my first attempt. i am working on the rewrite now.
sorry about the crude html renaming, i need better hosting _________________ - be2003
blog |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Sat Apr 22, 2006 1:44 am Post subject: |
|
|
oh ya try to stick with just www.something.com
not
something.com/someelse/index.php
controls:
when it chooses a connection and displays "Done!" hit square to load google (its only 2 lines, the browser print letter by letter, be patient, it is more like a news reader right now)
when google is done hit triangle just like the 2.0 browser
the url on the bottom is the current location, the one on the top is the input
hit circle to clear it and use up/down to change letters, x to input square to load _________________ - be2003
blog |
|
| Back to top |
|
 |
TeamOverload

Joined: 20 Apr 2006 Posts: 41 Location: CT
|
Posted: Sat Apr 22, 2006 2:13 am Post subject: |
|
|
what version luaplayer is it for? I tried it on 0.16 on my 2.60 and i got the no script file found error _________________ [img]http://img115.imageshack.us/img115/1130/teamoverloadanimationsig7wp.gif[img] |
|
| Back to top |
|
 |
glynnder
Joined: 04 Sep 2005 Posts: 35
|
Posted: Sat Apr 22, 2006 2:27 am Post subject: |
|
|
ARGH - my f=ing PC
~Do you mind if i develop this by myself then?
I'll say based on excellent work by be2003?
this needs a lot of work |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Sat Apr 22, 2006 2:29 am Post subject: |
|
|
the error you got means that your player cannot interpret a command used, do 2.6s support wifi?
i will do research on the issue _________________ - be2003
blog |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Sat Apr 22, 2006 2:51 am Post subject: |
|
|
does your luaplayer support font functions and does the lua wlan test work? _________________ - be2003
blog |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Sat Apr 22, 2006 2:57 am Post subject: |
|
|
go ahead and work off of it, but let me remind you, the rewrite will contain a much better parsing function, and who knows how to compile .lrx's? _________________ - be2003
blog |
|
| Back to top |
|
 |
TeamOverload

Joined: 20 Apr 2006 Posts: 41 Location: CT
|
Posted: Sat Apr 22, 2006 3:15 am Post subject: |
|
|
| glynnder wrote: | ARGH - my f=ing PC
~Do you mind if i develop this by myself then?
I'll say based on excellent work by be2003?
this needs a lot of work |
Lol I just started my own browser(not really based off this, but I may use some parts of the code, if thats alright and the author gives consent), however I am making two versions Basic(in Lua) and Ultimate(Using PSPSDK) _________________ [img]http://img115.imageshack.us/img115/1130/teamoverloadanimationsig7wp.gif[img] |
|
| Back to top |
|
 |
glynnder
Joined: 04 Sep 2005 Posts: 35
|
Posted: Sat Apr 22, 2006 8:36 pm Post subject: |
|
|
cool, good luck.
i will wait till the rwrite cos i am working on luaMainframe ATM
which is basically lowser with some addons, e.g 'R' loads your fave homebrew! |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Mon Apr 24, 2006 2:21 pm Post subject: |
|
|
i took a break, gsub was getting to my head. harvest moon summer harvest test for lua almost done. _________________ - be2003
blog |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Tue May 02, 2006 11:43 pm Post subject: |
|
|
| I wouldn't give up on this project per se, but must point out that the links2 port in pspradio is awesome. :) |
|
| Back to top |
|
 |
Danny769
Joined: 01 Feb 2006 Posts: 55
|
Posted: Wed May 03, 2006 12:30 am Post subject: |
|
|
If you can get the lua one going using th memstick as ram you will supass links2.
Keep it up.
But links2 may be able to have flask if the flash program can be ported.
In my real oppion PSP~Radio is cripling Link2 and visversa |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Wed May 03, 2006 1:43 am Post subject: |
|
|
| Danny769 wrote: | If you can get the lua one going using th memstick as ram you will supass links2.
Keep it up.
But links2 may be able to have flask if the flash program can be ported.
In my real oppion PSP~Radio is cripling Link2 and visversa |
Yeah, but there'll be a standalone links2 soon enough, obviously. |
|
| Back to top |
|
 |
Danny769
Joined: 01 Feb 2006 Posts: 55
|
Posted: Wed May 03, 2006 2:17 am Post subject: |
|
|
Raf wont give me the sorce.
adio is killing the thing |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Wed May 03, 2006 2:40 am Post subject: |
|
|
| Danny769 wrote: | Raf wont give me the sorce.
adio is killing the thing |
Well, first of all you don't have to turn the radio on while browsing, and second of all the source is publicly available.
If you can't discover where, you're probably not smart enough for working on it anyway. :p |
|
| Back to top |
|
 |
|