Git Product home page Git Product logo

spiderable's Introduction

This package is deprecated and not supported anymore.

Suggest looking for alternate solutions!

spiderable

meteor add ongoworks:spiderable

Uses port as set in meteor port and /tmp/ files instead of /dev/stdin

requirements

Install Phantomjs on your system.

spiderable's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spiderable's Issues

Console error when using ?_escaped_fragment_=

Not sure if this is a problem or not, but when switching to this package from spiderable I got the following error in my browser console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost:26424') does not match the recipient window's origin ('http://localhost:3000').window.onload @ channel.html?stripe_xdm_e=http%3A%2F%2Flocalhost%3A26424&stripe_xdm_c=default112422&stripe_xdm_p=1:25

I'm a newbie when it comes to spiderable and phantomjs... Is this an error I should be worried about? I don't get the error when omitting the escaped fragment. The page renders, but I'm hoping it doesn't lead to issues with page crawling.

Error: Meteor code must always run within a Fiber.

After I run

meteor add ongoworks:spiderable

then I run my project with ?escaped_fragment=

http://localhost:3000/?_escaped_fragment_=

I got the error :

Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
at Object.Meteor.nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
at [object Object].
.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
at [object Object].RouteController.lookupOption (packages/iron_router/lib/route_controller.js:66:1)
at new Controller.extend.constructor (packages/iron_router/lib/route_controller.js:26:1)
at [object Object].ctor (packages/iron_core/lib/iron_core.js:88:1)
at Function.Router.createController (packages/iron_router/lib/router.js:201:1)
at Function.Router.dispatch (packages/iron_router/lib/router_server.js:39:1)
at Object.router (packages/iron_router/lib/router.js:15:1)
at next (/home/saray/.meteor/packages/webapp/.1.2.3.7d83sr++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:190:15)
at packages/ongoworks_spiderable/packages/ongoworks_spiderable.js:159:1

I don't know what is going on,, so please help guide me for the solution.

Site flickering

Hi, this package allows the meta data to be scraped, but its also causing my site to flicker and refresh several times on load. Any idea on how to prevent this?

Error when testing on Twitter Card Validator

This works fine when I test on Facebook Sharing Debugger, but when I try to test it also on Twitter Card Validator I receive error on server log.
Here is the error:
"spiderable: phantomjs failed: { [Error: Command failed: ] killed: true, code: null, signal: 'SIGTERM' }"

error with meteor 1.4

hey Im deploying meteor 1.4 with kadirahq/mup with abernix/meteord:basedocker image

and getting this

spiderable: phantomjs failed: { [Error: Command failed: /bin/bash -c exec phantomjs --load-images=no --ignore-ssl-errors=yes /tmp/meteor_3044071958

 killed: true,
  code: null,
  signal: 'SIGTERM',
  cmd: '/bin/bash -c exec phantomjs --load-images=no --ignore-ssl-errors=yes /tmp/meteor_3044071958' } 
stderr: 

installing phantomjs manually with apt-get wont fixed the issue btw.

Conflicted with Iron:router?

After I added the spiderable package, seems like it conflicted with the iron:router package :(
How can I fix this?

Attached is the mup logs:

at Object.Meteor.nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
at [object Object].
.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
at [object Object].RouteController.lookupOption (packages/iron:router/lib/route_controller.js:66:1)
at new Controller.extend.constructor (packages/iron:router/lib/route_controller.js:26:1)
at [object Object].ctor (packages/iron:core/lib/iron_core.js:88:1)
at Function.Router.createController (packages/iron:router/lib/router.js:201:1)
at Function.Router.dispatch (packages/iron:router/lib/router_server.js:39:1)
at Object.router (packages/iron:router/lib/router.js:15:1)
at next (/opt/geosenti/app/programs/server/npm/webapp/node_modules/connect/lib/proto.js:190:15)
at packages/ongoworks:spiderable/spiderable_server.js:131:1
[169.54.246.212] spiderable: phantomjs failed: { [Error: Command failed: ] killed: true, code: null, signal: 'SIGTERM' }
stderr:
[169.54.246.212] Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
at Object.Meteor.nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
at [object Object].
.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
at [object Object].RouteController.lookupOption (packages/iron:router/lib/route_controller.js:66:1)
at new Controller.extend.constructor (packages/iron:router/lib/route_controller.js:26:1)
at [object Object].ctor (packages/iron:core/lib/iron_core.js:88:1)
at Function.Router.createController (packages/iron:router/lib/router.js:201:1)
at Function.Router.dispatch (packages/iron:router/lib/router_server.js:39:1)
at Object.router (packages/iron:router/lib/router.js:15:1)
at next (/opt/geosenti/app/programs/server/npm/webapp/node_modules/connect/lib/proto.js:190:15)
at packages/ongoworks:spiderable/spiderable_server.js:131:1
[169.54.246.212] spiderable: phantomjs failed: { [Error: Command failed: ] killed: true, code: null, signal: 'SIGTERM' }
stderr:
Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
at Object.Meteor.nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
at [object Object].
.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
at [object Object].RouteController.lookupOption (packages/iron:router/lib/route_controller.js:66:1)
[169.54.246.212] at new Controller.extend.constructor (packages/iron:router/lib/route_controller.js:26:1)
at [object Object].ctor (packages/iron:core/lib/iron_core.js:88:1)
at Function.Router.createController (packages/iron:router/lib/router.js:201:1)
at Function.Router.dispatch (packages/iron:router/lib/router_server.js:39:1)
at Object.router (packages/iron:router/lib/router.js:15:1)
at next (/opt/geosenti/app/programs/server/npm/webapp/node_modules/connect/lib/proto.js:190:15)
at packages/ongoworks:spiderable/spiderable_server.js:131:1

Thanks!

Is this package good with meteor 1.3?

When i add this package, i got this error

spiderable: phantomjs failed at http://localhost:3000/: { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }

How can I get this to work?
Thanks

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.