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

大学通知-北京林业大学 的所有订阅均为乱码 #13218

Closed
1 task done
markmingjie opened this issue Sep 5, 2023 · 2 comments · Fixed by #13223
Closed
1 task done

大学通知-北京林业大学 的所有订阅均为乱码 #13218

markmingjie opened this issue Sep 5, 2023 · 2 comments · Fixed by #13223
Labels
Bug Ping: Pinged Count: 1/1 Route: v2 v2 route related RSS bug Something isn't working

Comments

@markmingjie
Copy link
Contributor

Routes

/bjfu/news/:type

Full routes

https://rsshub.app/bjfu/grs

Related documentation

https://rsshub.app/bjfu/grs

What is expected?

希望正确解析发布时间,标题以及消息全文

What is actually happening?

说来惭愧,这个路由本来是我自己照着别的路由的代码照葫芦画瓢写出来的。只知其然,不知其所以然,加上三年过去,早已忘记了当初怎么写的,因此求助好心人帮忙修复bug。
目前发现的问题有:
新闻的发布日期无法正确解析
新闻的标题常常不能解析完全,仿佛有字数限制,超出的字就不显示了
最近学校似乎换了文字编码,于是所有中文都乱码了,彻底不能正常使用。

Deployment information

RSSHub demo (https://rsshub.app)

Deployment information (for self-hosted)

No response

Additional info

<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>
<![CDATA[ 北林新闻- 绿色要闻 ]]>
</title>
<link>http://news.bjfu.edu.cn/lsyw/</link>
<atom:link href="https://rsshub.rssforever.com/bjfu/news/lsyw" rel="self" type="application/rss+xml"/>
<description>
<![CDATA[ 绿色新闻网 - 绿色要闻 - Made with love by RSSHub(https://github.com/DIYgod/RSSHub) ]]>
</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (DIYgod)</webMaster>
<language>zh-cn</language>
<lastBuildDate>Tue, 05 Sep 2023 09:00:17 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>
<![CDATA[ 鎴戞牎鍙�寮€2023骞翠笅鍗婂勾宸ヤ綔閮ㄧ讲浼� ]]>
</title>
<description>
<![CDATA[ <p style="text-indent:2em"><span style="text-indent:2em">9鏈�3鏃ワ紝鎴戞牎鍙�寮€2023骞翠笅鍗婂勾宸ヤ綔閮ㄧ讲浼氾紝鍏ㄤ綋鏍¢�嗗�煎嚭甯�浼氳��銆傛牎鍏氬�斾功璁扮帇娲�鍏冧富鎸佷細璁�锛屾牎闀垮畨榛庡摬瀵规垜鏍℃柊瀛︽湡閲嶇偣宸ヤ綔杩涜�岄儴缃层€�</span><br></p> <p style="text-indent:2em"><span style="text-indent:2em"><br></span></p> <p style="text-indent:2em"><span style="text-indent:2em"></span></p> <p class="gpCmsImg" style="text-align:center"><img src="http://news.bjfu.edu.cn/images/2023-09/2e39a429f8d44d3bbba7fa0101cff530.jpg" alt="AG8I6111.jpg" referrerpolicy="no-referrer"></p> <p style="text-indent:2em"><span style="text-indent:2em"></span><br></p> <p style="text-indent:2em">鐜嬫椽鍏冮€氭姤浜�2022骞村害骞查儴閫夋嫈浠荤敤宸ヤ綔鈥滀竴鎶ュ憡涓よ瘎璁�鈥濈粨鏋溿€佹牎棰嗗�肩彮瀛愬彫寮€瀛︿範璐�褰讳範杩戝钩鏂版椂浠d腑鍥界壒鑹茬ぞ浼氫富涔夋€濇兂涓撻�樻皯涓荤敓娲讳細鎯呭喌浠ュ強2023骞存殤鍋囨牎棰嗗�肩彮瀛愪富鎶撶殑宸ヤ綔銆備粬鐫€閲嶅己璋冧簡涓嬪崐骞存垜鏍℃帹鍔�5浠跺ぇ浜嬬殑涓绘敾鏂瑰悜锛屾姄鏂版牎鍖哄缓璁撅紝瑕佺獊鍑衡€滃揩鈥濓紝浠ュ揩鍒惰儨锛涙姄鍥藉�堕噸鐐瑰疄楠屽�ゅ缓璁撅紝瑕佺獊鍑衡€滀汉鈥濓紝甯冨眬浜烘墠锛涙姄鈥滈儴灞€甯傗€濆叡寤猴紝瑕佺獊鍑衡€滄満鍒垛€濓紝鐢ㄥソ鏈哄埗锛涙姄绉嶈川璧勬簮搴撳缓璁撅紝瑕佺獊鍑衡€滄垚鈥濓紝鍔炴垚绔嬩綇锛涙姄涓€娴佸�︾�戜笓涓氬缓璁撅紝瑕佺獊鍑衡€滄敼鈥濓紝鏀归潻鍐呮兜銆�</p> <p style="text-indent:2em"><br></p> <p style="text-indent:2em">鐜嬫椽鍏冨�瑰叏鏍″共閮ㄦ彁鍑轰笁鐐硅�佹眰銆�<strong>涓€鏄�瑕佷俊蹇靛潥瀹氥€佹暍浜庢媴褰撱€�</strong>瑕佺墷璁颁範杩戝钩鎬讳功璁板�规柊鏃舵湡濂藉共閮ㄧ殑5鏉℃爣鍑嗭紝褰撳墠闃舵�佃�佹洿鍔犳敞閲嶄俊蹇靛潥瀹氥€佹暍浜庢媴褰擄紝濮嬬粓鎶婂�︿範璐�褰讳範杩戝钩鏂版椂浠d腑鍥界壒鑹茬ぞ浼氫富涔夋€濇兂浣滀负棣栬�佹斂娌讳换鍔★紝鍧氬畾鎶娾€滀袱涓�纭�绔嬧€濃€滀袱涓�缁存姢鈥濊惤瀹炲埌瀹為檯琛屽姩涓�锛屾暍浜庡啿閿嬨€佸媷浜庢媴褰撱€佸杽浜庝綔涓猴紝鏃㈣�佹兂骞蹭簨锛屽張瑕佸共鎴愪簨銆�<strong>浜屾槸瑕佸�瑰厷蹇犺瘹銆佸�為暱鏈�棰嗐€�</strong>瑕佺墷璁颁範杩戝钩鎬讳功璁板�瑰勾杞诲共閮ㄦ彁鍑虹殑鏄庣‘瑕佹眰锛屽綋鍓嶉樁娈佃�佹洿鍔犳敞閲嶅�瑰厷蹇犺瘹銆佸�為暱鏈�棰嗭紝鎶婂�瑰厷蹇犺瘹鐗㈣�板湪蹇冦€佷粯璇镐簬琛岋紝鍋氭斂娌讳笂鐨勬槑鐧戒汉锛屽姞寮哄�︿範銆佺Н绱�缁忛獙銆佸�為暱鎵嶅共锛屾矇涓嬪績鏉ュ共宸ヤ綔锛屽績鏃犳梺楠涢捇涓氬姟銆�<strong>涓夋槸瑕佹彁鍗囬�嗗�煎姏锛屽甫濂介槦浼嶃€�</strong>瑕佸姞寮烘矡閫氬崗璋冭兘鍔涖€佺粺绛瑰垎鏋愯兘鍔涳紝鍧氭寔鏁堟灉瀵煎悜锛屽�炲己鍏滃簳鎰忚瘑锛屽甫棰嗗洟闃熶互瀹為檯琛屽姩鎺ㄥ姩宸ヤ綔钀藉湴瑙佹晥銆備粬寮鸿皟锛岃繎骞存潵褰㈠娍鍙戝睍鍙樺寲蹇�锛屽�︽牎浜嬩笟鍙戝睍鍔垮ご閫愭笎鍚戝ソ锛屼竴浠跺張涓€浠跺ぇ浜嬨€佷竴椤瑰張涓€椤硅壈宸ㄤ换鍔℃帴韪佃€岃嚦锛岃矗浠婚噸澶с€佷娇鍛藉厜鑽c€傚笇鏈涘叏浣撳共閮ㄦ暀甯堝湪鏍″厷濮斿潥寮洪�嗗�间笅锛岀珯鍦ㄥ�瑰巻鍙茶礋璐c€佸�规湭鏉ヨ礋璐c€佸�瑰厷璐熻矗銆佸�逛簨涓氳礋璐g殑楂樺害锛屽彂鎵�鎷兼悘绮剧�烇紝浠ラケ婊$殑鐑�鎯呫€佸喘鏂扮殑闈㈣矊銆佸崄瓒崇殑骞插姴鎺ㄥ姩鎴戞牎浜嬩笟楂樿川閲忓彂灞曘€�</p> <p style="text-indent:2em"><br></p> <p style="text-indent:2em">瀹夐粠鍝插厖鍒嗚偗瀹氫簡鎴戞牎鏆戝亣鏈熼棿鐨勫悇椤瑰伐浣溿€備粬鎸囧嚭锛屽�︽牎鍏氬�旂��鍏�娆″叏浼氬叏闈㈡€荤粨浜嗗�︽牎鍗婂勾鏉ョ殑宸ヤ綔锛屾彁鍑哄�︽牎瑕佸湪鍔炲�︾┖闂村�炲ぇ銆佹椂浠d娇鍛芥洿閲嶃€佸彂灞曡禌閬撴嫇瀹界殑鏂伴樁娈碉紝鍥炵瓟濂解€滄暀鑲插己鍥斤紝鍖楁灄浣曚负鈥濃€滅敓鎬佹枃鏄庯紝鍖楁灄浣曚负鈥濃€滀竴鏍′袱鍖猴紝鍖楁灄浣曚负鈥濈殑鏃朵唬鍛介�樸€傚叏浼氳仛鐒﹀�︽牎浜嬩笟楂樿川閲忓彂灞曪紝鎻愬嚭浜嗛珮璐ㄩ噺鍏氬缓鐨勨€滀笁涓�鍏抽敭鈥濓紝瀛︽牎楂樿川閲忓彂灞曠殑鍏�涓�鍐呮兜鐗瑰緛锛屼互鍙婄幇闃舵�垫帹鍔ㄥ�︽牎楂樿川閲忓彂灞曠殑鍏抽敭鈥滀簲瀛愨€濓紝鍚勫崟浣嶈�佽�ょ湡瀛︿範棰嗕細銆佸仛濂借惤瀹炪€�</p> <p style="text-indent:2em"><br></p> <p style="text-indent:2em">瀹夐粠鍝插己璋冿紝涓嬪崐骞磋�佸�瑰�︽牎鍏氬�旂��鍏�娆″叏浼氱簿绁炲拰鎴樼暐璋嬪垝鐮旇�ㄤ細瑕佹眰鍐嶄紶杈惧啀瀛︿範锛岄噸鐐逛粠浠ヤ笅涓夋柟闈㈠仛濂藉伐浣溿€�<strong>涓€鏄�宸╁浐娣卞寲瀛︿範璐�褰讳範杩戝钩鏂版椂浠d腑鍥界壒鑹茬ぞ浼氫富涔夋€濇兂涓婚�樻暀鑲叉垚鏋溿€�</strong>瑕佸叏闈㈡€荤粨杩愮敤涓婚�樻暀鑲叉垚鏋滐紝鎶婃彙鈥滀笁涓�鍏抽敭鈥濆拰鈥滀竴涓�淇濋殰鈥濓紝鏇村ソ鍙戞尌鎬濇兂鏀挎不宸ヤ綔鐢熷懡绾夸綔鐢�锛屽紩棰嗗甫鍔ㄥ叏鏍″笀鐢熻仛鐒︽湇鍔″浗瀹剁敓鎬佹枃鏄庡缓璁撅紝浠ラ珮璐ㄩ噺鍏氬缓寮曢�嗗�︽牎楂樿川閲忓彂灞曘€�<strong>浜屾槸鍒囧疄鍙戞尌鏂板舰鍔夸笅鈥滀簲瀛愨€濊仈鍔ㄥ彔鍔犳晥搴斿拰鐗靛紩浣滅敤銆�</strong>瑕佹姠鎶撻泟瀹夋牎鍖虹巼鍏堝紑宸ユ満閬囷紝鎺ㄥ姩鈥滈儴灞€甯傗€濆叡寤轰换鍔℃寔缁�钀藉湴锛屽姞蹇�鈥滃浗瀹舵灄鑽夌�嶈川璧勬簮搴撯€濆缓璁撅紝鎺ㄥ姩鈥滃叏鍥介噸鐐瑰疄楠屽�も€濆疄浣撹繍琛岋紝浠モ€滀竴娴佸�︾�戜笓涓氣€濆缓璁句负榫欏ご鎺ㄨ繘鎴樼暐璋嬪垝鍏ㄦ牎缁熺�瑰竷灞€锛屼负鎺ㄥ姩瀛︽牎楂樿川閲忓彂灞曞�戦€犳柊鍔ㄨ兘鏂颁紭鍔裤€�<strong>涓夋槸绔嬭冻甯堢敓鐨勬柊闇€姹傛柊鏈熺浖鏀诲潥鍏嬮毦銆�</strong>瑕佸畧鐗㈠畨鍏ㄥ簳绾匡紝闃茶寖鍖栬В瀹夊叏椋庨櫓锛屼互瀵瑰笀鐢熸瀬绔�璐熻矗鐨勭簿绁炴姄濂藉�︽牎鏃ュ父瀹夊叏宸ヤ綔锛涜�佷富鍔ㄦ媴褰撲綔涓猴紝鍧氬喅鍟冩帀鍒剁害瀛︽牎鍙戝睍鐨勨€滅‖楠ㄥご鈥濄€�</p> <p style="text-indent:2em"><br></p> <p style="text-indent:2em">鍏ㄦ牎鍓�澶勭骇浠ヤ笂骞查儴銆侀儴鍒嗘暀甯堜唬琛ㄥ弬鍔犱細璁�銆�</p> ]]>
</description>
<pubDate>Mon, 04 Sep 2023 16:00:00 GMT</pubDate>
<guid isPermaLink="false">http://news.bjfu.edu.cn/lsyw/e55fc48e53cf43c08695d6cbefa6d570.html</guid>
<link>http://news.bjfu.edu.cn/lsyw/e55fc48e53cf43c08695d6cbefa6d570.html</link>
<author>

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported
@markmingjie markmingjie added the RSS bug Something isn't working label Sep 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.

@markmingjie
Copy link
Contributor Author

本校的所有rss都有这个问题,请求一并修复,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Ping: Pinged Count: 1/1 Route: v2 v2 route related RSS bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant