Blog

Article Tags

Hua Feature Completion

By William Jeffrey Rankin, Sat Apr 6 2024

With the inclusion of paging for tagged-with-* files (revision 140), Hua is now feature complete. There's still work to do: for example, I want to simplify some of the code and I'm very interested in how well Hua performs with a large number of articles. But, for now, the tool does everything I want it to do while retaining the flexibility and simplicity I envisioned from the beginning.

Related Articles

    Article Tags

    Hua Paging Support

    By William Jeffrey Rankin, Tue Mar 26 2024

    Revision 99 of Hua supports paging. The number of entries appearing on the index page(s) is controlled using the entries_pp variable in the config file. Index file(s) are named using the index_file config variable, as before. Pages following the first are named *-2.html, *-3.html, etc.

    I'm considering implementing this for the tagged-with files as well.

    Related Articles

        Article Tags

        Hua Meta-information Support

        By William Jeffrey Rankin, Sun Feb 11 2024

        As of revision 63, released on Feb 10, 2024, Hua (my PowerShell-based static content generator) supports meta-information (description, keywords, and author) for individual articles. Meta information is maintained in a separate delimited file. Meta-info isn't required (but is certainly desirable) and Hua will provide defaults (the 000000 record in the meta database) if an individual article isn't represented in the file.

        Initially, I considered simply using article tags for keywords. But I believe keywords to be finer-grained than tags and should therefore be separated. There will be, no doubt, some common entries in both lists.

        Related Articles

            Article Tags

            Hua Enhancements

            By William Jeffrey Rankin, Tue Dec 26 2023

            I've made some enhancements to Hua, my PowerShell based static content generator, over the past few days. Formerly, all tagged-with-* files, as well as index and archive files were regenerated every time Hua was run. Now, Hua runs a comparison to determine if the files have actually changed, and replaces them accordingly. In this way, files that haven't really changed are not reuploaded to a remote server by tools that rely simply on date as change criteria (among other use cases).

            Related Articles

                Article Tags

                Integrating Hua's Markdown Support

                By William Jeffrey Rankin, Thu Nov 10 2022

                Hua, my PowerShell based static content generator, now supports Markdown. I wanted to integrate and test it on an actual blog. This page is coded in Markdown.

                Integration with my existing blog was simple. All that was required was to modify the md-template.html file in Hua's markdown directory to contain the appropriate HTML structures, and voila!

                Related Articles