Giter VIP home page Giter VIP logo

hook.io-feedsub's People

Contributors

fent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

willwh

hook.io-feedsub's Issues

readStop() errors

Hi fent! :)

I am tracking the following RSS - http://www.embersofcaerus.com/external.php?do=rss&type=newcontent&sectionid=1&days=120&count=10 - which is from Vbulletin.

If I do it just with the hook.io-feed module - I get an error like below:

net.js:197
this._handle.readStop();
^
TypeError: Cannot call method 'readStop' of null
at Socket.pause (net.js:197:16)
at IncomingMessage.pause (http.js:254:15)
at FeedReader. (/home/willwh/node/hook.io-feedsub/node_modules/feedsub/lib/feedsub.js:154:19)
at /home/willwh/node/hook.io-feedsub/node_modules/feedsub/lib/feedsub.js:10:62
at FeedReader. (/home/willwh/node/hook.io-feedsub/node_modules/feedsub/lib/feedsub.js:143:18)
at SAXStream. (/home/willwh/node/hook.io-feedsub/node_modules/feedsub/lib/feedsub.js:10:62)
at SAXStream.g (events.js:154:14)
at SAXStream.emit (events.js:67:17)
at /home/willwh/node/hook.io-feedsub/node_modules/feedsub/node_modules/feedme/lib/feedme.js:122:23
at SAXStream. (/home/willwh/node/hook.io-feedsub/node_modules/feedsub/node_modules/feedme/lib/feedme.js:68:14)

I am getting double emits from kohai (irc bot) - but I think that is just forever restarting my hookio-feed.

Do you have any ideas what could be causing this?

Duplicate emits?

Hi Fent, I'm using this inside a nodejs irc bot called kohai.

https://github.com/willwh/kohai

It has a simple listener, here: https://github.com/willwh/kohai/blob/master/lib/listeners/feedsub.js

I am seeing 2 emits from feedsub when reading this feed:
{
"feeds": [
{
"name": "emberblog",
"url": "http://www.embersofcaerus.com/external.php",
"interval": 1,
"emitOnStart": false
}
],
}

So the bot is printing each entry to channel twice.

Any ideas? :)

I am definitely running hookio-feedsub v0.1.2 and feedsub v0.0.9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.