<commit_before>---
layout: post
title: Parallelisation using Celery in Pyramid
date:       2014-10-10 15:31:19
summary:    Sharing can be love... but must be accurate!
categories: html meta share
---

A really quick post about meta tags and a nice way to make your page sharing more accurate/attractive on Facebook, Twitter, Google+ and all the main other social networks.

I think the first one to start with specific header meta tags was Facebook. With their own "bot" called OpenGraph, they scan websites and target first specific meta tags in your `head` tag. If you don't have these tags, they might fall back to your default ones but I saw many times this system failing and/or putting something broken/not relevant in place of your actual page title or description. So it's probably better to just add them to your page just to be sure your saving is safe.

###Facebook
Let's have a look to Facebook specific meta tags.

{% highlight html %}
<meta property="og:title" content="Title Here" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description Here" />
<meta property="og:site_name" content="Site Name, i.e. Moz" />
<meta property="article:published_time" content="2013-09-17T05:59:00+01:00" />
<meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
<meta property="article:section" content="Article Section" />
<meta property="article:tag" content="Article Tag" />
<meta property="fb:admins" content="Facebook numberic ID" /> <commit_msg>Parallelisation post<commit_after>---
layout: post
title: Meta tags for Facebook, Twitter and Google+
date:       2014-10-10 15:31:19
summary:    Sharing can be love... but must be accurate!
categories: html meta share
---

A really quick post about meta tags and a nice way to make your page sharing more accurate/attractive on Facebook, Twitter, Google+ and all the main other social networks.

I think the first one to start with specific header meta tags was Facebook. With their own "bot" called OpenGraph, they scan websites and target first specific meta tags in your `head` tag. If you don't have these tags, they might fall back to your default ones but I saw many times this system failing and/or putting something broken/not relevant in place of your actual page title or description. So it's probably better to just add them to your page just to be sure your saving is safe.

###Facebook
Let's have a look to Facebook specific meta tags.

{% highlight html %}
<meta property="og:title" content="Title Here" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://example.com/image.jpg" />
<meta property="og:description" content="Description Here" />
<meta property="og:site_name" content="Site Name, i.e. Moz" />
<meta property="article:published_time" content="2013-09-17T05:59:00+01:00" />
<meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
<meta property="article:section" content="Article Section" />
<meta property="article:tag" content="Article Tag" />
<meta property="fb:admins" content="Facebook numberic ID" /> 
{'fraction_non_alphanumeric': 0.11390487730990609, 'fraction_numerical': 0.030293850348379277, 'mean_word_length': 5.069852941176471, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4362570', 'n_tokens_mistral': 977, 'n_tokens_neox': 897, 'n_words': 395}