Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1441 items

Grouped by Architecture

All Text

Cotonic

Cotonic Cotonic

Cotonic is a Javascript library which makes it possible to split the javascript code of your page into truly isolated components. By…

Cotonic

cotonic.mqtt_bridge Cotonic

This module makes it possible to bridge the broker on the local page to an external MQTT broker.

Cotonic

cotonic.broker Cotonic

The broker module handles all local publish subscribe connections. The subscriptions are stored in a trie datastructure allowing quick action. They…

Cotonic

Page functions Cotonic

Cotonics main functions are available in the cotonic namespace on the main page. The functions are mostly used to control and allow messaging…

Cotonic

cotonic.mqtt Cotonic

The mqtt module provides functions to work with mqtt topics. The broker uses this module as the basis to provide its functionality. This module…

Cotonic

Workers Cotonic

Cotonic uses Web Workers which all run in separate calling context. This means that they will not block the main user interface thread. They are…

Models

mailinglist_run

Durable mailing runs and delivery accounting, available as m.mailinglist_run in templates. Recipient addresses and message diagnostics are never published on…

Models

websub

Model for WebSub resource subscriptions, delivery queues, and automatic imports.

Filters

websub_error

Translate subscription error codes into explanations for editors. Accepts atoms, plain binaries and legacy binaries formatted with ~p. Unknown errors use a…

Controllers

controller_websub_topic

Serve the complete JSON representation advertised as a resource's WebSub topic.

Controllers

controller_media_runner_callback

Client-side receiver for results produced by the external media runner site. This controller belongs to mod_base , so each client site has a callback endpoint…

Controllers

controller_websub

HTTP hub and subscriber callback controller for mod_websub .

Dispatch rules

mod_websub dispatch rules

URL dispatch rules defined by mod_websub in apps/zotonic_mod_websub/priv/dispatch/dispatch.

Modules

mod_websub

WebSub keeps imported resources up to date when their source changes. A publishing site notifies subscribers instead of requiring them to poll for every update.

Notifications

observe_rsc_export_done/3

Extend the full resource-export envelope returned by m_rsc_export:full/2 . The accumulator is the export map, not the nested resource-properties map. Return…

Notifications

observe_rsc_import_done/2

A resource import has completed. The options describe this particular import; recursively imported resources can have different options.

Notifications

observe_rsc_import_fetch_result/3

Enrich the decoded resource-export envelope with import metadata. The response headers belong to final_url , after any redirects. Return the updated envelope.

Models

clamav

Reports whether the ClamAV daemon ( clamd ) is available. The m.clamav.is_available model path sends a ping and returns true when the daemon responds with PONG…

Scomp

chart_donut

Render a donut chart as inline SVG.

Scomp

chart

Render a chart without JavaScript, CSS, external services, or external assets.

Notifications

observe_development_make/2

Runs the development make process and reloads newly compiled BEAM files after a manual request.

Notifications

observe_development_reload/2

Reloads templates, modules, translations, and other indexed development files after a manual request.

Notifications

observe_module_ready/2

Signals that the active modules or their indexed templates, actions, models, and other components have changed.

Models

admin_keyword

Provide aggregate keyword usage and overlap data for mod_admin_keyword .

Filters

get_admin_url

Return the absolute administration URL for a Zotonic site.

Filters

survey_is_history_back

Test whether a survey respondent may return to the previous page in a history.

Modules

zotonic_notifier

Provide Zotonic's extensibility mechanism through typed notifications.

Modules

mod_admin_keyword

Add keyword analysis tools to the Zotonic administration interface.

Modules

zotonic_filehandler

Coordinate development-time handling of changed source and asset files.

Release notes

0.94.0

Welcome to Zotonic 0.94.0, released on August 25, 2026.

Release notes

0.93.0

Welcome to Zotonic 0.93.0, released on July 7, 2026.

Filters

is_user

Test if a resource is a user.

Models

