reactioncommerce / spiderable Goto Github PK
View Code? Open in Web Editor NEWDocker + Ports friendly Meteor Spiderable
Home Page: https://atmospherejs.com/ongoworks/spiderable
Docker + Ports friendly Meteor Spiderable
Home Page: https://atmospherejs.com/ongoworks/spiderable
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?
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
hey Im deploying meteor 1.4 with kadirahq/mup
with abernix/meteord:base
docker 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.
Meteor add ongoworks:spiderable
and?
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.
Hello there !
We have the same issue as veliovgroup/jazeee-meteor-spiderable#42
json ld is deleted from the output
could you update the regexp so it will not delete it ?
Thanks a lot
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!
After I run
meteor add ongoworks:spiderable
then I run my project with ?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.
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' }"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.