Commit Graph

22 Commits

Author SHA1 Message Date
Rongrong
5b35471e39 fix(core): offending RFC4287 (#9441)
* fix(core): offending RFC4287

should not leave `<updated>` blank when `<published>` is not blank
these two fields MUST conform to the "date-time" production in RFC3339

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* test(common-utils): complete tests

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* test(template): restrict expected value of `pubDate`

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-02 17:44:45 +08:00
Rongrong
c48ca6bd5b fix(core): invalid feed fields (#9286)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-22 02:13:15 +08:00
Rongrong
3364b7eb1d fix(route): migrate invalid enclosure_length usages to itunes_duration (#9291)
Close #9287

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-10 20:54:29 +08:00
GitHub Action
9433c49004 style: auto format 2021-09-22 12:43:18 +00:00
NeverBehave
0792f7ba25 feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
NeverBehave
4aaccd7a49 fix(core): do not add optional pubdate when it is not available (#7093) 2021-03-02 19:06:17 -05:00
zphw
c123c5c8b0 feat: added DailyArt & fix: error occurred when without user-agent (#6514) 2020-12-26 01:54:32 +00:00
Henry Wang
3426f8a1f4 feat: better Reeder support (#6510) 2020-12-23 18:08:28 +00:00
Henry
19a219e076 feat: add a default pubDate
close #5812
2020-10-09 21:54:26 +01:00
DIYgod
2aa847c71c feat: retrun JSON data for pkg 2019-09-18 18:36:37 +08:00
DIYgod
4445443946 feat: use dynamical config 2019-09-18 17:45:21 +08:00
DIYgod
745eb0d52a test: add template enclosure test cases 2019-08-23 15:44:52 +08:00
Cloud
4b4b1d492a fix: atomlink href (#2858) 2019-08-15 18:54:05 +08:00
DIYgod
b622c2b862 fix: value of atomlink 2019-08-13 01:10:13 +08:00
DIYgod
aa2236e1f6 fix: value of atomlink 2019-08-13 01:02:51 +08:00
Cloud
4d9c9c08e7 feat: 2 rules for feed validation (#2825) 2019-08-11 01:30:59 +08:00
tuzi3040
a04a88d2cd fix: value of rss TTL tag (#2297)
* fix value of rss TTL tag

* fix test algorithm for rss ttl tag
2019-06-04 11:02:56 +08:00
DIYgod
e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod
075a8d1864 feat: support setting expire time for content cache 2019-05-09 01:11:19 +08:00
Henry Wang
e1d91a591e del: line breaker handling in middleware (#1592)
* del: remove line breaker handling

As it's slowing down RSSHub drastically

* del: related test case

* feat: weibo line breaker handling
2019-02-21 15:24:55 +08:00
Henry Wang
7a0f3e3eb7 替换换行符为 <br> (#1523)
close #1522
2019-02-19 22:45:29 +08:00
DIYgod
38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00