> For the complete documentation index, see [llms.txt](https://docs.datarhei.com/restreamer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datarhei.com/restreamer/de/wissensdatenbank/user-guides/publication-webseite/code-injection.md).

# Code Injection

![Abb. 1: Code Injection für die Publication Webseite.](/files/81lKuX2EeXRQzTP3qud8)

![Abb. 2: Code Injection mit Beispielen für den Code.](/files/TFc5zMceuFVQrteDbwJK)

### 2 Siteheader erweitern

Code in den Header-Stil einfügen. Code am Ende des Bodys beispielsweise für die Nutzung externer Skripte.

```
<link rel="stylesheet" src="something"/>
```

### 3 Channelliste erweitern

Code in der Channelliste einfügen.

```
<link rel="stylesheet" src="something"/>
```

### 4 Inhalt erweitern

Code zwischen Beschreibung des Live-Streams und Autorenname einfügen. Beispielsweise für ein Kommentar-Widget oder Social Media-Widget.

```
<link rel="stylesheet" src="something"/>
```

### 5 Footer erweitern

Code in den Header-Stil einfügen.

```
<link rel="stylesheet" src="something"/>
```

### 6 Publication Webseite öffnen

Der Button führt direkt zu der index.html Publication Webseite.

### 7 Speichern

Speichern, um die Einstellungen zu sichern.

## Mehr Informationen

{% content-ref url="/pages/-M\_u9ZeYQ33IfUjMXbJk" %}
[Leitfäden](/restreamer/de/wissensdatenbank/leitfaeden.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datarhei.com/restreamer/de/wissensdatenbank/user-guides/publication-webseite/code-injection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
