Sat 01 May 2004
Category : Technology/weblogHQX.txt
There had been quite a few downloads recently of the PHP-based weblog system that is used to drive this site.
Unfortunately, I hadn't been updating it much. For example, initially the Search Weblog and Send-A-Mail feature didn't quite work. But I had solved it a long time ago but hadn't updated the download package with the latest version.
But I've just done that. Sorry about that.
If you download it now and enable PHP on your built-in Apache web server, you can set up your own weblog by dragging the expanded folder anywhere inside /Library/WebServer/Documents. If you do that, clicking on this link will show you what you should see when you do a http://localhost/weblog
The documentation is still outdated because it's already taken longer than I have the time to spare to update the download package. But most of the documentation is still valid.
If you need to update the weblog remotely, after you've saved the day's blog item into the docs folder, execute the following Unix shell script from the terminal (with your own modifications), and that should do the trick :
rsync -tvr -e ssh /Library/WebServer/Documents/weblog/docs \
If you're using BBEdit, you can create a file to store that script and stuff that file into BBEdit's Unix Support/Unix Scripts folder, in which case it will appear on BBedit's Unix Scripts menu, which will then allow you to update your weblog from within BBedit.
Not quite totally the Mac Way. But close enough for now.
Posted at 11:46AM UTC | permalink