#!/bin/sh

if [ -z "$1" ]; then 
	echo "no URL specified"
	exit -1;
fi
url=$1

curl --silent "$url" | grep -E '(title>|description>)' | \
  sed -n '3,$p' | \
  sed -e 's/<title>//' -e 's/<\/title>//' -e 's/<description>/   /' \
      -e 's/<\/description>//'

