Closed saerdnaer closed 7 years ago
Indeed, do you think the base url should be there, or should we just prepend the base url to all the links? I think with the QR Code in the public schedule the base_url is already mandatory.
We also could do both. But when we change from a (server) relative URL an absolute URL, the current consumers of this data have to be modified. By just adding an additional header field we stay backwards compatible.
There are also other use cases for a base_url, e.g. generation of URLs to the event/speaker pages or images. And there are similar caes with the event logo, c.f. https://c3voc.de/wiki/schedule#full_example
Quick note:
If one wants to resolve the file attachments referenced inside a schedule xml one has to prefix the path with an hostname/base-url.
For example:
one needs to add https://frab.cccv.de/ to get the full URL https://frab.cccv.de/system/event_attachments/attachments/000/003/131/original/talk_33c3_netzpolitik.pdf
I propose a new child element named base_url directly below the root node: