aharonium / opensiddur.org

Every post and page, category and contributor on opensiddur.org (in JSON format)
https://opensiddur.org
GNU Lesser General Public License v3.0
8 stars 3 forks source link

Parsing script fails without warning on too long filenames #2

Closed aharonium closed 4 years ago

aharonium commented 4 years ago

Parsing script choked without warning after failing to create a file with a too-long filename based on a very long URL.

aharonium commented 4 years ago

Think about a rule for forming URLs based on titles based on 1) title in original language, romanized, 2) author(s), 3) contextual date (if necessary).

1) do not include translation of title 2) only include translator names in specific (?) circumstances -- unknown authors, interpretive translations (?) 3) date provided when prayer is event based, or publication year of a book

aharonium commented 4 years ago

This issue can be resolved without too much fanfare by being more aware that too-long URLs will break the script, and to impose shorter URLs when Wordpress suggest way-too-long URLs.