parent
93717bc9b8
commit
93d6877a38
1 changed files with 2 additions and 2 deletions
4
bb.sh
4
bb.sh
|
@ -858,7 +858,7 @@ make_rss() {
|
|||
pubdate=$(LC_ALL=C date +"%a, %d %b %Y %H:%M:%S %z")
|
||||
echo '<?xml version="1.0" encoding="UTF-8" ?>'
|
||||
echo '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">'
|
||||
echo "<channel><title>$global_title</title><link>$global_url</link>"
|
||||
echo "<channel><title>$global_title</title><link>$global_url/$index_file</link>"
|
||||
echo "<description>$global_description</description><language>en</language>"
|
||||
echo "<lastBuildDate>$pubdate</lastBuildDate>"
|
||||
echo "<pubDate>$pubdate</pubDate>"
|
||||
|
@ -892,7 +892,7 @@ make_rss() {
|
|||
# generate headers, footers, etc
|
||||
create_includes() {
|
||||
{
|
||||
echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url\">$global_title</a></h1>"
|
||||
echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>"
|
||||
echo "<div id=\"description\">$global_description</div>"
|
||||
} > ".title.html"
|
||||
|
||||
|
|
Loading…
Reference in a new issue