Web Pages
The Web Pages toolbox builds HTML. Document, Head and Body make the page; inside the body you add Heading, Paragraph, Link, Image, List, Table, Form, Input, Section and other elements, with classes, attributes and inline styles, and a Stylesheet. To HTML gives the page as text and Save Page writes it to a file.
Use it to generate reports, catalog pages or simple sites from data, or to serve pages from an Application Framework web server.
- Included in: Divooka Explore and Divooka Compute Standard. In Compute, start a document from the Web Development workload, or add the Web Applications reference with Add reference (
Ctrl+Shift+L). The Web Applications reference holds Ol'ista's part of Application Framework, Web Pages and Software Development. - Maturity: Usable · Support: Tier 2 (proposed) · what these mean
- Open it: node library (
Ctrl+Shift+Space) → Web Pages, or search for a node withCtrl+Space. - Examples and reference:
Ctrl+Shift+E→ Components Graph (Divooka Compute) · node reference
New to graphs? Start with Your first program.
Example: a table from data
In Divooka Compute, open Components Graph > Planet Table (Ctrl+Shift+E). The Components graph Planet Page assembles a page whose table is made from data, with its caption and class set in Properties. Main builds the page, writes it beside the document as Planet Table.html, and prints its HTML. Open the file in a browser to see the table.
In Divooka Explore, build the same kind of page from nodes: Document with a Head and a Body, a Heading, and Table from Columns with your data, then Save Page.
Tips and limits
- Text is safe. Text writes text as it is, so a
<stays a<. Raw HTML inserts markup exactly as written, for anything no node makes. - No JavaScript framework. The nodes write plain HTML and CSS.
What is in the toolbox
| Category | Some of its nodes |
|---|---|
| HTML | Add Class, Add Style, Attribute, Body and 27 more |
See also
- Web Pages node reference
- Building websites in Divooka
- Toolboxes - every other toolbox.