ayal / headly Goto Github PK
View Code? Open in Web Editor NEWmeteor package to handle facebookexternalhit responses (for og:metatags use)
meteor package to handle facebookexternalhit responses (for og:metatags use)
Hi, I use headly with Meteor 6.4 by add file headly_server.js to server folder (I dont user meteorite) and config same your sample code. But it dont work. Please help !
ReferenceError: Fiber is not defined
at Object.handle (app/server/headly_server.js:18:3)
at next (C:\Program Files (x86)\Meteor\lib\node_modules\connect\lib\proto.js
:190:15)
at Object.Oauth._middleware (app/packages/oauth/oauth_server.js:80:7)
at app/packages/oauth/oauth_server.js:68:13
Can you update it to compatible with 0.9.* version
as in title
Hi @ayal
First, good job on this package. I am just having some questions on this topic. I think you might have the answer I seek.
Thank you for the package. Love to hear back from you.
The code hosted at Atmosphere is bugged.
I've did mrt add headly
and the line 11 of downloaded code is:
Meteor.headly._options = Meteor.headly._options;
instead of
Meteor.headly._options = options || Meteor.headly._options;
which is the correct version.
Hello,
This looks great but using mrt add headly
does not install last version.
To get the latest you should do :
git clone [email protected]:ayal/headly.git packages/headly
meteor add headly
and it works fine.
I'm getting the following error:
=> Running Meteor from a checkout -- overrides project version (0.7.0.1)
[[[[[ ~/Meteor/emilio-television ]]]]]
=> Meteor server running on: http://localhost:3000/
W20131226-02:49:00.948(-8)? (STDERR) /Users/jamesgillmore/.meteorite/meteors/meteor/meteor/cbde5bd4875524f3ade7f3baef417a43ec1b9474/dev_bundle/lib/node_modules/fibers/future.js:173
W20131226-02:49:01.048(-8)? (STDERR) throw(ex);
W20131226-02:49:01.048(-8)? (STDERR) ^
W20131226-02:49:01.058(-8)? (STDERR) TypeError: Cannot call method 'use' of undefined
W20131226-02:49:01.059(-8)? (STDERR) at Package (packages/headly/headly_server.js:18)
W20131226-02:49:01.059(-8)? (STDERR) at Package (packages/headly/headly_server.js:42)
W20131226-02:49:01.059(-8)? (STDERR) at packages/headly.js:61:4
W20131226-02:49:01.060(-8)? (STDERR) at packages/headly.js:68:3
W20131226-02:49:01.060(-8)? (STDERR) at /Users/jamesgillmore/Meteor/emilio-television/.meteor/local/build/programs/server/boot.js:155:10
W20131226-02:49:01.060(-8)? (STDERR) at Array.forEach (native)
W20131226-02:49:01.061(-8)? (STDERR) at Function._.each._.forEach (/Users/jamesgillmore/.meteorite/meteors/meteor/meteor/cbde5bd4875524f3ade7f3baef417a43ec1b9474/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
W20131226-02:49:01.061(-8)? (STDERR) at /Users/jamesgillmore/Meteor/emilio-television/.meteor/local/build/programs/server/boot.js:82:5
=> Exited with code: 8
=> Meteor server restarted
The spiderable meteor package makes the site indexable by search engines using phantom-js.
Once activated, FacebookExternal hits gets served with the spiderable-generated stuff, not the Headly Meta. What would be the most elegant way to have both packages play nicely?
PS: I also had troubles with MRT, so I use Headly_server.js directly, if that makes any difference.
Great lib!
In order to a custom object (not just "og:type"=websites), a prefix attribute is required on the head, but Meteor doesn't appreciate having on by default, and headly fails to inject it like the other meta tags.
Any clues on how it'd be possible to have Facebook gets the prefix attribute of the head element as specified in the open-graph examples?
Result:
TypeError: Cannot set property 'add_reactive_variable' of undefined
at app/packages/deps-extensions/deps-extensions.js:16:35
at app/packages/deps-extensions/deps-extensions.js:117:2
at /Users/.../.meteor/local/build/server/server.js:298:12
at Array.forEach (native)
at Function..each..forEach (/Users/.../.meteorite/meteors/meteor/meteor/9bb2b5447e845c4f483df5e9b42a2c1de5ab909b/dev_bundle/lib/node_modules/underscore/underscore.js:78:11)
at run (/Users/.../.meteor/local/build/server/server.js:239:7)
=> Exited with code: 1
TypeError: Cannot call method 'indexOf' of undefined
at packages/headly/headly_server.js:29
at packages/underscore/underscore.js:184
at Array.some (native)
at .some..any (packages/underscore/underscore.js:233)
at Function..find..detect (packages/underscore/underscore.js:183)
at Object.Package as handle
at next (/home/traveldiary/www/traveldiary/releases/20140423104650/bundle/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15)
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.