Last year, I ran across a nifty web changelog service. Although more than I needed, I liked the simple look for tracking changes. Looking for an opportunity to learn Bootstrap, I added it to my test site. Now that I’m including more features on my main blog, I thought I’d add a changelog here as well.
A little code reuse with a pinch of style.
Nothing too exciting, the changelog has a nice clean look that fits well with the rest of the site. I even added the same pagination buttons from my test site. Although looking at them now, I should make them work like the article buttons do.
The three chief virtues of a programmer are: Laziness, Impatience and Hubris.
– Larry Wall
As any good programer does, I reused code from my ZX81 program listing. You can trace that code’s origins to another site I wrote. I’ve used it well. In case you didn’t notice, I modified the view to match the original changelog’s look and feel.
Although close to the inspiration source, it isn’t identical. I used the default classes from Bootstrap mixed with the website’s style. Besides that, I spruced up each entry by adding Font Awesome icons to them. To my surprise, it integrated quite well.
Unlike the test version, which used static logs, this one reads from a database of entries. I can now add, edit and remove each changelog as needed, something I couldn’t do before. I ported the BBCODE over as well, allowing it to function much like the existing article editor.
Although I hid the editor from normal users, the changelog is visible to anyone. What do you think?