BASC-Archiver
BASC-Archiver copied to clipboard
Store the css inside the board's folder instead of inside every thread folder
I don't think many changes are needed (talking out of my ass).
Just change the directory of the css files on the html to \board\css instead of thread\css, that way all threads can use just those files instead of writing new pointless files.
Yeah, I've been thinking about this. The issue with this change is it means you can't just pickup a thread's folder, zip it up and give it to someone else.
We could make it a command-line and/or configuration file option though, to save it in the board folder instead of the thread folder.
Another issue is that because it's tied to the current 4chan html, when 4chan changes their layout or CSS this sort of a solution would break all the previously/newly archived threads, which is why I'm also a bit nervous to make this sort of a change.
I can see this sort of thing working really nicely with the templating solution when that gets implemented though.