Closed oussama-he closed 6 months ago
Hi 👋 could you share the feed that you're trying to parse?
I'm trying to parse this feed: https://mostaql.com/rss
On Sat, May 11, 2024, 11:27 Rowan Manning @.***> wrote:
Hi 👋 could you share the feed that you're trying to parse?
— Reply to this email directly, view it on GitHub https://github.com/rowanmanning/feed-parser/issues/123#issuecomment-2105667610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMSLY5NWUNRFCJNT5LGBODZBXXB3AVCNFSM6AAAAABHRZNAJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGY3DONRRGA . You are receiving this because you authored the thread.Message ID: @.***>
Odd I'm unable to replicate this, the feed parses fine for me and I'm able to access the published
property of all items. Could you let me know the following:
@rowanmanning/feed-parser
library you have installedfeed
variable?Thank you for your response and sorry to be late.
When you asked me about the Node.js version, I checked the runtime version used in the service I'm using. I found that they use by default a custom JavaScript runtime very similar to the Cloudflare Workers runtime. When I changed it to Node.js runtime the error disappeared.
I'm getting the error below when trying to access the
published
attribute of the feed item:My code looks like this: