Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Bug:error on line 60 at column 12: Opening and ending tag mismatch: item line 16 and channel #3

Open
KevinTeng0207 opened this issue May 22, 2024 · 1 comment

Comments

@KevinTeng0207
Copy link

KevinTeng0207 commented May 22, 2024

我想把臉書的粉絲專業弄能即時更新的RSS 並推播到Discord。但不知道為甚麼有點問題,想問問作者大神~

這是我造著步驟還有看過issue後弄出來的 xml

這是我要弄得RSS https://fetchrss.com/rss/664dad050bcb52324145b903664dacf4cedf577499710b24.xml

以及程式碼 https://github.com/KevinTeng0207/rss-extender

@KevinTeng0207 KevinTeng0207 changed the title 我想把臉書的粉絲專業弄能即時更新的RSS 並推播到Discord。但不知道為甚麼有點問題,想問問作者大神~ XML Bug:error on line 60 at column 12: Opening and ending tag mismatch: item line 16 and channel May 22, 2024
@RavelloH
Copy link
Owner

@KevinTeng0207 应该是因为fetchrss最近更改了rss格式,现在的程序识别异常了

不过我还做了另一个功能类似的程序,RavelloH/rss-aggregator,它也支持目前这个repo里除了广告提取的其他所有功能,并且也能在github-actions上运行,我刚刚试了一下是没问题的,你可以试试它。

你可以在rss-aggregator这个项目中的index.js中,将rssList的定义修改为以下代码:

const rssList = [
    'atom.xml', // Do not delate this. This could keep your history rss.
    // Edit the list below
    'https://fetchrss.com/rss/664dad050bcb52324145b903664dacf4cedf577499710b24.xml'
];

之后再按readme里面的条目自定义即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants