* 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
* feat(route): add Eagle's blog and refactor to V2
* fix: remove deprecated eagle radar rules
* fix: changelog date and guid
* fix(route): add language option
* Translate documentation of shopping craigslist from Chinese to English.
From docs/shopping.md to docs/en/shopping.md
* Update docs/en/shopping.md, route descrption of Craigslist
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Add New York Museums with working code
* Add Guggenheim and fix Jewish Museum
* Add pubDate for Gugg and Met Exhibitions
* Update docs
* Add New Museum and MCA Chicago, update document
* Fix en route
* Add and update radar.js
* Add Brooklyn Museum
* Reformat code
* Update route and travel information
* Fix `http` -> `https` for `radar.js`
* Change some link quotations mark
* Using `parseDate` provided by the project
* Removing "insecureHTTPParser"
* Fix JewishMuseum issue
* Use regex instead of node's vm
* Update lib/v2/jewishmuseum/exhibitions.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/guggenheim/exhibitions.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/en/travel.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/travel.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Format doc
* Update api.md
* Add <code> tag for <route> and fix English documentation
* Update docs/parameter.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/parameter.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* 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>
feed title changed to English
route path changed
exclude 'no posts found' messages (always)
custom route params:
exclude forwarded/reply/service messages (selectable)
exclude unsupported messages (selectable, default)
remove link preview (selectable)
remove metadata (via bot / forwarded from / reply to) (selectable)
add forwarded message author (selectable, default)
add inline buttons (selectable)
remove media tags in title (selectable)
non-emoji media tags (selectable)
search query (selectable, retain backward compatibility)
message types newly supported / enhanced:
reply (previous not in media tags, lacks of via bot)
forwarded (previously not in media tags, lacks of via bot)
service (previous not in media tags, img not extracted)
via bot (previous unrecognized, treated as normal messages)
video (previous use another emoji as media tag)
GIF (previous unrecognized, treated as video)
poll (previous only poll title)
voice (previous use another emoji as media tag, no title/content)
music (previous unrecognized, treated as document)
document (previous no content, broken if multiple exist)
location (previous only media tag)
contact (previous totally unsupported)
sticker (previous only media tag)
animated sticker (previous totally unsupported)
unsupported (previous totally unsupported)
misc:
fix emoji in posts: weird format (Italic and Bold)
fix title: lacks of spaces
fix title: use pubDate even if media tags exist
fix broken documents message if multiple documents exist
fix mistaken exception description
fix media sequence: video always at last, #4777
fix: autofilled title (pubDate) not in UTC
use cache
minor refactor
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>