Testing 'Read more' link in RSS
This commit is contained in:
parent
f3061c9a6b
commit
999127681b
2
build.rb
2
build.rb
|
@ -130,7 +130,7 @@ def convert_md md
|
||||||
data = item_split(l)
|
data = item_split(l)
|
||||||
item[:pubDate] = get_date(data[0], true)
|
item[:pubDate] = get_date(data[0], true)
|
||||||
item[:category] = data[1]
|
item[:category] = data[1]
|
||||||
item[:description] = data[2]
|
item[:description] = data[2] + ' <a href="' + item[:link] + '">Read more</a>.'
|
||||||
content.push(
|
content.push(
|
||||||
'<p class="meta">' +
|
'<p class="meta">' +
|
||||||
get_date(data[0]) + ' | ' +
|
get_date(data[0]) + ' | ' +
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
https://blog.cliteratu.re/html/entry001.html
|
https://blog.cliteratu.re/html/entry001.html
|
||||||
</link>
|
</link>
|
||||||
<description>
|
<description>
|
||||||
A general comparation between the most common methods for developing EPUBs.
|
A general comparation between the most common methods for developing EPUBs. <a href="https://blog.cliteratu.re/html/entry001.html">Read more</a>.
|
||||||
</description>
|
</description>
|
||||||
<author>
|
<author>
|
||||||
nika.zhenya@cliteratu.re (Nika Zhenya)
|
nika.zhenya@cliteratu.re (Nika Zhenya)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<div id="entry001"><p><a href="./html/entry001.html">Digital Publishing as Publishing from Scratch</a></p><p class="meta">October 3, 2018 | Methodology</p><p>A general comparation between the most common methods for developing EPUBs.</p></div>
|
<div id="entry001"><p><a href="./html/entry001.html">Digital Publishing as Publishing from Scratch</a></p><p class="meta">October 3, 2018 | Methodology</p><p>A general comparation between the most common methods for developing EPUBs. <a href="./html/entry001.html">Read more</a>.</p></div>
|
||||||
</section>
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
<p>Last build: October 3, 2018 | <span class="smallcap"><a target="_blank" href="https://blog.cliteratu.re/feed/rss.xml">RSS</a></span></p>
|
<p>Last build: October 3, 2018 | <span class="smallcap"><a target="_blank" href="https://blog.cliteratu.re/feed/rss.xml">RSS</a></span></p>
|
||||||
|
|
Loading…
Reference in New Issue