Title now snatched from index.html file
This commit is contained in:
3
rss.sh
3
rss.sh
@ -39,8 +39,7 @@ done
|
|||||||
|
|
||||||
shopt -u extglob
|
shopt -u extglob
|
||||||
|
|
||||||
printf 'Title of blog post:\n'
|
TITLE="$(cat "${WEBROOT}/${LINK}/index.html" | grep -A1 '<title>' | grep '\[' | sed 's|.*\[ ||g; s| \| easthighNerd \].*||')"
|
||||||
read -r TITLE
|
|
||||||
|
|
||||||
printf 'Description of blog post:\n'
|
printf 'Description of blog post:\n'
|
||||||
read -r DESCRIPTION
|
read -r DESCRIPTION
|
||||||
|
Reference in New Issue
Block a user