Merge branch 'dev' of git.notsyncing.net:markus/lifomapserver into dev
This commit is contained in:
commit
447cd904c4
@ -9,7 +9,7 @@ categories=""
|
|||||||
|
|
||||||
data=`curl -s "$1"`
|
data=`curl -s "$1"`
|
||||||
|
|
||||||
temp=`echo "$data" | sed -n 's/<p>\(.\+\).*/\1/p' | head -n1`
|
temp=`echo "$data" | sed -n 's/<p>\(.\+\).*/\1/p' | grep -v -e '^<br />$' | sed 's#^</p>##' | head -n1`
|
||||||
if [ "$temp" != "" ]; then
|
if [ "$temp" != "" ]; then
|
||||||
temp=`echo "$temp" | sed "s#href=\"#href=\"$BASE#g" | sed 's/"/\\\\"/g' | sed 's/\t//g'`
|
temp=`echo "$temp" | sed "s#href=\"#href=\"$BASE#g" | sed 's/"/\\\\"/g' | sed 's/\t//g'`
|
||||||
description="$temp"
|
description="$temp"
|
||||||
|
Loading…
Reference in New Issue
Block a user