SML (for Splitted Markup Language) (sml.tar.gz) is a concept browser, written with Qt, which gets its formatting and text information from different files. This means the webpage itself is split up to 4 files: 1. test.sml #formatting instructions: test.fmt #text information: test.txt #url information test.url 2. test.fmt s12 cn u1 l0 n n n s8 cb u0 l1 n q0 l2 3. test.txt Alpacas are really great Go to test 2 4. test.url test2.sml Rendered webpage looks like this then: Purpose: There are two main reasons to split up the webpage: 1. No more XSS: The text file is treated only as a textfile. It's not executed. You cannot hide XSS in a text, which is not executed at all. 2. Easier to parse: The example browser uses the stl string class (with boost) for the formatting file and QString (for unicode) for the text file. Instructions: Extract the tar file. Go into the src folder and run $ qmake to create a makefile. Then run $ make to compile the program. Then go into the bin folder and run $ ./smt to run the program. |
