nonebot-bison/tests/platforms/static/rss-github-atom.xml
UKM 9838e25bad
🎈优化RSS推送的内容 (#259)
* 🧪 test(tests): 添加了RSS的单元测试

* 🎈 perf(rss and test): 优化了RSS部分源标题正文重复的问题

部分RSS源(RSSHub的Twitter)存在正文当标题用的情况,导致推送的时候呈现为两段重复的文字,现通过Jaccard相似系数来判断是否需要去重

* Update nonebot_bison/platform/rss.py

Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>

* Update nonebot_bison/platform/rss.py

Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>

* 🐞 fix(platform/rss): 修复了漏掉相似文本在后端位置的问题

* 🐞 fix(rss): 修正一些feed无法正确识别时间的bug

一些feed时间只有updated标签或者没有,原先的代码只能解析用published标签的时间

felinae98#275

* 🎈 perf(rss): 更改字符串相似度比较方法

从Jaccard相似系数比较相似度改为通过最长公共子序列来比较

* 🦄 refactor(rss): 重构实现字符串相似度比较的方法

使用标准库difflib代替原先手搓的LCS

* Update nonebot_bison/utils/__init__.py

Co-authored-by: felinae98 <731499577@qq.com>

* Update nonebot_bison/platform/rss.py

* Update nonebot_bison/platform/rss.py

---------

Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com>
2023-07-18 11:54:49 +08:00

63 lines
3.0 KiB
XML
Vendored

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
<id>tag:github.com,2008:https://github.com/R3nzTheCodeGOD/R3nzSkin/releases</id>
<link type="text/html" rel="alternate" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases"/>
<link type="application/atom+xml" rel="self" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases.atom"/>
<title>Release notes from R3nzSkin</title>
<updated>2023-06-29T00:46:26+08:00</updated>
<entry>
<id>tag:github.com,2008:Repository/410126695/v3.0.9</id>
<updated>2023-06-29T00:46:57+08:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.0.9"/>
<title>R3nzSkin</title>
<content>No content.</content>
<author>
<name>hotline1337</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/32012110?s=60&amp;v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/410126695/v3.0.8</id>
<updated>2023-06-25T22:19:30+08:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.0.8"/>
<title>R3nzSkin</title>
<content>No content.</content>
<author>
<name>hotline1337</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/32012110?s=60&amp;v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/410126695/v3.0.7</id>
<updated>2023-06-25T08:38:52+08:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.0.7"/>
<title>R3nzSkin</title>
<content>No content.</content>
<author>
<name>hotline1337</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/32012110?s=60&amp;v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/410126695/v3.0.6</id>
<updated>2023-06-06T23:05:38+08:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.0.6"/>
<title>R3nzSkin</title>
<content type="html">&lt;p&gt;Added update available information&lt;/p&gt;</content>
<author>
<name>hotline1337</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/32012110?s=60&amp;v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/410126695/v3.0.5</id>
<updated>2023-06-03T19:53:30+08:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.0.5"/>
<title>R3nzSkin</title>
<content type="html">&lt;p&gt;Added &quot;Hide to tray&quot; option to the injector&lt;/p&gt;</content>
<author>
<name>hotline1337</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/32012110?s=60&amp;v=4"/>
</entry>
</feed>