]> git.immae.eu Git - github/wallabag/wallabag.git/commit
EntriesExport/epub: replace epub identifier with unique urn 3827/head
authorKevin Decherf <kevin@kdecherf.com>
Sun, 6 Jan 2019 17:38:02 +0000 (18:38 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Sun, 6 Jan 2019 22:29:32 +0000 (23:29 +0100)
commitbf22266a6230be105ec9a91eccf00e489108405c
treec5a87d29a3fc0d7283136d6bb575a6b9c2d9f394
parent8f5c4b083ccf354e7942b4f50626de945d29aad7
EntriesExport/epub: replace epub identifier with unique urn

We replace the title used as the unique identifier of the epub file with
a urn following the format:

  urn:wallabag:{sha1("wallabagUrl:listOfEntryIdsSeparatedByComma")}

This format is repeatable: it always gives the same uid for the same
list of entries.

Fixes #3811

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
src/Wallabag/CoreBundle/Helper/EntriesExport.php