Normalize URLs when submitting artwork to database

This commit is contained in:
Alex Cabal 2024-01-09 13:59:00 -06:00
parent f9c873003e
commit e17a4bcc65
10 changed files with 182 additions and 29 deletions

View file

@ -140,8 +140,6 @@ Before submitting design contributions, please discuss them with the Standard Eb
- Write responsive CSS to make artwork list at `/artworks` mobile-friendly.
- Normalize page scan/museum URLs to remove unnecessary query string parameters and hash anchors, resulting in a minimum viable URL. For example, normalizing `https://books.google.com/books?id=k9qgAAAAMAAJ&newbks=1&newbks_redir=0&pg=PA11#v=onepage&q&f=false` to `https://books.google.com/books?id=k9qgAAAAMAAJ&pg=PA11`
## PHP code style
- Indent with tabs.