Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Template für RSS-Feeds #8830

Open
balduin-kowalski opened this issue Dec 15, 2017 · 1 comment
Open

Template für RSS-Feeds #8830

balduin-kowalski opened this issue Dec 15, 2017 · 1 comment

Comments

@balduin-kowalski
Copy link

Anscheinend gibt es auch in Contao4 immer noch keine Möglichkeit die Ausgabe von Event-Feeds standardmässig über ein Template anzupassen.

Das wäre aber besonders für Event-Feeds wichtig. Aktuell werden Datum, Uhrzeit und Eventtitel zusammen in das selbe Feld gepackt und die Event-Location wird überhaupt nicht ausgegeben - das ist nicht gerade optimal. Auch das Ausgabeformat von Datum und Uhrzeit lässt sich nicht anpassen. Ich glaube nicht, daß die Event-Feeds in dieser Form einen besonders großen Anreiz zur Verwendung darstellen.

@contao contao deleted a comment from xchs Dec 15, 2017
@fritzmg
Copy link
Contributor

fritzmg commented Dec 18, 2017

Events have their own namespace (xmlns:ev="http://purl.org/rss/1.0/modules/event/") which could be used for this. Start date, end date and location could then be added to an item like this:

<ev:location>Washington, DC</ev:location>
<ev:startdate>2001-09-18</ev:startdate>
<ev:enddate>2001-09-21</ev:enddate>

See also contao/core-bundle#1243

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants