podlove-specifications icon indicating copy to clipboard operation
podlove-specifications copied to clipboard

External chapter example

Open mahemoff opened this issue 9 years ago • 8 comments

It would be useful to see an example of an external chapter resource at the bottom of the Simple Chapters spec. It says this is a resource "containing the chapter information", but would be safer for both publishers and developers if it included a complete example.

mahemoff avatar Mar 01 '15 12:03 mahemoff

I also do not quite understand how this is intended to work.

funkenstrahlen avatar May 28 '16 09:05 funkenstrahlen

I've always assumed you'd just link to a file like this.

<?xml version="1.0" encoding="utf-8"?>
<chapters version="1.1" xmlns="http://podlove.org/simple-chapters">
  <chapter start="0" title="Welcome" />
  <chapter start="3:07" title="Introducing Podlove" href="http://podlove.org/" />
  <chapter start="8:26.250" title="Podlove WordPress Plugin" href="http://podlove.org/podlove-podcast-publisher" />
  <chapter start="12:42" title="Resumée" />
</chapters>

Cj-Malone avatar Oct 30 '16 06:10 Cj-Malone

Is <?xml version="1.0" encoding="utf-8"?> required?

funkenstrahlen avatar Nov 06 '16 15:11 funkenstrahlen

Also: What is the correct filename extension?

filename.psc.txt or filename.psc?

funkenstrahlen avatar Nov 06 '16 15:11 funkenstrahlen

The XML header is required in any XML file. The filename does not matter in general, .psc is our convention.

timpritlove avatar Nov 06 '16 20:11 timpritlove

@timpritlove Is @Cj-Malone's comment correct then? It's just a xml "chapters" file?

mahemoff avatar Nov 08 '16 18:11 mahemoff

Yes, that's what is intended. You either place Podlove Simple Chapters inline or you link to a file containing an XML document adhering to the same namespace.

timpritlove avatar Nov 09 '16 07:11 timpritlove

Are there any feeds doing external file chapters and do players support it?

johnloringpollard avatar May 21 '24 19:05 johnloringpollard