mirror of https://github.com/Mroik/ttbp-rssgen.git
Small change, 1 less write to file
parent
2ac5e14809
commit
46b82311f4
|
@ -8,15 +8,15 @@ else
|
|||
location="$location/rss.xml"
|
||||
fi
|
||||
|
||||
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>" > $location
|
||||
{
|
||||
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
|
||||
echo "<rss version=\"2.0\">"
|
||||
echo "<channel>"
|
||||
echo "<title>~$user on TTBP</title>"
|
||||
echo "<link>http://tilde.town/~$user/blog/</link>"
|
||||
echo "<updated>$(date)</updated>"
|
||||
echo "<description>$user's blog on tilde.town</description>"
|
||||
} >> $location
|
||||
} > $location
|
||||
|
||||
for x in $(ls /home/$user/.ttbp/entries)
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue