#!/bin/sh

# FIXME: change the examples page to one used in the test suite

if [ ! -f FragmentParser.class ]; then
	javac *.java
fi

urilist=`wget -q -O - http://www.w3.org/2008/WebVideo/Fragments/wiki/Syntax#Examples | grep http://www.example.com/ | sed 's,.*\(http://www.example.com[^<]*\).*,\1,' | sed 's/\&amp;/\&/g'`

java -cp . FragmentParser $urilist
