Journal - Technical

Below you will find journal entries relating to programming in some manner or other. Most of the projects I engage in will start with a note posted here during their development stage. The ones with a tick next to them should also have a link to their display pages on this site or elsewhere.

statusmore mod_rewriting 18th Jul 2003

As you might have guessed, the visible URLs here bear no resemblance to the actual file structure that runs teckis. Basically every time a request for teckis.com/whatever is received, it is pulled apart and interpreted by the same core template file which then deduces exactly which content/menu parts to include.
A few people have been using old distro links such as compiled_files/img_create.php (which no longer exists*) so I added a few more lines to the .htaccess so they now get to see the proper page.
The old workaround of actually having a header redirect file and folder (well two actually - one for 'compiled_files' and one for 'created_files') have now been deleted and the public root of this ol' domain is once again looking clean and efficient.

statuswe have images 25th Jun 2003

In 'World News' the 'Daily Images' subsection now displays two images - NASAs daily astronomy picture and USRAs nature picture.
They should run as cron jobs to automate the pickup, have to leave that a day to test though - fingers crossed.
The cron runs ok, once I set it to a time compatible with the sites own updates. Had one glitch with the USRA one not returning a valid array for getimagesize, though simply worked around that with error suppression. Am still getting snags with the USRA one - will try it for a few more days before deleting it - shame really.

Am also testing the crontabs for the rss newsfeed pickups and will configure the other dropdown subsections once I'm happy that all is working properly.

statusworking on scriptix / thumbnails section 23rd Jun 2003

I have just about got the scripting finished for Andy so have made a little headway on the thumbnails sections.
Slightly recoded the class file so the comments look neater, so a base_image isn't used to define maximum sizes and some error suppression for when the resource image returns a null value.

So far I've added a display page for the various transformations from the class and a download page with extensive usage notes.

statusclient defined thumbnail cropping 21st Jun 2003

This has become vaguely a side project while I run up a simpler image upload and resize system for the guy who designed the geeky caricatures.
The clientside aspect runs ok so far in NS7+ and IE6, though barfs a tad in Opera as the form element for reading the clientside filename includes double quotes - should be an easy fix though.
Will (once I've finished the requested project) run it into a PHP backend processing script and see how it all renders.


← Previous 5  

SiteMap