bibanon / BASC-Archiver

Python-based Imageboard (4chan) complete thread archiver.
https://pypi.python.org/pypi/BASC-Archiver/
135 stars 18 forks source link

Store the css inside the board's folder instead of inside every thread folder #30

Open HASJ opened 8 years ago

HASJ commented 8 years ago

not okay 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.

DanielOaks commented 8 years ago

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.