Switch create.cgi to output HTML instead of text to allow for better feedback

This commit is contained in:
Kai Hendry
2011-11-22 00:22:53 +08:00
parent 64c5b9c836
commit 1c680703c6
4 changed files with 43 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ mv $temp2 $temp
if test $(xmlstarlet sel -t -v "count(//statuses/status)" $temp) -eq 0
then
head $temp
head $temp | perl -MHTML::Entities -pe 'encode_entities($_)'
if test "$2" && test "$since"
then
echo No old tweets ${since}