mirror of
https://codeberg.org/librarian/feeds
synced 2024-12-06 19:16:24 +01:00
Merge pull request #2 from MJDSys/FixMissingRssAuthor
Add the author to the item in an rss feed.
This commit is contained in:
+3
-4
@@ -5,8 +5,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
var atomOutput = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
var atomOutput = `<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>jmoiron.net blog</title>
|
||||
<id>http://jmoiron.net/blog</id>
|
||||
<updated>2013-01-16T21:52:35-05:00</updated>
|
||||
@@ -44,8 +43,7 @@ var atomOutput = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
</entry>
|
||||
</feed>`
|
||||
|
||||
var rssOutput = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0">
|
||||
var rssOutput = `<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
|
||||
<channel>
|
||||
<title>jmoiron.net blog</title>
|
||||
<link>http://jmoiron.net/blog</link>
|
||||
@@ -57,6 +55,7 @@ var rssOutput = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<title>Limiting Concurrency in Go</title>
|
||||
<link>http://jmoiron.net/blog/limiting-concurrency-in-go/</link>
|
||||
<description>A discussion on controlled parallelism in golang</description>
|
||||
<author>Jason Moiron</author>
|
||||
<pubDate>2013-01-16T21:52:35-05:00</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
Reference in New Issue
Block a user