Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-02-16 01:28:51 -0500
committerMike Gerwitz <mtg@gnu.org>2019-02-16 01:28:51 -0500
commit92afc7f1c02546725d3cd387f6418ab9c0efcca6 (patch)
tree2a21ae79733615f6fec9b5f0dc40dc5fb539f2e9
parent808570f3a67a571a404ded25cbec37096c2500f9 (diff)
downloadthoughts-92afc7f1c02546725d3cd387f6418ab9c0efcca6.tar.gz
thoughts-92afc7f1c02546725d3cd387f6418ab9c0efcca6.tar.bz2
thoughts-92afc7f1c02546725d3cd387f6418ab9c0efcca6.zip
rss: Clarify that RSS content is the abstract
I'm still debating whether to include the full text of the post within the RSS feed, since some of them may be substantial (like the one I'll be posting soon that I've been sitting on for a couple weeks because I'm too busy/lazy to do final editing). * src/rss.sh: Add "(Read full post)" link.
-rwxr-xr-xsrc/rss.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rss.sh b/src/rss.sh
index 5fb506f..d5057fe 100755
--- a/src/rss.sh
+++ b/src/rss.sh
@@ -70,7 +70,10 @@ gen-item()
<author><![CDATA[$author]]></author>
<link>$www/$slug</link>
<pubDate>$date</pubDate>
- <description><![CDATA[$abstract]]></description>
+ <description><![CDATA[
+ $abstract
+ <p><a href="$www/$slug">(Read full post)</a></p>
+ ]]></description>
</item>
EOF
}