<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Toute l'actualité de {{ siteInformations.name }}</title>
        <link>{{ siteInformations.domain }}</link>
        <description></description>
        <language>{{ siteInformations.lang }}</language>
        <atom:link href="{{ siteInformations.selfurl }}" rel="self" type="application/rss+xml" />
        {% for actu in allactus %}
            <item>
                <guid>{{ actu.link }}</guid>
                <title>{{ actu.title }}</title>
                <link>{{ actu.link }}</link>
                <description>{{ actu.description }}</description>
                {% if actu.concernedLines is defined and actu.concernedLines|length != 0 %}
                    <lines>
                        {% for l in actu.concernedLines %}
                            <line>{{ l.name }}</line>
                        {% endfor %}
                    </lines>
                {% endif %}
                {% if actu.concernedLines is defined and actu.concernedLines|length != 0 %}
                    <lineIds>
                        {% for l in actu.concernedLines %}
                            <lineId>{{ l.number }}</lineId>
                        {% endfor %}
                    </lineIds>
                {% endif %}
            </item>
        {% endfor %}
    </channel>
</rss>
