mercredi 31 mai 2017

EU ready for climate leadership in case of U.S. withdrawal from Paris deal



EU ready for climate leadership in case of U.S. withdrawal from Paris deal (reuters.com) Well that's lucky, as the cocksucker in chief is pulling out of the deal.

from Pocket http://ift.tt/2se3wu8

Elon Musk to Trump: Ditch Paris deal and I'll quit as your adviser



Yeah, Elon cares about reserving and proggressing while Donald is all about destroying and getting money. Ever since we invented the drinking game!

from Pocket http://ift.tt/2rltuvC

Elon Musk to Trump: Ditch Paris deal and I'll quit as your adviser


Yeah, Elon cares about reserving and proggressing while Donald is all about destroying and getting money. Ever since we invented the drinking game! via Pocket http://ift.tt/2rltuvC

Comey to testify publicly about Trump confrontations



Ohhhhh boy. Itshappening.gif Things are only getting worse for this administration. He's going to end up dragging the whole GOP down with him too.

from Pocket http://ift.tt/2qBb8tt

PornHub posts Putin's critic Alexey Navalny's anti-government film online after russian court bans it



Let's see Russia hack PornHub. That'd cause a global outcry the likes have which have never been seen before.

from Pocket http://ift.tt/2rlEr0l

Humans are bringing about the sixth mass extinction of life on Earth, according to scientists writing in a special edition of the leading journal Nature. Mammals, birds and amphibians are currently becoming extinct at rates comparable to the previous five mass extinctions • r/worldnews



Humans are bringing about the sixth mass extinction of life on Earth, according to scientists writing in a special edition of the leading journal Nature. Mammals, birds and amphibians are currently becoming extinct at rates comparable to the previous five mass extinctions (independent.co.uk)

from Pocket http://ift.tt/2rFwqWX

Comey to testify publicly about Trump confrontations


Ohhhhh boy. Itshappening.gif Things are only getting worse for this administration. He's going to end up dragging the whole GOP down with him too. via Pocket http://ift.tt/2qBb8tt

PornHub posts Putin's critic Alexey Navalny's anti-government film online after russian court bans it


Let's see Russia hack PornHub. That'd cause a global outcry the likes have which have never been seen before. via Pocket http://ift.tt/2rlEr0l

Humans are bringing about the sixth mass extinction of life on Earth, according to scientists writing in a special edition of the leading journal Nature. Mammals, birds and amphibians are currently becoming extinct at rates comparable to the previous five mass extinctions • r/worldnews


Humans are bringing about the sixth mass extinction of life on Earth, according to scientists writing in a special edition of the leading journal Nature. Mammals, birds and amphibians are currently becoming extinct at rates comparable to the previous five mass extinctions (independent.co.uk) via Pocket http://ift.tt/2rFwqWX

UK charities 'gagged' from speaking out against Theresa May



