Page 1 of 1

AOTHER QB markup lang+browser!!!

Posted: Wed Apr 22, 2009 6:52 pm
by bongomeno
So i was looking at Pharos Qbrowse.... Its a very cool program.
It inspired me to make my own browser and language.

I already made a homepage (with a bunch of links to my other pages) in it and my friend is making one to.

I call it 'Win Browse SML Viewer' (sml means small markup language)

Win Browse consists of 2 programs that work together.
One is the browser and the other handles the network stuff.
The only big difference really is that I wrote the program that
downloads the webpage.

the browser is written in: QBasic
and the page downloader: Blitz Basic

the features of sml are:
- color text (16 colors or -1 to flash random ones)
- links (press space and type the link number, max of 99 links per page)
- horizontal lines
- no popups or network code or other scripts gets mixed with the page
- very simple/fairly fast

example .sml page:

Code: Select all

#START#

#COLOR=14#BongoMenos Homepage

#HORLINE#

Geek Basic Home...
#LINK=http://freewebs.com/gbserver/index.sml#

Hi, Im BongoMeno and I am very cool!
blah blah blah
yhata yhata poopoo doodoo coocoo choochoo train!!!

#HORLINE#

Geek Basic Spoftware 2008

#END#
ill post the link for a download asap.[/code]

Posted: Wed Apr 22, 2009 8:05 pm
by Pharoah
Nice work! SML reminds me of wiki style markup langauges. It's definitely a different approach from the one I've taken.

You should try writing a QML reader, though. You'd have more pages to test it on, for one thing, although like I said the count is only 20 something right now (including a QB split function tutorial I wrote).

I have written a couple of downloader programs myself, one in FB and one in Python, but I find that wget tends to have a lot nicer features and it works on a bunch of platforms. I wrote a similar program called Qget that pre-renders QML pages and after fetching them using the ChiSock network routines for FreeBasic.

woot

Posted: Thu Apr 23, 2009 6:09 pm
by bongomeno
here is the link to download Win Browse. :P
extract the zip file and run wb.exe.
post here for help.

http://www.mediafire.com/?sharekey=2051 ... f6e8ebb871

Posted: Fri Apr 24, 2009 9:14 am
by Pharoah
Interesting... I'm trying to write a SML=>QML converter thing in PHP to link the SML and QML nets. I can't figure out what COLOR=-1 does, though.

EDIT:

Converter half done. You can see it in a QML reader at
http://pharoah.xetaspace.net/sml

You can also view it through the online QML viewer (which is very primitive) at
http://pharoah.xetaspace.net/webview/in ... ce.net/sml

PS: You know you can use ' instead of REM, right? Also, you can omit LET altogether :).

cool!

Posted: Fri Apr 24, 2009 6:02 pm
by bongomeno
Wow, dude thats nice!
Ill try to make a qml browser if i can as well as a qml page of my own
btw the -1 color causes it to flash random colors on the line as you scroll.

Posted: Fri Apr 24, 2009 6:47 pm
by Pharoah
Hmm, well I couldn't replicate the random color flashing with my PHP script but I did make it select a random color. I like the effect, though :).

Posted: Fri May 01, 2009 7:06 pm
by Pharoah
Just wondering how your QML reader is coming along... It's kind of a fun project to work on. Right now I'm writing another version of Qbrowse

Posted: Fri May 01, 2009 10:52 pm
by bongomeno
ive actually put my networking projects on the side for a few days because of school and my learning ASM. I will definitly work on it more soon. =]

Posted: Thu Oct 15, 2009 10:48 am
by bongomeno
This might sound like a dumb thing to ask, but does anybody still have this program? My computer it COMPLETELY destroyed and I lost most of my stuff. If you still have it, could you please email it to me at bongo_meno@yahoo.com or post it somewhere where I can download it. I would like to work on it again.

thanks.

Posted: Thu Oct 15, 2009 12:18 pm
by burger2227
You should always backup your stuff!

Go to a place like 4shared.com and put your files there for free. All you have to remember is to log in once a month.

Posted: Sun Dec 27, 2009 2:45 am
by bongomeno
I know that this thread is old, but I think I should say this.

My friend still had the program and gave it to me, so I posted it on my website. www.geekbasic.webs.com

I thought I should say this just in case someone passing by wanted to check it out.