Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 04 12:12
    outbreak opened #291
  • May 08 20:39
    danmactough closed #290
  • May 08 20:39
    danmactough commented #290
  • May 08 02:45
    chuanqisun opened #290
  • May 06 23:46
    danmactough commented #91
  • May 06 22:52
    yPhil-gh commented #91
  • May 06 22:37
    yPhil-gh commented #289
  • May 06 22:36
    yPhil-gh closed #289
  • May 02 14:55
    yPhil-gh edited #289
  • May 02 14:55
    yPhil-gh edited #289
  • May 02 14:54
    yPhil-gh edited #289
  • May 02 14:53
    yPhil-gh opened #289
  • Apr 02 16:20
    Pomax opened #288
  • Mar 21 01:09
    danmactough closed #287
  • Mar 21 01:09
    danmactough commented #287
  • Mar 20 16:41
    yPhil-gh edited #287
  • Mar 20 16:38
    yPhil-gh edited #287
  • Mar 20 16:37
    yPhil-gh opened #287
  • Jan 19 21:10
    danmactough closed #286
  • Jan 19 21:10
    danmactough commented #286
Simon Morgan
@drguildo
so do i need to create a whole new request object each time (including event handlers)? can i reuse the feedparser object or do i have to use a new one too?
rdbcci
@rdbcci
Theoretically you should be able to what you want to do. But I would use the iconv.js example as a starting place. https://github.com/danmactough/node-feedparser/blob/master/examples/iconv.js
esmaeiliali
@esmaeiliali
Hi there
I have a question regarding node-feedparser
betaredex
@betaredex
lets hear it
esmaeiliali
@esmaeiliali
I see how this tool can read the rss feed, however once the rss feed updates, it does not show the new ones
is there any way which I can get the new feed coming from the rss?
as an example, lets say right now the rss feed has 5 articles inside it
but within the next hour there might be some articles added to it, so the 5 gets pushed down in the rss and the new ones are on the top
so as each new article comes out I want to display the title on console.log
esmaeiliali
@esmaeiliali
any help would be appreciated
esmaeiliali
@esmaeiliali
I forgot to mention that the rss feed is coming from an external source
Dan MacTough
@danmactough
feedparser just parses feeds. It doesn't fetch them or monitor them. That's up to you. 😀
esmaeiliali
@esmaeiliali
I see, so is there a way to do that?
esmaeiliali
@esmaeiliali
because I am not an expert on nodejs I am looking for something that would be able to integrate with it
Robert Kaussow
@xoxys
hi i try to parse a feed and get all posts newer than a given datetime
has somebody an idea how to start?
esmaeiliali
@esmaeiliali
Hey, one quick question, how would I be able to empty the feed in the feedparser?
@danmactough is there any way to empty the feed in the feedparser? lets say I have the feed from www.foo.com and I want to empty it and refill it with feed from www.bar.com is that possible?
Navid Al Nadvi
@nanadvi
Hi, Do i have to send the response to feedparser as a stream?
D S
@CircuitCodes
How do you grab a random post from a feed with FP?
Yassin Philip
@yassinphilip
Hi!
I'm wondering what "options" is in the README.md example..?
Yassin Philip
@yassinphilip
Oh, OK, I get it now, don't mind me :)
Dan MacTough
@danmactough
🙃
Jérôme Tremblay
@jerometremblay
Is it possible to use feedparser with window.fetch? it's response.body has a .pipeTo that should allow piping to a stream, but i am getting TypeError: Illegal invocation
Dan MacTough
@danmactough
Feedparser needs a readable stream, so it wouldn't work without doing something more to give fetch a readable stream interface.
Jérôme Tremblay
@jerometremblay
response.body is a ReadableStream, but unlike the example with 'request', it doesn't have a .pipe method to send it directly to feedparser. I expected .pipeTo to be the same, but obviously there are differences
maybe you would have a library to recommend to use client-side instead of 'request' ?
Dietrich Ayala
@autonome
hello! i'm seeing html entities (> for example) removed from item titles
is there a setting or something to preserve?
i tested item title length, and looks like feedparser is just removing them altogether
i'll file an issue also
Dietrich Ayala
@autonome
danmactough/node-feedparser#243
Thanks for any help :D
Hemant Singh
@heloscream
feed parser is not parsing all the fetched articles ????
yPhil
@yassinphilip_twitter
Hi everyone ; Feedparser is great! :)
What I'd like to know though, is how to set the user agent used by requestbecause once in a while, an HTML page is returned
yPhil
@yassinphilip_twitter
Does anybody manage to read this feed with feedparser? https://www.blendernation.com/feed/
r00tz
@razor950
@danmactough thank you for this module
that's all I came here to say :)
Dan MacTough
@danmactough
Thanks for the kindness @razor950!
r00tz
@razor950
its such a fantastic module
using it to feed a news tab in my application ;)
Dan MacTough
@danmactough
👍
praveen poojary
@praveenpoojary1_twitter
Hello Dan
For this rss feed I am getting date field as Invalid date
praveen poojary
@praveenpoojary1_twitter
I can see that for this url date is not right format also
Saturday,January 27,2018 16:36 pm