angularjs-seo-article's People
Forkers
cheekybastard hamtie zack9433 neurolit xtrepo gigfork tkosuga keirantai dservy mrjohnsson77 athleteinaction simian-lab wonglok minhsong yodutouf apraditya nitinaid yilab alexvijo drpicox awesome jia58960 savantram savantmohan dnoise agiza lloydzhou hoyangtsai xfredcox hoangductho suxumi elangomuthu khacpv jorgejaramillo dariachang vinod1988 harsh18 kublaj ineo4j aminodrago seocollection boostdriven mkeshavgarg kousiknath ervinsuhanko think-smart rasheedamir clementtrebuchet hemaramesh 8ui vinayakac sa7booch seyedabbasseyedi iq-scmangularjs-seo-article's Issues
unable to capture snapshot with this url= ./make-snapshot.sh http://localhost:9000/\#\!/trend/Blaming%20Obama
url= ./make-snapshot.sh http://localhost:9000/#!/trend/Blaming%20Obama
I get this error :
./make-snapshot.sh: line 6: ./snapshots/trend/Blaming%20Obama.html: No such file or directory
it adds .html at the end by itself.
fyi : the data gets created dynamically after pulling from an api..
can & how i run this no local server ?
is apache is a must ? can i see the snapshot output on local host ?
phantomjs: command not found
I installed phantomjs using brew on my mac, and when i type phantomjs on my terminal it works.
But, I get this error when i run below command on terminal.
./make-snapshot.sh http://localhost:5757/#!/videos
./make-snapshot.sh: line 6: phantomjs: command not found
static HTML for SEO needs at github pages
Hello,
I'm a newbie in terms of angular/seo. Does your solution support serving static content for crawlers from github pages?
I know they need to be regenerated and uploaded each time the data changes, anyway, is serving seo-html from github pages possible?
For some reason , I'm getting 0 bytes for the captured snapshot.
Also when i try to capture for foloowing url ,, i dont get any snapshot.
± ./make-snapshot.sh http://192.168.1.105:5757/\#\!/videos/slow
fyi: I also get this message : phantomjs: command not found .
Testing all pages to see if they load properly
GET /home.html ‣
Error: timeout of 2000ms exceeded
at file:///Users/j/AngularJS-SEO-Article-master/test/lib/mocha/mocha.js:3644:14
GET /videos.html ‣
Error: timeout of 2000ms exceeded
at file:///Users/j/AngularJS-SEO-Article-master/test/lib/mocha/mocha.js:3644:14
I think the issue is heree:
fyi: I also get this message : phantomjs: command not found .
but I do have phantomjs installed on my mac. pls help
Question on included partials
Never mind, I was setting up my routes incorrectly!
Google bot crawls it?
I tried put this in google form site:yearofmoo-articles.github.io/angularjs-seo-article and show only first page.
It doesnt work for ./make-snapshot.sh http://localhost:2222/#!/videos/slow
I run it on python server,
It doesnt work for
./make-snapshot.sh http://localhost:2222/#!/videos/slow
i get the ngRepeat commented out when i run the snapshot.sh.
$stateProvider
.state('trend', { // //// new
url: '/trend',
templateUrl: '/trend.html',
controller: 'TrendCtrl',
resolve: {
postPromise: ['trends', function(trends) {
return trends.getAll();
}],
slow : function() {
return true;
}
here's the controller for that ng-repeat.
App.controller('TrendCtrl', ['$scope', 'trends', '$rootScope',
function($scope, trends, $rootScope) {
console.log(' ~~~~~~~ $rootScope.test =', $rootScope.test);
$scope.ready();
$('.nobullets').on("click", ".trendli", function(e) {
var text = ($(this).text());
$('#searchInput').val(text);
$scope.$apply(function() {
// console.log(' inside the click trend li 1st ');
});
});
$('.form-group').on("change", ".searchInput", function(e) {
var text = ($(this).text());
$('#searchInput').val(text);
$scope.$apply(function() {
console.log(' inside the search bar ');
});
});
}
]);
!/home/ event not found
Not sure if it's a bug or it's me but i have a working site and when i try to generate the snapshots it gives me this:
vagrant@dev:~/www/AngularJS-SEO-Article$ ./make-snapshot.sh http://dev.client.com.br/#!/home
-bash: !/home: event not found
everything seems to be installed ok but still getting this ... any comments?
Wrong code in the article
Just under the Hashbangs or HTML5 History URLs? title, in the 3rd code block it reads:
//get the module from creating an angular module
angular.module('HTML5ModeURLs', []).config(['$routeProvider', function($route) {
$route.html5Mode(true);
}]);
Where it should be $locationProvider
(regardless of the injected variable name).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.