diff options
author | Alexey Shpakovsky <alexey@shpakovsky.ru> | 2014-02-27 22:01:01 +0100 |
---|---|---|
committer | Alexey Shpakovsky <alexey@shpakovsky.ru> | 2014-03-01 09:59:18 +0100 |
commit | ff36737c128d838109798b50312f692ec75cd263 (patch) | |
tree | e2a6c14cc259f557240c43d80854d5b4074a7795 /bb.sh | |
parent | cf6bdb027b461cca071212e7bb7e5f188a9d7a89 (diff) |
get_post_title in make_rss(), too
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -756,7 +756,7 @@ make_rss() { [[ "$n" -ge "$number_of_feed_articles" ]] && break # max 10 items echo -n "." echo '<item><title>' >> "$rssfile" - echo "$(awk '/<h3><a class="ablack" href=".+">/, /<\/a><\/h3>/{if (!/<h3><a class="ablack" href=".+">/ && !/<\/a><\/h3>/) print}' $i)" >> "$rssfile" + echo "$(get_post_title "$i")" >> "$rssfile" echo '</title><description><![CDATA[' >> "$rssfile" echo "$(get_html_file_content 'text' 'entry' 'cut' <$i)" >> "$rssfile" echo "]]></description><link>$global_url/$i</link>" >> "$rssfile" |