UK charities 'gagged' from speaking out against Theresa May (independent.co.

from Pocket http://ift.tt/2qFiqYp

UK charities 'gagged' from speaking out against Theresa May


UK charities 'gagged' from speaking out against Theresa May (independent.co. via Pocket http://ift.tt/2qFiqYp

Duterte asks Chelsea Clinton: When your father was f**king Lewinsky, what was your statement?



PhilippinesDuterte asks Chelsea Clinton: When your father was f**king Lewinsky, what was your statement? (interaksyon.com)

from Pocket http://ift.tt/2raTone

China, EU reaffirm climate pledges after Trump backs away



TrumpChina, EU reaffirm climate pledges after Trump backs away (reuters.

from Pocket http://ift.tt/2sdPokp

Duterte asks Chelsea Clinton: When your father was f**king Lewinsky, what was your statement?


PhilippinesDuterte asks Chelsea Clinton: When your father was f**king Lewinsky, what was your statement? (interaksyon.com) via Pocket http://ift.tt/2raTone

China, EU reaffirm climate pledges after Trump backs away


TrumpChina, EU reaffirm climate pledges after Trump backs away (reuters. via Pocket http://ift.tt/2sdPokp

Indian Prime Minister Narendra Modi told German Chancellor Angela Merkel in talks in Berlin on Tuesday that India would stay in the Paris climate accord even if the United States pulled out • r/worldnews



Indian Prime Minister Narendra Modi told German Chancellor Angela Merkel in talks in Berlin on Tuesday that India would stay in the Paris climate accord even if the United States pulled out (in.reuters.

from Pocket http://ift.tt/2segF6j

Mexico's top diplomat says Venezuela is no longer a democracy



Hector del Burrito said in a comment Tuesday that Venezuela is no longer a democracy. "It is an oligarchy now," he claimed. "We are ruled by the oligs. They are our kings. Well, at least our lords."

from Pocket http://ift.tt/2qEoUGN

German unemployment fell to a new record low as Europe’s largest economy continued to power ahead.



German unemployment fell to a new record low as Europe’s largest economy continued to power ahead. (bloomberg.com)

from Pocket http://ift.tt/2rnpXPp

Indian Prime Minister Narendra Modi told German Chancellor Angela Merkel in talks in Berlin on Tuesday that India would stay in the Paris climate accord even if the United States pulled out • r/worldnews


Indian Prime Minister Narendra Modi told German Chancellor Angela Merkel in talks in Berlin on Tuesday that India would stay in the Paris climate accord even if the United States pulled out (in.reuters. via Pocket http://ift.tt/2segF6j

Mexico's top diplomat says Venezuela is no longer a democracy


Hector del Burrito said in a comment Tuesday that Venezuela is no longer a democracy. "It is an oligarchy now," he claimed. "We are ruled by the oligs. They are our kings. Well, at least our lords." via Pocket http://ift.tt/2qEoUGN

German unemployment fell to a new record low as Europe’s largest economy continued to power ahead.


German unemployment fell to a new record low as Europe’s largest economy continued to power ahead. (bloomberg.com) via Pocket http://ift.tt/2rnpXPp

Prime Minister Justin Trudeau waded into escalating tensions between Germany and the United States on Tuesday, chiding world leaders who believe they can ignore climate change or "turn back the clock" in the age of globalization and automation. • r/worldnews



Prime Minister Justin Trudeau waded into escalating tensions between Germany and the United States on Tuesday, chiding world leaders who believe they can ignore climate change or "turn back the clock" in the age of globalization and automation. (beta.theglobeandmail.com)

from Pocket http://ift.tt/2qyOxgQ

Man probing Ivanka Trump brands in China arrested, two others missing



TrumpMan probing Ivanka Trump brands in China arrested, two others missing (theglobeandmail.

from Pocket http://ift.tt/2rlLJmE

Brits applying for Irish passports surge by 70% after Brexit vote



Brits: Can I come over? Ireland: Bring Beer.

from Pocket http://ift.tt/2qyhcPh

Prime Minister Justin Trudeau waded into escalating tensions between Germany and the United States on Tuesday, chiding world leaders who believe they can ignore climate change or "turn back the clock" in the age of globalization and automation. • r/worldnews


Prime Minister Justin Trudeau waded into escalating tensions between Germany and the United States on Tuesday, chiding world leaders who believe they can ignore climate change or "turn back the clock" in the age of globalization and automation. (beta.theglobeandmail.com) via Pocket http://ift.tt/2qyOxgQ

Man probing Ivanka Trump brands in China arrested, two others missing


TrumpMan probing Ivanka Trump brands in China arrested, two others missing (theglobeandmail. via Pocket http://ift.tt/2rlLJmE

Brits applying for Irish passports surge by 70% after Brexit vote


Brits: Can I come over? Ireland: Bring Beer. via Pocket http://ift.tt/2qyhcPh

Trump pulls out of Paris climate deal



What a prick. Fuck Trump and everything about that guy.

from Pocket http://ift.tt/2sdg4Sd

Trump pulls out of Paris climate deal


What a prick. Fuck Trump and everything about that guy. via Pocket http://ift.tt/2sdg4Sd

A huge explosion has hit the Afghan capital, Kabul. Reports say the explosion happened in an area close to foreign embassies and the presidential palace. It was not immediately clear whether there were casualties • r/worldnews



A huge explosion has hit the Afghan capital, Kabul. Reports say the explosion happened in an area close to foreign embassies and the presidential palace. It was not immediately clear whether there were casualties (bbc.co.uk)

from Pocket http://ift.tt/2qyeY6w

Trump invites world leaders to call him on his cellphone, raising security, secrecy concerns



This deserves to be ontop. It's so funny with sound. EDIT: wait a minute that version is lame. Complete lunacy. How is none of this being taken seriously?

from Pocket http://ift.tt/2rmjPXx

A huge explosion has hit the Afghan capital, Kabul. Reports say the explosion happened in an area close to foreign embassies and the presidential palace. It was not immediately clear whether there were casualties • r/worldnews


A huge explosion has hit the Afghan capital, Kabul. Reports say the explosion happened in an area close to foreign embassies and the presidential palace. It was not immediately clear whether there were casualties (bbc.co.uk) via Pocket http://ift.tt/2qyeY6w

Trump invites world leaders to call him on his cellphone, raising security, secrecy concerns


This deserves to be ontop. It's so funny with sound. EDIT: wait a minute that version is lame. Complete lunacy. How is none of this being taken seriously? via Pocket http://ift.tt/2rmjPXx

Russia's Highest Religious Authority Just Compared Gay Marriage to Nazi Germany



Homophobia is more pronounced in individuals with an unacknowledged attraction to the same sex. How does he excuse Putin's relationship with Trump then?

from Pocket http://ift.tt/2sawGKj

Russia's Highest Religious Authority Just Compared Gay Marriage to Nazi Germany


Homophobia is more pronounced in individuals with an unacknowledged attraction to the same sex. How does he excuse Putin's relationship with Trump then? via Pocket http://ift.tt/2sawGKj

Optimizing AngularJS Single-Page Applications for Googlebot Crawlers

Posted by jrridley

It’s almost certain that you’ve encountered AngularJS on the web somewhere, even if you weren’t aware of it at the time. Here’s a list of just a few sites using Angular:

  • Upwork.com
  • Freelancer.com
  • Udemy.com
  • Youtube.com

Any of those look familiar? If so, it’s because AngularJS is taking over the Internet. There’s a good reason for that: Angular- and other React-style frameworks make for a better user and developer experience on a site. For background, AngularJS and ReactJS are part of a web design movement called single-page applications, or SPAs. While a traditional website loads each individual page as the user navigates the site, including calls to the server and cache, loading resources, and rendering the page, SPAs cut out much of the back-end activity by loading the entire site when a user first lands on a page. Instead of loading a new page each time you click on a link, the site dynamically updates a single HTML page as the user interacts with the site.

image001.png

Image c/o Microsoft

Why is this movement taking over the Internet? With SPAs, users are treated to a screaming fast site through which they can navigate almost instantaneously, while developers have a template that allows them to customize, test, and optimize pages seamlessly and efficiently. AngularJS and ReactJS use advanced Javascript templates to render the site, which means the HTML/CSS page speed overhead is almost nothing. All site activity runs behind the scenes, out of view of the user.

Unfortunately, anyone who’s tried performing SEO on an Angular or React site knows that the site activity is hidden from more than just site visitors: it’s also hidden from web crawlers. Crawlers like Googlebot rely heavily on HTML/CSS data to render and interpret the content on a site. When that HTML content is hidden behind website scripts, crawlers have no website content to index and serve in search results.

Of course, Google claims they can crawl Javascript (and SEOs have tested and supported this claim), but even if that is true, Googlebot still struggles to crawl sites built on a SPA framework. One of the first issues we encountered when a client first approached us with an Angular site was that nothing beyond the homepage was appearing in the SERPs. ScreamingFrog crawls uncovered the homepage and a handful of other Javascript resources, and that was it.

SF Javascript.png

Another common issue is recording Google Analytics data. Think about it: Analytics data is tracked by recording pageviews every time a user navigates to a page. How can you track site analytics when there’s no HTML response to trigger a pageview?

After working with several clients on their SPA websites, we’ve developed a process for performing SEO on those sites. By using this process, we’ve not only enabled SPA sites to be indexed by search engines, but even to rank on the first page for keywords.

5-step solution to SEO for AngularJS

  1. Make a list of all pages on the site
  2. Install Prerender
  3. “Fetch as Google”
  4. Configure Analytics
  5. Recrawl the site

1) Make a list of all pages on your site

If this sounds like a long and tedious process, that’s because it definitely can be. For some sites, this will be as easy as exporting the XML sitemap for the site. For other sites, especially those with hundreds or thousands of pages, creating a comprehensive list of all the pages on the site can take hours or days. However, I cannot emphasize enough how helpful this step has been for us. Having an index of all pages on the site gives you a guide to reference and consult as you work on getting your site indexed. It’s almost impossible to predict every issue that you’re going to encounter with an SPA, and if you don’t have an all-inclusive list of content to reference throughout your SEO optimization, it’s highly likely you’ll leave some part of the site un-indexed by search engines inadvertently.

One solution that might enable you to streamline this process is to divide content into directories instead of individual pages. For example, if you know that you have a list of storeroom pages, include your /storeroom/ directory and make a note of how many pages that includes. Or if you have an e-commerce site, make a note of how many products you have in each shopping category and compile your list that way (though if you have an e-commerce site, I hope for your own sake you have a master list of products somewhere). Regardless of what you do to make this step less time-consuming, make sure you have a full list before continuing to step 2.

2) Install Prerender

Prerender is going to be your best friend when performing SEO for SPAs. Prerender is a service that will render your website in a virtual browser, then serve the static HTML content to web crawlers. From an SEO standpoint, this is as good of a solution as you can hope for: users still get the fast, dynamic SPA experience while search engine crawlers can identify indexable content for search results.

Prerender’s pricing varies based on the size of your site and the freshness of the cache served to Google. Smaller sites (up to 250 pages) can use Prerender for free, while larger sites (or sites that update constantly) may need to pay as much as $200+/month. However, having an indexable version of your site that enables you to attract customers through organic search is invaluable. This is where that list you compiled in step 1 comes into play: if you can prioritize what sections of your site need to be served to search engines, or with what frequency, you may be able to save a little bit of money each month while still achieving SEO progress.

3) "Fetch as Google"

Within Google Search Console is an incredibly useful feature called “Fetch as Google.” “Fetch as Google” allows you to enter a URL from your site and fetch it as Googlebot would during a crawl. “Fetch” returns the HTTP response from the page, which includes a full download of the page source code as Googlebot sees it. “Fetch and Render” will return the HTTP response and will also provide a screenshot of the page as Googlebot saw it and as a site visitor would see it.

This has powerful applications for AngularJS sites. Even with Prerender installed, you may find that Google is still only partially displaying your website, or it may be omitting key features of your site that are helpful to users. Plugging the URL into “Fetch as Google” will let you review how your site appears to search engines and what further steps you may need to take to optimize your keyword rankings. Additionally, after requesting a “Fetch” or “Fetch and Render,” you have the option to “Request Indexing” for that page, which can be handy catalyst for getting your site to appear in search results.

4) Configure Google Analytics (or Google Tag Manager)

As I mentioned above, SPAs can have serious trouble with recording Google Analytics data since they don’t track pageviews the way a standard website does. Instead of the traditional Google Analytics tracking code, you’ll need to install Analytics through some kind of alternative method.

One method that works well is to use the Angulartics plugin. Angulartics replaces standard pageview events with virtual pageview tracking, which tracks the entire user navigation across your application. Since SPAs dynamically load HTML content, these virtual pageviews are recorded based on user interactions with the site, which ultimately tracks the same user behavior as you would through traditional Analytics. Other people have found success using Google Tag Manager “History Change” triggers or other innovative methods, which are perfectly acceptable implementations. As long as your Google Analytics tracking records user interactions instead of conventional pageviews, your Analytics configuration should suffice.

5) Recrawl the site

After working through steps 1–4, you’re going to want to crawl the site yourself to find those errors that not even Googlebot was anticipating. One issue we discovered early with a client was that after installing Prerender, our crawlers were still running into a spider trap:

As you can probably tell, there were not actually 150,000 pages on that particular site. Our crawlers just found a recursive loop that kept generating longer and longer URL strings for the site content. This is something we would not have found in Google Search Console or Analytics. SPAs are notorious for causing tedious, inexplicable issues that you’ll only uncover by crawling the site yourself. Even if you follow the steps above and take as many precautions as possible, I can still almost guarantee you will come across a unique issue that can only be diagnosed through a crawl.

If you’ve come across any of these unique issues, let me know in the comments! I’d love to hear what other issues people have encountered with SPAs.

Results

As I mentioned earlier in the article, the process outlined above has enabled us to not only get client sites indexed, but even to get those sites ranking on first page for various keywords. Here’s an example of the keyword progress we made for one client with an AngularJS site:

Also, the organic traffic growth for that client over the course of seven months:

All of this goes to show that although SEO for SPAs can be tedious, laborious, and troublesome, it is not impossible. Follow the steps above, and you can have SEO success with your single-page app website.


Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don't have time to hunt down but want to read!

mardi 30 mai 2017

Ontario becomes 2nd province in Canada to go ahead with $15 an hour minimum wage



Worth mentioning minimum wage in 1971 (picked because my baby boomer parents would have been 16 getting their first job) was $1.65 or $10.39 in today's money. So as it stands wages only grew $1 or 10%. Note the average price of a house in 1971 (Ontario) was $30,426 or $191,669 in today's money.

from Pocket http://ift.tt/2rB4OSG

Ontario becomes 2nd province in Canada to go ahead with $15 an hour minimum wage


Worth mentioning minimum wage in 1971 (picked because my baby boomer parents would have been 16 getting their first job) was $1.65 or $10.39 in today's money. So as it stands wages only grew $1 or 10%. Note the average price of a house in 1971 (Ontario) was $30,426 or $191,669 in today's money. via Pocket http://ift.tt/2rB4OSG

Theresa May protest song 'liar liar' hits No 1 on iTunes. Captain Ska's song, which calls the PM a "liar", has been banned by radio stations despite reaching No 1 on iTunes. • r/worldnews



Theresa May protest song 'liar liar' hits No 1 on iTunes. Captain Ska's song, which calls the PM a "liar", has been banned by radio stations despite reaching No 1 on iTunes. (news.sky.com) "I didn't ban it," lied the PM. "The radio stations chose not to play it. Out of respect. That's no lie."

from Pocket http://ift.tt/2r8WZlN

Theresa May protest song 'liar liar' hits No 1 on iTunes. Captain Ska's song, which calls the PM a "liar", has been banned by radio stations despite reaching No 1 on iTunes. • r/worldnews


Theresa May protest song 'liar liar' hits No 1 on iTunes. Captain Ska's song, which calls the PM a "liar", has been banned by radio stations despite reaching No 1 on iTunes. (news.sky.com) "I didn't ban it," lied the PM. "The radio stations chose not to play it. Out of respect. That's no lie." via Pocket http://ift.tt/2r8WZlN

Australia's $10Bn Green Energy Fund To Be Used By Government For Coal



Nice, definitely the way to go "green". Do you cough up green phlegm if you have black lung disease?

from Pocket http://ift.tt/2qwlqel

Australia's $10Bn Green Energy Fund To Be Used By Government For Coal


Nice, definitely the way to go "green". Do you cough up green phlegm if you have black lung disease? via Pocket http://ift.tt/2qwlqel