Dear Friends,

In case it is interesting, here's an example html output file from the
DPR (SN 1):

http://static.sirimangalo.org/sn1.zip

and here's the same file converted into an epub using calibre, tweaking
the conversion settings to detect chapters for every <h2> tag (i.e.
every samyutta):

http://static.sirimangalo.org/sn1.epub.zip

Best wishes,

Yuttadhammo