rc-web@13: #!/bin/bash rc-web@13: rc-web@21: # calls phantomjs to make screenshots rc-web@21: # of each anchor in PROJECT then calls rc-web@21: # imagemagick to resize them for preview rc-web@21: # panel. The size of the screenshot rc-web@21: # is defined in rasterize.js rc-web@21: rc-web@21: # nodescore@kiben.net rc-web@21: # nodescore.kiben.net rc-web@21: rc-web@58: SERVER="http://10.80.80.130:8890" rc-web@63: BASEDIR='8' rc-web@21: PROJECT=$1 rc-web@26: THUMBPATH="www/$BASEDIR/thumbs" rc-web@21: rc-web@21: if [ ! -d $THUMBPATH ]; rc-web@21: echo creating $THUMBPATH rc-web@21: then mkdir -p $THUMBPATH; rc-web@21: fi rc-web@21: rc-web@26: ANCHORS=`grep '