{"_id":"parserproxy","_rev":"21-efa447706dca55600ac25a88b8397807","name":"parserproxy","description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.0","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.4.x","opmlparser":"0.2.x","request":"2.1.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.0","scripts":{"start":"node server.js"},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"0ec5eb14c2770aeeb41fa5c896c0a79afe27cb52","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.0.tgz","integrity":"sha512-jHPlHykNj8tg4/E99wDF7bAj965+WUEdO8M02zAgIFOfn71146/PlX3uLppPgSSq6PRmjJt/kUplYV98ktqCmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfvIBfkRRESMShM/rE4uunfOy48tvCw+7BCssEFSCZTAIgdxIdDue6VWVNixTI/RZMjajy2xQeGgnlNz/5NHRqgvc="}]},"maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.1":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.1","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.4.x","opmlparser":"0.2.x","request":"2.1.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.1","scripts":{"start":"node server.js"},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"ce625a97192577c5959a496fb8117c2e2e98b6a7","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.1.tgz","integrity":"sha512-N4WwywvZKVeT+cL2keYUIK0BJ+q28FYnQbpGdHCGQbI6s9+GSLov3dP8cS1V7tIb/S/CWdZJ+AGSeVELT8oMRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/5N9fQEnj7dWzReiWFlEbFGPz7P4NQTCf/UDXdc2bwAiEApZhIKnsdAcYTEFusqSbnltcpFo/CB+16LbBW50ZHIvA="}]},"maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.2":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.2","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.4.x","opmlparser":"0.2.x","request":"2.2.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.2","scripts":{"start":"node server.js"},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"fe6db57b643a68628f3965d0a6999df43e8bc5ac","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.2.tgz","integrity":"sha512-zzArw2ykgNIn3tel8KxmkMSdBuxvRPrLPc1LPsvHTPWXRHGlkp5+kF3qw/Ob/Dq9mQGY3LfALVbGSnmYz7SK9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm4pTjbzYXhb6N6dxZI03WjsU2o68EcgVGVonciFrq6AIhAPlB8X5sBJdP+tH4u52ZR5ucoCTH43ElAcNivGsQ9Pfk"}]},"maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.3":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.3","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.4.x","opmlparser":"0.2.x","request":"2.9.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.3","scripts":{"start":"node server.js"},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"4e69efdc11a911bd115865be434e6e199a0e809a","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.3.tgz","integrity":"sha512-q9kgq2U4cdAWZbK8oxn9oWNUagcehaYQkDBUxZLzUgkTmSLY2DOSfprUm6sQNg8af+k+rZc2XLHjR3PF1QcsTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnOiGLkZpp+x2hDH9xk6PcWzG8d+HDtd6IStQK6gW4mQIhAJl+wt2iUhaluoGSjk0P2mnBPFXc9dONAFWWNA6ph+rE"}]},"readme":"","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.4":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.4","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.9.x","opmlparser":"0.2.x","request":"2.9.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.4","scripts":{"start":"node server.js"},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"f9b2687d9d63153cfeafc12ecf835bfb4e28b154","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.4.tgz","integrity":"sha512-nhLXN7bDEWCPqOwPCfJEENH4+j4yu6cu63xqfeU+FUY6e1mRmSxSjL7ksWcSa1pkq7RIQvxhRB/+svKPm7hL+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQn5lBkN6XKMQbiu8/b474YIaq2h5+G23oYkq/oM9HmAIhALo+DUOvd7oiPKYjdEiVbOyzbalsccXKl+h/+gEEdnWO"}]},"readme":"","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.5":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.5","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.9.x","opmlparser":"0.2.x","request":"2.9.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.5","scripts":{"start":"node server.js"},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"283804042ffb2b3f39e2d2d76a25802af47efcb9","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.5.tgz","integrity":"sha512-CkWg/xlA3qDPK3xlJfaqv8bOyoxzonsrKz/xNsLCkrYaClXbcraydqjVfiGFwPxTuZ68soHLibBiylQnbwcFvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALXo/kGYrr/+0p6BV3L9fYOKX8hlY+8TDLdEqIS0HfdAiEAo8avUdJUQf4OVMdSg6XO7FKFvet1HIeUK/PIgMUs0UQ="}]},"readme":"","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.1.6":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.1.6","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.9.x","opmlparser":"0.3.x","request":"2.9.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.1.6","scripts":{"start":"node server.js"},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"3d5ceb8308a3fdee5fea3f0221e7f13c08f516fc","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.1.6.tgz","integrity":"sha512-KBsf8uksXkIPfBhbbdLVSrHEuzPBqxixvJUlXyUR89JLUr0CUCKTFgyE/vbzc5UorInjNc8Od4hOtG9EDDPcdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvhABwOjJvE2xeWCxRogGBB1Ho6X4S4L7igQkqakbuzAiEAiFkBQu968dDUYecBypaifacrzyn2uzsvNhTKnjXNgR8="}]},"readme":"","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.2.0":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.2.0","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.9.x","opmlparser":"0.3.x","request":"2.9.x"},"devDependencies":{},"_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"_id":"parserproxy@0.2.0","scripts":{"start":"node server.js"},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"e3c42abdcabf76cddde0e0d27bc0895d56106428","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.2.0.tgz","integrity":"sha512-C9ilZ4corR7y9Imc082PJtv3uVbJ13e/hiDkTffeXIRi+NGyxspyhhxM7WkFjFjLvYoBbeD2TThx5ku7AkT+rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOylNsgjGe/tMeSaJc65TsYn2tsTaCdtIT9ezRt7sA1gIhAMi0l7/PKE1c11ZKfubKO5VYkz7oCa6DTeid7ukfy1To"}]},"readme":"","maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]},"0.3.0":{"name":"parserproxy","author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"description":"A JSON-over-HTTP proxy for node-feedparser and node-opmlparser","version":"0.3.0","repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"},"keywords":["http","proxy","json","rss","feed","atom","rdf","opml","outline","xml","syndication"],"main":"./server.js","engines":{"node":">= 0.4.0"},"dependencies":{"feedparser":"0.10.x","opmlparser":"0.4.x","request":"2.9.x"},"devDependencies":{},"scripts":{"start":"node server.js"},"readme":"#  Parserproxy - A JSON-over-HTTP proxy for node-feedparser and node-opmlparser\n\nThis module acts as a proxy that fetches an RSS/Atom/RDF or OPML url that you\nrequest, parses it -- using\n[node-feedparser](https://github.com/danmactough/node-feedparser) or\n[node-opmlparser](https://github.com/danmactough/node-opmlparser) -- and\nresponds with the parsed JSON representation of the RSS/Atom/RDF or OPML you\nrequested.\n\nThis module was created so that I could easily transform what is frequently a\ntime-intensive, blocking operation -- i.e., XML parsing -- into an I/O operation\n(in a separate process, maybe on another server), which means the parsing will\nno longer be blocking.\n\n## Requirements\n\n- [node-feedparser](https://github.com/danmactough/node-feedparser)\n- [node-opmlparser](https://github.com/danmactough/node-opmlparser)\n- [request](https://github.com/mikeal/request)\n\n## Installation\n\nVia npm:\n\n    $ npm install parserproxy\n\nManually: (A fine idea if you're not going to use in programatically in your\nnode.js program)\n\n    $ git clone git://github.com/danmactough/node-parserproxy.git parserproxy\n    $ cd parserproxy\n    $ npm install\n\n## Examples\n\n### Manually\n\nIf you want to run a parserproxy for use by several different scripts, then\nyou'll want to clone the repository somewhere on your system and follow this\nexample.\n\n    $ cd parserproxy\n    $ node server.js\n\nThen in your node app:\n\n    var request = require('request');\n    request({ method : 'POST',\n              uri : 'http://localhost:3030/parseFeed',\n              body : { url: 'http://cyber.law.harvard.edu/rss/examples/rss2sample.xml' },\n              json : true },\n              function (err, response, body){\n                if (!err && response.statusCode == 200) {\n                  console.log('%s [%s]', body.meta.title || body.meta.xmlUrl, body.meta.link);\n                  body.articles.forEach(function (article) {\n                    console.log('%s - %s', article.pubDate, article.title || article.description.substring(0,50));\n                  });\n                }\n                else {\n                  console.log(\"Either couldn't connect to parserproxy or it failed.\");\n                }\n              });\n\nOr on the command line:\n\n    $ curl http://localhost:3030/parseFeed?url=http://cyber.law.harvard.edu/rss/examples/rss2sample.xml\n\n### Programatically\n\n    var parserproxy = require('parserproxy')\n      , options = ({ port: 3333, timeout: 2000 }) // Example options (optional)\n      ;\n\n    parserproxy(options);\n\n### Using forever\n\nPerhaps you want to use parserproxy as part of a Node.js application that will\nbe running as a daemon.  Follow the previous example, and drop that in a script\nnamed `parserproxy.js` in the root of your project directory. Then in your main\napplication script, you can spawn that script as a child process, maybe using\n[forever](https://github.com/nodejitsu/forever), like so:\n\n    var forever = require('forever')\n      , parserproxy = new (forever.Monitor)(__dirname + '/parserproxy.js')\n      ;\n\n    parserproxy.start();\n\n## To-do\n\nObviously, a pluggable memcache-like ability would be great. Pull requests\nalways welcome. :-)\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 Dan MacTough &lt;danmactough@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","readmeFilename":"README.md","_id":"parserproxy@0.3.0","dist":{"shasum":"81f2c4b82a0139311ffd3bdb7308e7ec28074594","tarball":"https://registry.npmjs.org/parserproxy/-/parserproxy-0.3.0.tgz","integrity":"sha512-JXQhI5XjhVvB4x/jZC9SfaPdsb0aXB+3y3nK5CiNP1X7+9P+g4wCOw9u2d5BjeQaDbpsCUSZJyieCmRXKuV7zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEbZJ2HgH12sgkZSLZhcGG3HfPehLCrZOjJByKzeRxRAIgdd6C1fXguZEkE18A52AUP8dBk7k0FVbzvKlqQ8a0wTs="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"danmactough","email":"danmactough@gmail.com"},"maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}]}},"maintainers":[{"name":"danmactough","email":"danmactough@gmail.com"}],"time":{"modified":"2022-06-23T11:31:56.000Z","created":"2011-11-25T04:11:27.214Z","0.1.0":"2011-11-25T04:11:27.846Z","0.1.1":"2011-11-26T05:40:24.497Z","0.1.2":"2011-11-28T05:55:21.096Z","0.1.3":"2012-01-26T15:29:30.068Z","0.1.4":"2012-01-31T14:08:00.722Z","0.1.5":"2012-03-04T22:05:38.414Z","0.1.6":"2012-03-13T04:53:04.514Z","0.2.0":"2012-06-14T16:16:18.321Z","0.3.0":"2013-01-10T09:02:20.923Z"},"author":{"name":"Dan MacTough","email":"danmactough@gmail.com"},"repository":{"type":"git","url":"git://github.com/danmactough/node-parserproxy.git"}}