advertisement

Article:
  Build Your Own Blogging Application, Part 2
Subject:   Script updateBlog.sh
Date:   2004-11-12 18:04:04
From:   ptwobrussell
All,


My apologies. You need script updateBlog.sh to make your blog functional. It is inserted below for your convenience. I'm sorry it's not inline in the article above. Hopefully, the script tags around it will preserve its structure for you.



#!/bin/bash
#Glue for the perl scripts


#configuration settings
export BLOG_PATH=/Volumes/<insert your .Mac username here>/Sites
export BLOG_PAGE=sampleFormat.html
export BLOG_ENTRY=newentry


#update the image tags in file 'newentry' and
#copy the image files to the iDisk
./processImages.pl $BLOG_ENTRY $BLOG_PATH


#execute the read.pl script and pass args.
./postEntry.pl $BLOG_PATH/$BLOG_PAGE


1 to 1 of 1
  1. Script updateBlog.sh
    2004-12-19 19:20:34  manuelderieux [View]

1 to 1 of 1