Headake

It’s Sunday afternoon again. Where does the time go. Work was extremely quiet last week, only went in 2/5 days ’cause there wasn’t enough to do. Friday night went to the movies and saw Miami Vice, which was suprisingly good – likely because it has nothing to do with that 70s TV show of the same name.

Spent Saturday shopping and putting car audio systems in. Mitsubishi suck balls for the record. I was once again reminded of two things that could have made my job much easier, which I really should invest in. 1) A multimeter, 2) Soldering iron. As I mentioned above, work is thin at the moment, and so is my wallet. I have a headache again this afternoon, body is probably trying to tell me to begin consuming alcohol, that sounds like a good idea.

Novelty wears off

I was about to continue working on Rojax but I can’t be bothered tonight, it’ll probably stay like this for a few weeks until I muster up enough energy to continue. Been reading a whole stack of AJAX tutorials and discovered that I probably don’t know enough JavaScript to make this work 🙂 I can fumble my way through PHP and SQL but JS is a whole ‘nother can of worms.

I didn’t go in to work today, after speaking with my boss on Friday we agreed there wasn’t much point. Tomorrow we’ll re-asses the situation with the business and decide which direction we want to go in. It’s certainly going to be an interesting couple of weeks at any rate. Who knows, maybe I’ll be unemployed very soon.

Comments

Comments have been added, once again largely thanks to the original CMS’ developer. All eight lines of code were added to the main Rojax engine. Also had a friend help me out with some strip tags to prevent people posting HTML in their comments. By the way, I have no intention of adding any kind of user / login system so get used to typing your name everytime you want to make a post.

Just realised with all these extra SQL tables I’m going to have modify a large chunk of the install script, it needs rewriting anwyay. Thankfully I have no intentions of releasing Rojax for quite a while yet, still have a lot of bugs to iron out first. Really need to find a way to tell AJAX to call a post from an ID given by address bar. Any JavaScript experts about ?

Tweaks and Bugs

So I’ve tweaked the backend a little, enlarged some input boxes and redone all the CSS, man what a mess! I would rewrite the whole thing from scratch but I doubt it would work properly afterwards. There’s a slight problem with the RSS feed, the links that are generated don’t quite work as it is no longer possible to call a post id via the address bar. Need to find a way to have the ID number parsed from the address bar in to the JavaScript for the AJAX functions.

Still no closer to implementing an RSS aggregator, the script I had doesn’t seem to like having it’s functions echoed later in the document, nor does it like having the feed variable set in another file (or a database for that matter). I have no intention of displaying other people’s content here, but I would like the CMS to support it. The only other thing on my To-Do list is add support for commenting, which shouldn’t be too hard. I’m also going to add an option in the backend to switch between ‘blog’ and ‘site’ mode, where either the most recent entry or the first entry is displayed by default.