-"1","8bitology.net - 8BML":p"8bitology.net":n:>"http://8bitology.net/","Home","http://8bitology.net/news.php","News","http://8bitology.net/api.php","API Ref","http://8bitology.net/8bml.php","8BML Ref","http://8bitology.net/files.php","Files","http://8bitology.net/members/","Members","http://8bitology.net/contact.php","Contact Us":n:s"8BML (8-bit Markup Language) v1":n:t"Updated: 2018-10-08":n:t"In the public domain. A markup language suitable for slow memory constrained 8-bit computers with PHP tools to aid in the creation of websites that can render both standard HTML and 8BML.":h:s"LINKS":n:l"http://8bitology.net/example.php","8BML Example Page","":l"https://jsfiddle.net/zhulien/dw1zpgs2/","8BML Parser in JavaScript POC","t":h:s"REFERENCE":n:v"1","","Notes","","8BML commands have comma separated parameters. The commands themselves are separated by a colon.","","A page should be a continuous stream of characters with no unnecessary whitespace or carriage returns.","","Double Quotes contained within a value should be preceeded with a \.","","If you use the PHP utils available within this site to generate pages that are both HTML/8BML compatible it will handle the escapting transparently.","","To fetch an 8BML-enabled page in 8BML, the URL should be provided with the '8bml' URL parameter, e.g. 8bml.php?8bml=","","To check the resulting size of an 8BML-enabled page, the URL should be provided with the 'rendersize' URL parameter, e.g. 8bml.php?8bml=&rendersize=","","Valid Image Format IDs: 1=jpg, 2=png, 3=gif, 4=Amstrad CPC.","","Valid Music Format IDs: 1=Amstrad CPC.":n:t"Below is a reference to the 8BML commands.":n:t"Command Summary: -.<>bdhilmnpstvwxyz":h:s"-\"<markup version>\",\"<page title>\"":n:t"Start of Page":n:t"<markup version> = the version of the markup, will only change if future version become non-backward compatible. 8BML browsers should be hardcoded to support the returned version only.":n:t"<page title> = the title of the current page.":h:s".":n:t"End of Page":h:s"<":n:t"Go back to previous page.":h:s">\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\",\"<url>\",\"<text>\"":n:t"Display a row of up to 10 links toolbar style.":h:s"b\"<text>\"":n:t"Bold Text":n:t"<text> = bold text.":h:s"d\"<url>\",\"<text>\"":n:t"Download Link":n:t"<url> = a URL to the resource to download.":n:t"<text> = a text description of the resource to download.":h:s"h":n:t"Horizontal Line":h:s"i\"<image format>\",\"<url>\",\"<text>\",\"<width>\",\"<height>\"":n:t"Image":n:t"<image format> = the format id of the image.":n:t"<url> = a URL to the image.":n:t"<text> = a text description of the image.":n:t"<width> = the width of the image.":n:t"<height> = the height of the image.":h:s"l\"<url>\",\"<text>\",\"<flags>\"":n:t"Linked Page":n:t"<url> = a URL to a page.":n:t"<flags> = t to open in a new tab, l to left justify, r to right justify.":n:t"<text> = a text description of the linked page.":h:s"m\"<music format>\",\"<url>\"":n:t"Music":n:t"<music format> = the format id of the music.":n:t"<url> = a url to the music to play.":h:s"n":n:t"Newline":h:s"p\"<text>\"":n:t"Page Heading":n:t"<text> = a page heading.":h:s"s\"<text>\"":n:t"A Sub Heading":n:t"<text> = a sub heading.":h:s"t\"<text>\"":n:t"Page Text":n:t"<text> = standard page text.":h:s"v\"<columncount>\",\"<text>\",\"\",\"<text>\",\"\",\"<url>\",\"<text>\",\"<url>\",\"<text>\"":n:t"Display a row of up to 10 columns in a table, the headings have 2 parameter per column, the rows 2 parameters per column. The second column for headings is an optional type value of 'actions'. If the heading is of this type, then multiple actions/URLs can be separated in the row of that column by a pipe '|' character.":h:s"w\"<name>\",\"<value>\",\"<flags>\",\"<code>\",\"<text>\",\"<code>\",\"<text>\"...":n:t"A Form Select Which Field":n:t"<name> = the name of the form select field.":n:t"<value> = a value to populate the form text field with.":h:t"<flags> = 'm' for mandatory.":n:t"<code> = a code that represents an that is submitted with the form.":n:t"<text> = the text of an option visible to the user.":n:t"...":h:s"x\"<url>\",\"<action>\"":n:t"Submit a form":n:t"<url> = the url where to submit the form to.":n:t"<action> = the action to submit.":h:s"y\"<name>\",\"<length>\",\"<flags>\",\"<value>\"":n:t"A Form Text Field":n:t"<name> = the name of the form text field.":n:t"<length> = the maximum length allowable within the form text field.":n:t"<flags> = 'm' for mandatory. 'p' for password.":n:t"<value> = a value to populate the form text field with.":h:s"z\"<name>\",\"<cols>\",\"<rows>\",\"<flags>\",\"<value>\"":n:t"A Form Textarea Field":n:t"<name> = the name of the form textarea field.":n:t"<cols> = the number of columns for the textarea field.":n:t"<rows> = the number of rows for the textarea field.":n:t"<flags> = 'm' for mandatory.":n:t"<value> = a value to populate the form textarea field with.":n:<:.