Skip to content

Routing Rules

Routing rules determine which place content is automatically distributed to. They apply when a source has no direct place assignment — or when content should be routed based on tags, areas, or other attributes.

Routing rules overview


How it works

When importing content, the routing engine evaluates all active rules in order (sorted by priority, ascending). If a rule's conditions match, the content is assigned to the place defined in that rule. Multiple rules can match — content can be routed to multiple places simultaneously.


Creating a new rule

Click "Neue Regel" (New rule — floating action button, bottom right) to open the dialog.

Routing rule dialog

Basic settings

Field Required Description
Name Descriptive name for the rule (e.g. "Feuerwehr → Rinklingen")
Target place The place content is routed to (can only be set during creation)
Order Evaluation order — lower number is evaluated first

Matching mode

The dropdown "Route when … of the following conditions match" controls how multiple conditions are combined:

Mode Meaning
all All conditions must match (AND logic)
one At least one condition must match (OR logic)

Conditions

Conditions are added with "+". Each condition has three parts:

When [Field] [Operator] [Value]

Available fields and operators

Field Available operators Possible values
Tag Contains, Is, Is not, Is one of, Contains all Free text input (autocomplete)
Item type Is, Is not, Is one of Post, Event, Article, Participation
Source Is, Is not, Is one of Source ID from sources management
Trust level Is, Is not, Is one of, ≤, ≥ Official, Partner, Community, External
Area Is, Is not, Is one of, Contains all Area name (autocomplete)
Audience Is, Is not, Is one of General, Families, Youth, Seniors
Priority Is, Is not, Is one of, ≤, ≥ Urgent, High, Normal, Low

Example rules

Dialog with filled-in condition

Name Field Operator Value Target place
Feuerwehr → Rinklingen Tag Contains feuerwehr rinklingen
Events only for DorfWerk Item type Is Event dorfwerk-rio
Official content for all Trust level Is Official rinklingen
Youth news Audience Is Youth jugendforum

Editing a rule

Click the menu on a rule card → "Edit". In the edit dialog you can change name, order, matching mode, and all conditions. The target place cannot be changed after creation.


Disabling or deleting a rule

The menu also provides "Disable" and "Delete" options. Disabled rules are skipped during evaluation but remain visible in the list.


Interaction with sources

Default tags and areas configured on a source are applied to every imported item and are immediately available as routing criteria.

Order and multi-routing

Unlike firewall rules, locali does not stop at the first matching rule. All matching rules are evaluated — content can appear in multiple places at the same time.