Guides · 6 of 11
Content and forms
Edit the lists your website or app shows, manage its images and files, and read what visitors send through its forms.
The Content tab (⌘4 on a Mac, Ctrl+4 on Windows) holds what your website or app shows that is not page layout: its lists of things, called datasources, and its media. It has two parts, Datasources and Media.
Datasources and records
Section titled “Datasources and records”A datasource is a list of things the website or app shows: a team, blog posts, events, dishes, products, the questions of a FAQ. Each entry is a record. The agent creates a datasource when the website or app lists things. A block from the Blocks tab brings its own, or shows the one already there, such as the team or the posts.
The Datasources part lists them:
- first the collections of the website or app, such as the team or the posts, which every page shares, and Navigation, the links of the header and the footer;
- then Sections: the lists that belong to one section of one page, grouped under that page.
To edit a record:
- Click a datasource, then a record. The record opens in the page’s place, and the list stays in the Content tab with the record marked.
- Change its fields. Each change is saved as you type.
- To see the record’s page, such as a blog post’s, click Page in the record’s bar; Fields brings its fields back. ↑ and ↓ go from one record to the next, on their fields or on their pages.
- Click Back to the page, or press Esc, to close the record.
In edit mode, you can also double-click a short text from a record in the preview and change it there. For a longer text, a number or a date, Spaka says to change it in the Content tab.


In a datasource’s list:
- Add creates a record. To duplicate or delete one, rest the pointer on it and click its button (Duplicate this record, Delete this record).
- Drag records to change their order, unless the datasource is sorted, for example posts by date, newest first.
- Each record has an Address, which ends the address of its page when it has one, such as a blog post. Change edits it; Spaka warns when links to the old address will stop working.
Only the agent changes a datasource’s fields or creates a datasource. Open Fields, at the bottom of the list, and click Ask the agent to change the fields to start that message. A section’s list that no page shows any more is marked Used by no page, with a button to delete it. If a record’s file cannot be read, the tab says what is wrong, and Ask the agent to fix it writes the request.
The Media part shows the images and files of the website or app.
- Add files…, or drop files onto it, adds images (JPEG, PNG, WebP, GIF, AVIF, SVG) and documents to link to, such as a PDF. A large image is scaled down when added. There is no video or audio player: link to a video or embed it from where it is hosted.
- Search free images searches openly licensed photos that are free for commercial use (CC0, public domain, CC BY and CC BY-SA). Spaka keeps each image’s author, license and source, and adds a credits page to the website or app, with a small “Image credits” link in the footer.
- Each file shows where it is used. Give each image its Alternative text: what the image shows, for people who cannot see it.
- Rename updates every page and record that uses the file. A file in use cannot be deleted until you replace it where it is used.
Images the agent generates are marked Generated, with the model and the date; they have no credit to give.
Forms and what visitors send
Section titled “Forms and what visitors send”Ask the agent for the form you need, for example “add a contact form” or “let guests reply to the invitation”. What visitors send goes into a datasource of its own, listed with the others. A form can ask for texts, numbers, dates, choices, yes or no, links, an e-mail address or a phone number; visitors cannot upload files or images.
In the preview, switch to visitor mode and try the form yourself: what you send becomes a test record, marked Test. Add a test record adds one by hand. Test records exist only in the preview and are never published.
Once the website or app is published, open the datasource in the Content tab to read what visitors sent. Spaka reads it online when you open it, and not before.
- A record that waits for your approval before the website or app shows it, such as a guestbook entry, is marked Waiting for review. Approve it with its check button, so that visitors see it.
- Delete removes a record from the published website or app, after a confirmation. This cannot be undone.
- CSV downloads the records listed, the test records marked as such.
Spaka’s forms have a hidden trap for spam robots and a limit on how much one visitor can send. There is no captcha.
Where forms work
Section titled “Where forms work”Where you publish decides who keeps what visitors send (see Publish your website or app):
- Spaka’s hosting keeps it, with nothing to set up. The Content tab reads it by itself.
- Cloudflare or a server of your own keeps it too. Give the address of the website or app in its settings, under Published website or app, so that the Content tab can read it.
- GitHub Pages, or a folder of plain files for any web host, cannot keep it. Each form then needs a form service, such as Formspree or Basin, which e-mails you what is sent: the Publish dialog asks for each form’s address.
- A website or app with a page that shows what visitors send, such as a guestbook, can’t go on GitHub Pages. A folder then saves it as a Node server, which keeps what visitors send, with a
README.mdthat says how to run it.