# Simple Text Feed
## Overview
Simple text feeds support very simple html formatted text content with optional integration into the menu structure, support for images and linked offline content (e.g. MP3s, PDFs,...).
In the example above, the menu item "STUDIEREN" comes from an anchor with the label "Studieren", and an id "studieren". The anchor’s id will be used in the url of the page (#studieren).
The content in above’s example is an h2 headline with two paragraphs. Paragraph can contain typical rich text formatting html tags.
## Example JSON
```json
{
"apiVersion": 1,
"anchor": {
"id": "studieren",
"label": {
"en": "Studies",
"de": "Studieren"
}
},
"text": {
"en": "
an h1 header
a paragraph using bold text
",
"de": "
ein h1 header
ein Paragraph mit fettem Text
"
}
}
```
## Validations
- `apiVersion` must be set to 1 (as a number, not a string)
- `anchor` is an object and optional
- This property describes an anchor
- `id` is string and mandatory if the `anchor` objec` is present
- The property is equivalent to the HTML anchor URL part (e.g. #studieren)
- `Label` is an object with a mapping of object to label string
- It is mandatory if the `anchor` object is present
- The language is an ISO 639-1 code
- The label string value is equivalent to the text in the 2nd menu level
- Allowed html entities:
- soft hyphen:
- `text` is an object and mandatory
- It contains a mapping of language to content string
- Every specified language property needs a mandatory non-null content string value
- The language identifier is an ISO 639-1 code
- Content string value per language:
- It is a subset of HTML
- Allowed tags are:
- Headers: `h1`-`h6`
- Paragraph: `p`
- Text spans: `span`
- Lists: `ul`, `ol`, `li`
- Simple rich text formatting: `b`, `i`, `u`, `em`, `strong`, `ins`, `blockquote`
- Links: `a`
- Images: `img`, `figure`, `figcaption` (see below)
- Gallery: `gallery` (see below)
- Video: `video` (see below)
- Audio: `audio` (see below)
- Media sources: `source`
- HTML newline: `br`
- Allowed html entities:
- soft hyphen: `­`;
- Special formatting:
- `p`-tags can be formatted using the class `newsarticle__lead` to present a special format for lead texts suitable for news articles
## Internationalization Validations
If a text is present in a certain language, and the anchor object is present, then labels must be translated in the same languages as the texts
At least one language must be present
## Images
Images are supported through plain `` tags, and can also be wrapped within a `