~callum/readable-rss

2d6d237d0d01faa4cd0425f959984dace560ec7f — Callum Brown 3 years ago d16473e main
improvements
1 files changed, 1 insertions(+), 1 deletions(-)

M get-articles.sh
M get-articles.sh => get-articles.sh +1 -1
@@ 25,7 25,7 @@ do
	node make-readable.js temp.html > readable.html
	# Get title from first line of readable.html
	# and change any '/' to ' of ' for use as a filename
	title=`head -1 readable.html | sed -e 's/\// of /g; s/:/ - /g'`
	title=`head -1 readable.html | tr '/:?"|' "X"`
	date=`sed -n 2p readable.html`
	mv readable.html "articles/$date - $title.html"
	printf "Got $title\n"