You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My RSS feed has encoding="ISO-8859-1" in the header. I cannot use parser.parseURL because I need to implement custom error handling and rate limiting. The only alternative is using parser.parseString, but to use it I would need to already have a decoded string. I only have a Buffer with unknown encoding, and I would like to pass it to rss-parser to decode. I think a new function parser.parseBuffer would be appropriate for this task, and I imagine it can share a lot of code with parser.parseURL.
The text was updated successfully, but these errors were encountered:
My RSS feed has
encoding="ISO-8859-1"
in the header. I cannot useparser.parseURL
because I need to implement custom error handling and rate limiting. The only alternative is usingparser.parseString
, but to use it I would need to already have a decoded string. I only have aBuffer
with unknown encoding, and I would like to pass it torss-parser
to decode. I think a new functionparser.parseBuffer
would be appropriate for this task, and I imagine it can share a lot of code withparser.parseURL
.The text was updated successfully, but these errors were encountered: