superfeedr / superfeedr-node

A library to interract with Superfeedr's XMPP API in any node application
http://superfeedr.com/documentation#xmpp_pubsub
31 stars 17 forks source link

Unable to subscribe to a feed #14

Closed IrateNinja closed 11 years ago

IrateNinja commented 11 years ago

I am unable to subscribe to a feed...sort of.

Superfeedr = require 'superfeedr'
feedClient = new Superfeedr 'user', 'pass'

feedClient.subscribe 'http://blog.superfeedr.com/atom.xml', (err, feed) ->

This does in fact subscribe the account to a feed, but returns an error anyway. It appears to have been introduced in commit 49261e05c3d73e604a8832bf70f547677e628567 at Line 185 where it attempts to obtain the child by the name of "subscribe" instead of "subscription"

If I am missing something please let me know.