Open wcollings opened 3 years ago
404.html already covers this for a fair number of cases, but for some reason not for all. It basically parses the address for artist and file name, and then searches a "database" for where that file is with that artist in the project folder. By "database" I mean a json dict that I generated just for this
The previous website had a single directory for each artist, with every album along with every song for that album all thrown into one giant impossible-to-navigate folder. My cleaning means you now have to know the album that the song belongs to to find the right page though
This is a bit of a bigger one, but can be done. One of the changes I made when I took over was to reorganize the file structure. Part of this included writing a function that changed links from their old address to their new one (this is still under development, in globals.py).
I'm hoping to add drop-in functionality from the old site. So if you're looking at a page on clc.net, and the accent marks don't show up (because they don't), you can just change the domain from .net to .site, and my website will redirect them to where the song is located automatically. Maybe utilizing the function I talked about above, or maybe there's an easier way. The point is I want to emphasize compatibility between the sites