rootl
March 7, 2017, 4:45pm
1
Greetings:
Every time we export a file, the name is appended with a long string of numbers, which I assume is for versioning.
ie:
Filename we want: Music-and-the-Child.pdf
Numbers appended each time we publish a new export:
Music-and-the-Child-1485459879.pdf
Music-and-the-Child-1482867517.pdf
Music-and-the-Child-1482867589.pdf
There are many sites that link directly to our pdfs and epubs; so they must be notified every time there is a new export.
Is there any way to remove the numbering from file name upon export?
Thanks
maybe to add the date instead of that “random” number
rootl
March 8, 2017, 12:53pm
3
Is there is a method within the PB code to prevent the ‘random’ numbers from being added? Or a method to add a datestamp?
I could take a stab at it. I just need to know where to start. Thanks.
ned
March 8, 2017, 7:07pm
4
Hi @rootl , those numbers are actually a UNIX timestamp. They are needed for lots of reasons but we could sanitize them from the downloadable filenames, I think. I’ll open an issue.
1 Like
rootl
March 8, 2017, 9:15pm
5
Thank you so much. .Derp @ me for not seeing that they * were* actually timestamps. Thanks for looking into this!
ned
March 9, 2017, 5:22pm
6
1 Like
rootl
March 13, 2017, 3:19pm
7
Thank you @ned ! I can help with any testing, feedback, coding etc.
ned
March 28, 2017, 4:29pm
8
1 Like
ned
Closed
April 5, 2017, 2:09pm
9
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.