log_csp

Model for admin Content-Security Report log retrieval by index, gated by admin permissions.

Notifications

observe_search_query_normalize_value/2

Normalize a search value for queries and indexing. An example is the normalization of texts by transliteration and removal of accents. Defaults for text values…

Release notes

0.92.0

Welcome to Zotonic 0.92.0, released on April 21, 2026.

Filters

translated_texts

Check all properties of a map, list or resource. Returns a list of all properties that are translated (have a #trans{} record) and their translations.

Release notes

1.0.0_rc.17

Released on 2026-03-30.

Tags

compose

Compose another template and override its named blocks.

Tags

fragment

Define a named reusable template fragment.

Tags

catcompose

Compose another template based on the category of a resource.

Tags

use

Render a named fragment defined with tag#fragment.

Tags

useblock

Render a named tag#fragment, pass it enclosed body content, and optionally override its named blocks.

Release notes

1.0.0_rc.16

Released on 2026-03-27.

Models

rsc_update

Resource update helper module used by m_rsc .

Models

rsc_export

Export a full resource representation for API and model access.

Models

rsc_import

Import model for resources exported by m_rsc_export .

Models

survey_saved

Model for saving and retrieving intermediate survey answers for users. There can only be a single intermediate result per user/survey or, for anonymous users…

Models

zotonic_status

Model for system-wide site status information.

Filters

extract

Extract a specific property from each item in a list.

Filters

floor

Round down a floating point value.

Filters

to_boolean

Convert the input to a boolean value.

Filters

survey_is_save_intermediate

Check if the given survey is configured to save intermediate results. Always returns a boolean value.

Filters

sum

Sum a list of numbers.

Filters

filter_by

Filter a list of items based on a property value and optional predicate.

Release notes

0.91.0

Welcome to Zotonic 0.91.0, released on February 4, 2026.

Filters

default_if_none

Provide an alternative value in case a value is undefined.

Release notes

0.90.0

Welcome to Zotonic 0.90.0, released on September 4, 2025.

Scomp

survey_start

Show the first page for a given survey (with the id parameter):

Filters

language_sort_localized

Sort a list of language codes or map with languages on their localized name in the currently selected language. This is useful for editorial interfaces where…

Models

dispatch

Dispatch or generate URLs or page paths. Useful to check dispatch rules or for client side code to dispatch page paths.

Release notes

0.89.1

Welcome to Zotonic 0.89.1, released on July 3, 2025.

Release notes

0.89.0

Welcome to Zotonic 0.89.0, released on July 1, 2025.

Validators

page_path_unique

A validator to check whether a resource’s page path is unique:

Filters

render

Render a template.

Filters

merge_tags

A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.

Release notes

0.88.0

Welcome to Zotonic 0.88.0, released on March 13, 2025.

Release notes

0.87.0

Welcome to Zotonic 0.87.0, released on February 4, 2025.

Filters

from_json

Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.

Models

email_relay

Model for email relay API endpoints, handling relay delivery requests and relay status updates.

Validators

hasedge

A validator to check if a resource has a certain number of edges with a predicate.

Notifications

observe_email_is_recipient_ok/2

Check if an email address is safe to send email to. The email address is not blocked and is not marked as bouncing.

Release notes

0.84.0

Welcome to Zotonic 0.84.0, released on August 29, 2024.

Release notes

0.83.1

Welcome to Zotonic 0.83.1, released on August 6, 2024.

Release notes

0.83.0

Welcome to Zotonic 0.83.0, released on June 27, 2024.

Modules

mod_copyright

Module for copyright metadata, rights statements, attribution, and source provenance.

Models

copyright

Model for copyright and rights metadata helpers, including Creative Commons lists, rights statement lookup, and attribution/year values.

Filters

trans_languages

Return a list of all languages present in the given translated text ( #trans{} record).

Validators

acceptable_password

A validator to check whether a password conforms to the password secutiry requirements.