347
edits
Fahrenheit (talk | contribs) |
Fahrenheit (talk | contribs) |
||
Line 67: | Line 67: | ||
==Merging & Hosting== | ==Merging & Hosting== | ||
Every css that is used this way gets merged into 1 file (to reduce http overhead), uploaded to 1 of anidb's server and added to the | Every css that is used this way gets merged into 1 file (to reduce http overhead), uploaded to 1 of anidb's server and added to the style selection in the anidb [[profile]]. To realize this a python script is used, doing the following: | ||
# read the file '''stylelist''' in the same folder as the script (ignores lines starting with #) | # read the file '''stylelist''' in the same folder as the script (ignores lines starting with #) | ||
Line 75: | Line 75: | ||
# checks if there are is an /images/ folder below the css folder and if yes collects a list of all gif/jpg/png files | # checks if there are is an /images/ folder below the css folder and if yes collects a list of all gif/jpg/png files | ||
# uploads the big css file and the images to 1 of anidb's server | # uploads the big css file and the images to 1 of anidb's server | ||
[[Category:Development]][[Category:CSS]] | [[Category:Development]][[Category:CSS]] |
edits