Satellite
Photography, Website 03/20/2007 |I’ve updated djwudi.com (which I’m using to highlight my photography) to use Satellite. Since Dreamhost has a few security measures in place that needed to be worked around, I’m detailing my changes to the source code under the jump.
Change log from the Satellite v1.0 PHP4 source files:
/setUp/preferences.php:- added Tolka Rover’s
safe_file_get_contentsfunction to work around Dreamhost disallowing the PHPfile_get_contentsfunction, - altered
getSingleImage()according to sthane’s instructions to pull the intro page image from all photos tagged ‘myfavorites’ rather than just the most recent 56 images.
- added Tolka Rover’s
/xml/xml_domit_parser.php: changed allfile_get_contentscalls tosafe_file_get_contents(lines 1632 and 1634 originally)./index.php:- changed the title header to something more descriptive than ‘Site Title`,
- added a link to this change log to the ‘powered by’ line.
/sets.php: changed the title header./set.php: changed the title header (this really should be a variable in the prefs file…)./recent.php: changed the title header./tags.php: changed the title header./tag.php: changed the title header./permalink.php: changed the title header from Ted’s info to my info (heh…)./contact.php:- changed the title header,
- added my contact information.
/about.php:- changed the title header (yes, this should definitely be a variable…),
- added some drivel about me.
- Wondered why I didn’t just add a variable for the title header instead of whining about it, then figured I’d already changed them all, so it wasn’t worth going back and re-changing it after the fact.
[See also: New Header Images | Automatic defrag in Panther | Up, Up and Away… | Christmas in Alaska | Happy Holidays from Me, Prairie…and Flickr ]
2 Responses to “Satellite”
Leave a Reply






March 20th, 2007 at 12:15 pm
You should be using subversion — dreamhost has a one click install for it. It will help you keep track of this sort of changes when you need to upgrade to the next version and apply them again.
March 22nd, 2007 at 2:30 am
What’s even more bizarre is that there’s already a $siteTitle variable being used in the page Title attribute! Weird!