Routes
/rsshub/transform/json/:url/:routeParams
Full routes
/rsshub/transform/json/https%3A%2F%2Fapi.cross-7.de%2Fpublic%2Fnews%2F321%2Farticles/title=Aktuelle%20Bekanntmachungen&item=items&itemTitle=name&itemLink=link.slug&itemLinkPrefix=https%3A%2F%2Fwww.gemeinde-altheim.de%2Fgemeinde-altheim%2Faktuelles%2Fnews%3Fc7-item%3D&itemDesc=teaserText&itemPubDate=created
Related documentation
https://docs.rsshub.app/routes/rsshub#rsshub-transform-json-url-routeParams
What is expected?
Feed should load
Value could be converted to String before .trim()
|
let link = jsonGet(item, routeParams.get('itemLink')).trim(); |
What is actually happening?
Feed is erroring
Deployment information
Self-hosted
Deployment information (for self-hosted)
OS: Debian 13; Docker 29.4.2; Image: diygod/rsshub:chromium-bundled SHA: e16ef1d7f543
Additional info
Helpful Information
Error Message:
TypeError: i(...).trim is not a function
Route: /rsshub/transform/json/:url/:routeParams
Full Route: /rsshub/transform/json/https%3A%2F%2Fapi.cross-7.de%2Fpublic%2Fnews%2F321%2Farticles/title=Aktuelle Bekanntmachungen&item=items&itemTitle=name&itemLink=link.targetId&itemLinkPrefix=https%3A%2F%2Fwww.gemeinde-altheim.de%2Fgemeinde-altheim%2Faktuelles%2Fnews%3Fc7-item%3D&itemDesc=teaserText&itemPubDate=created
This is not a duplicated issue
Routes
Full routes
Related documentation
https://docs.rsshub.app/routes/rsshub#rsshub-transform-json-url-routeParams
What is expected?
Feed should load
Value could be converted to String before
.trim()RSSHub/lib/routes/rsshub/transform/json.ts
Line 96 in 5a24c74
What is actually happening?
Feed is erroring
Deployment information
Self-hosted
Deployment information (for self-hosted)
OS:
Debian 13; Docker29.4.2; Image:diygod/rsshub:chromium-bundledSHA:e16ef1d7f543Additional info
This is not a duplicated issue