Open wildwestrom opened 3 years ago
There's no support for the guid
tag at the moment, but I'd be open for a PR to add the functionality. It looks like the tag gets generated, but doesn't have the isPermaLink
attribute set:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<atom:link href="http://foo/bar" rel="self" type="application/rss+xml"/>
<title>Foo</title>
<link>http://foo/bar</link>
<description>some channel</description>
<generator>clj-rss</generator>
<item>
<title>test</title>
<guid>http://foo/bar</guid>
</item>
</channel>
</rss>
Should just be possible to add a bit of additional processing here to inject the attribute when the tag is generated.
I was just looking at this feed, https://hnrss.org/newest. There's an attribute to their
guid
tag calledisPermaLink
. I'd like to replicate that on my feed but it seems like the current API does not support this.How might I go about adding this?
Example: