#! /usr/bin/env bash # to execute in wiki.d/ APIKEY=`cat ~/.semantichacker.com_apikey` for PAGE in `echo $1 | sed "s/\./\//"`; do sleep 5 echo "http://api.semantichacker.com/$APIKEY/category?showLabels=true&uri=http://fabien.benetou.fr/$PAGE" done