Commit Graph
80 Commits
Author SHA1 Message Date
SUPER 5af7a60064 fix(doc): route description in quick-start (#10221)
* fix(doc): quick start cn

* docs: fix corresponding en docs

* fix: also update radar rules quick-start
2022-07-14 23:39:16 +08:00
Atlas Quan bd80574f76 feat(route): add slowmist news (#10044)
* feat(route): add slowmist news

* feat(utils): remove useless ul for code section

* docs: add slowmist news route docs

* docs(quick-start): new router under /lib/v2

* test(utils): add test fixArticleContent for new wechat-mp code

* feat(router): update radar source of slowmist
2022-07-04 23:44:58 +08:00
Hagb (Junyu Guo 郭俊余)andTonyRL eb79456f40 docs: support parameter suffix * (#7946)
* docs: support parameter suffix `*`

`*` denotes a zero or more parameter matches, so the parameter including `*` is optional. (https://github.com/pillarjs/path-to-regexp#zero-or-more)

* docs: mention the parameter suffix `*`

* docs: support parameter suffix `+`

* docs: add document of parameter suffixs

* docs: fix having / at the end of parameter

* docs: add missing changes in en docs

* docs: typo

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-07 17:18:35 +08:00
Bin Wang 6b7381e1e3 feat(core): add custom fields to atom feed (#9355)
* Add custom fields to atom feed

Atom allows to extend the xml with custom namespaces. This commit is
a first commit that tries to add some custom RSSHub fields to atom feed.

In this commit, I added three very common fields: upvotes, downvotes
and comments. Lots of websites has these common fields, like Youtube,
Twitter, Reddit, HackerNews and so on. Within these fields, RSS readers
can have more information to sort the contents, and can display these
information to user in a better format.

The document has been updated to reflect these new fields. I also changed
Bilibili video route as an example to show how to add number of comments
to the generated feed.

* docs: interactions
2022-04-18 02:54:32 +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 41910802f2 feat(core): caching enhancements (#9227)
* fix(core): redis cache ignore `maxAge` when refreshing

memory cache do not have such a problem

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

* feat(core): make `cache.tryGet()` refreshing selectable

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

* docs: `ctx.cache.tryGet()` update

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-19 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
Tony e9a2c3af55 style: remark v13 (#9140) 2022-02-18 23:15:49 +08:00
TonyandDIYgod 6de540a311 docs(core): sync en docs and minor cn docs fixes (#8356)
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2021-11-27 08:53:44 +00:00
DIYgod 73cbe9985f chore: format 2021-11-27 07:06:38 +00:00
Tony 7065f51881 fix(docs): typo in script-standard radar rules (#8265) 2021-09-25 19:11:54 -07: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
Daniel Li (李丹阳)andSukka d77a039f05 style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
NeverBehave f513b5ef10 chore(docs): reword pubDate 2021-06-26 17:21:57 -07:00
Queensferry 65e74a1c5e chore(utils): parse-date supports relative time & fix routes (#7530) 2021-05-14 23:08:33 -04:00
NeverBehave 9a3ae8a4bc docs(core): pubdate, npm ci with templates (#7501) 2021-05-08 17:47:22 -04:00
DIYgod 1df0597fff Revert "style: auto format"
This reverts commit 10d16bd30a.
2020-10-15 11:01:17 +08:00
GitHub Action 10d16bd30a style: auto format 2020-10-14 19:21:52 +00:00
32f1e0d494 docs: add rssbud related info (#5857)
Co-authored-by: Cay Zhang <zcy20020811@gmail.com>
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2020-10-13 19:28:30 +08:00
DIYgod 98021a6826 Revert "style: auto format"
This reverts commit e661030efb.
2020-10-10 11:38:59 +08:00
GitHub Action e661030efb style: auto format 2020-10-10 03:19:30 +00:00
DIYgod fd782a7b39 Revert "style: auto format"
This reverts commit 82ca7b448a.
2020-10-10 11:17:09 +08:00
GitHub Action 82ca7b448a style: auto format 2020-10-09 21:09:21 +00:00
DIYgod 41bc394b08 docs: update 2020-05-18 12:04:49 +08:00
NeverBehave fca18428a8 fix: no inlineCode format 2020-05-04 04:27:42 -04:00
NeverBehave 2d734edc07 fix: missing file and table escape 2020-05-03 12:42:43 -04:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
tuzi3040 213b847073 feat: add japanpost next-gen radar-rule (#4155) 2020-03-03 12:41:50 +08:00
DIYgod 2f001cda60 chore: add radar-rules-next, update radar docs 2020-02-29 16:42:45 +08:00
DIYgod 9de1356dfa docs: English docs sync, #3051 2019-12-30 19:17:54 +08:00
niayyy ed7f05464a feat: add zzu news and fix doc error (#3597) 2019-12-19 17:22:12 +08:00
luotao 6db117da3b docs: improve joinus [调试] section (#3242) 2019-10-12 18:46:56 +08:00
DIYgod 4c5cfb1493 docs: update joinus 2019-09-26 12:00:22 +08:00
DIYgod a4f8693d88 docs: Media RSS 2019-08-29 19:13:28 +08:00
SettingDust fd82474be6 feat: media rss & yande.re media (#2924) 2019-08-29 18:42:00 +08:00
DIYgod 9a3bea3525 feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00
tuzi3040 52342a2a9f feat: add japanpost & fix: update joinus content (#2901) 2019-08-21 23:52:36 +08:00
DIYgod 3cc4d06dac docs: update radar badge 2019-08-14 19:05:44 +08:00
DIYgod dd12df8e70 docs: rsshub radar 2019-08-06 13:01:41 +08:00
DIYgod 77a149efab docs: update radar rules path 2019-08-01 01:33:20 +08:00
DIYgod b36e687ce4 docs: fix 2019-07-29 19:37:24 +08:00
DIYgod 724d7ffdf9 docs: RSSHub Radar rules 2019-07-29 19:34:20 +08:00
Henry Wang f73690682e fix: better debugging experience with cluster (#2447) 2019-06-20 11:50:28 +08:00
DIYgod 362db670e0 feat: add vgtime keyword, close #2328 2019-06-05 19:13:46 +08:00
DIYgod ed42dc5965 docs: update joinus 2019-06-05 17:55:54 +08:00
DIYgod defbaeab59 docs: got 2019-06-03 18:33:15 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod 7d1b387205 docs: sidebarDepth 3 2019-05-13 03:29:07 +08:00
DIYgod 075a8d1864 feat: support setting expire time for content cache 2019-05-09 01:11:19 +08:00
DIYgod aef8204b9e docs: PascalCase component 2019-03-25 00:51:16 +08:00