Commit Graph

19 Commits

Author SHA1 Message Date
Bryan 7eb6400f6c
feat: add .debug.html (#12476)
* feat: add .debug.html

* Update lib/middleware/template.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* use regex to extract index

* add tests

* add docs

---------
2023-05-09 17:26:24 +08:00
零小白 728da7f154
fix: author is not iterable (#11555)
Co-authored-by: xianjiantao <xianjiantao@bytedance.com>
2023-01-04 21:44:23 +08:00
Tony d2ab8ab3c0
feat(core): json feed (#11494)
* feat(core): json feed

* docs: json feed description

* fix: remove extra comma if no elements exist after author

* test: json feed test

* feat: generate json feed without art-template

* test: fix coverage

* style: 4 spaces json

* docs: fix parameter
2023-01-02 21:35:36 +08:00
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 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
DIYgod ba09be474d
test: fix rss-parser update error 2021-11-28 00:43:59 +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
DIYgod aea67f7ae0
feat: longer default titleLengthLimit 2020-03-17 18:51:29 +08:00
junfengP dae512feb9
feat: add route javlibrary (#3797) 2020-02-01 19:46:32 +08:00
DIYgod cbe13ea05b
test: fix require 2019-09-18 18:03:50 +08:00
DIYgod 24cab914d8
feat: error page 2019-09-04 16:00:00 +08:00
DIYgod 0af16097b3
feat: replace text 2019-09-04 14:28:29 +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
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 2438a498db
test: clear up 2019-01-31 15:30:44 +08:00
DIYgod 9afa5049d0
test: middleware/header 2019-01-31 15:12:54 +08:00
DIYgod 0a62389eaa
test: middleware/template 2019-01-31 11:45:00 +08:00