Finally doing a little bit of work on my own software again. Feels good ;)
Cleaning up template support in HTML Editor a bit, as well as adding some clever style sheet handling. Template info is now just a couple of META entries at the beginning of the file:
<meta name="juju:template:name" value="template.html"/> <meta name="juju:template:modified" value="1062845318"/>
And then BODY contents are intelligently replaced, as well as style sheet info in the HEAD element.
Also included some cool new style handling features:
-
Include styles – reads all style sheets, combines the data and stores it in a single <STYLE> element (eliminating dependencies on external css files)
-
Export styles – same as include but let’s you save the combined results as a single brand new style sheet. Handy for resolving multiple redefinitions of styles across multiple files.
Future plans
Since colors on this site are something I’m never happy with, I want to make a style sheet editor that is capable of manipulating ALL colors in a style sheet in a consistent way [so you could adjust contrast/hue/saturation etc at the style sheet level] This way my tweaking would take minutes rather than hours.
If I can keep working on it for a bit I may even make it into a nice blogging tool [something I've been meaning to do to save myself a lot of trouble with managing this page]