open_graph_reader 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/open_graph_reader.rb +20 -1
- data/lib/open_graph_reader/builder.rb +14 -10
- data/lib/open_graph_reader/configuration.rb +28 -3
- data/lib/open_graph_reader/definitions.rb +1 -1
- data/lib/open_graph_reader/object.rb +4 -4
- data/lib/open_graph_reader/object/dsl.rb +3 -1
- data/lib/open_graph_reader/object/dsl/types.rb +29 -9
- data/lib/open_graph_reader/parser.rb +7 -0
- data/lib/open_graph_reader/version.rb +1 -1
- data/spec/fixtures/real_world/image_path.html +699 -0
- data/spec/fixtures/real_world/missing_title.html +607 -0
- data/spec/fixtures/real_world/undefined_property_2.html +809 -0
- data/spec/integration/invalid_examples_spec.rb +13 -9
- data/spec/integration/real_world_spec.rb +60 -2
- metadata +7 -1
@@ -0,0 +1,809 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-GB" id="responsive-news">
|
3
|
+
<head >
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
6
|
+
<title>Emergency call system for all new cars by 2018 - BBC News</title>
|
7
|
+
<meta name="description" content="The European Parliament and EU member states have agreed that new cars must be fitted with an automated system to alert emergency services in event of a crash." />
|
8
|
+
|
9
|
+
<meta name="x-country" content="de" />
|
10
|
+
<meta name="x-audience" content="Domestic" />
|
11
|
+
<link rel="canonical" href="http://www.bbc.co.uk/news/technology-30337272" />
|
12
|
+
|
13
|
+
|
14
|
+
<meta property="og:title" content="Emergency call system for all new cars by 2018" />
|
15
|
+
<meta property="og:type" content="article" />
|
16
|
+
<meta property="og:description" content="The European Parliament and EU member states have agreed that new cars must be fitted with an automated system to alert emergency services in event of a crash." />
|
17
|
+
<meta property="og:site_name" content="BBC News" />
|
18
|
+
<meta property="og:article:author" content="BBC News" />
|
19
|
+
<meta property="og:article:section" content="Technology" />
|
20
|
+
<meta property="og:url" content="http://www.bbc.co.uk/news/technology-30337272" />
|
21
|
+
<meta property="og:image" content="http://news.bbcimg.co.uk/media/images/79520000/jpg/_79520623_79519885.jpg" />
|
22
|
+
|
23
|
+
<meta name="twitter:card" content="summary">
|
24
|
+
<meta name="twitter:site" content="@BBCNews">
|
25
|
+
<meta name="twitter:title" content="Emergency call system for all new cars by 2018">
|
26
|
+
<meta name="twitter:description" content="The European Parliament and EU member states have agreed that new cars must be fitted with an automated system to alert emergency services in event of a crash.">
|
27
|
+
<meta name="twitter:creator" content="@BBCNews">
|
28
|
+
<meta name="twitter:image:src" content="http://news.bbcimg.co.uk/media/images/79520000/jpg/_79520623_79519885.jpg">
|
29
|
+
<meta name="twitter:domain" content="www.bbc.co.uk">
|
30
|
+
|
31
|
+
<meta name="apple-mobile-web-app-title" content="BBC News" />
|
32
|
+
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="http://static.bbci.co.uk/news/1.53.5-1269/apple-touch-icon-57x57-precomposed.png" />
|
33
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://static.bbci.co.uk/news/1.53.5-1269/apple-touch-icon-72x72-precomposed.png" />
|
34
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://static.bbci.co.uk/news/1.53.5-1269/apple-touch-icon-114x114-precomposed.png" />
|
35
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://static.bbci.co.uk/news/1.53.5-1269/apple-touch-icon.png" />
|
36
|
+
<link rel="apple-touch-icon" href="http://static.bbci.co.uk/news/1.53.5-1269/apple-touch-icon.png" />
|
37
|
+
<meta name="application-name" content="BBC News" />
|
38
|
+
<meta name="msapplication-TileImage" content="http://static.bbci.co.uk/news/1.53.5-1269/windows-eight-icon-144x144.png" />
|
39
|
+
<meta name="msapplication-TileColor" content="#CC0101" />
|
40
|
+
<meta http-equiv="cleartype" content="on" />
|
41
|
+
<meta name="mobile-web-app-capable" content="yes">
|
42
|
+
<meta name="theme-color" content="#cc0101">
|
43
|
+
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
|
44
|
+
|
45
|
+
<script>
|
46
|
+
(function() {
|
47
|
+
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
|
48
|
+
var msViewportStyle = document.createElement("style");
|
49
|
+
msViewportStyle.appendChild(
|
50
|
+
document.createTextNode("@-ms-viewport{width:auto!important}")
|
51
|
+
);
|
52
|
+
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
|
53
|
+
}
|
54
|
+
})();
|
55
|
+
</script>
|
56
|
+
|
57
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script type="text/javascript">window.bbcredirection={geo:true,device:true}</script> <script type="text/javascript" src="http://static.bbci.co.uk/frameworks/requirejs/0.16.0/sharedmodules/require.js"></script> <script type="text/javascript"> bbcRequireMap = {"jquery-1":"http://static.bbci.co.uk/frameworks/jquery/0.3.0/sharedmodules/jquery-1.7.2", "jquery-1.4":"http://static.bbci.co.uk/frameworks/jquery/0.3.0/sharedmodules/jquery-1.4", "jquery-1.9":"http://static.bbci.co.uk/frameworks/jquery/0.3.0/sharedmodules/jquery-1.9.1", "swfobject-2":"http://static.bbci.co.uk/frameworks/swfobject/0.1.10/sharedmodules/swfobject-2", "demi-1":"http://static.bbci.co.uk/frameworks/demi/0.10.0/sharedmodules/demi-1", "gelui-1":"http://static.bbci.co.uk/frameworks/gelui/0.9.13/sharedmodules/gelui-1", "cssp!gelui-1/overlay":"http://static.bbci.co.uk/frameworks/gelui/0.9.13/sharedmodules/gelui-1/overlay.css", "istats-1":"http://static.bbci.co.uk/frameworks/istats/0.23.1/modules/istats-1", "relay-1":"http://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1", "clock-1":"http://static.bbci.co.uk/frameworks/clock/0.1.9/sharedmodules/clock-1", "canvas-clock-1":"http://static.bbci.co.uk/frameworks/clock/0.1.9/sharedmodules/canvas-clock-1", "cssp!clock-1":"http://static.bbci.co.uk/frameworks/clock/0.1.9/sharedmodules/clock-1.css", "jssignals-1":"http://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1", "jcarousel-1":"http://static.bbci.co.uk/frameworks/jcarousel/0.1.10/modules/jcarousel-1", "bump-3":"//emp.bbci.co.uk/emp/bump-3/bump-3"}; require({ baseUrl: 'http://static.bbci.co.uk/', paths: bbcRequireMap, waitSeconds: 30 }); </script> <script type="text/javascript">/*<![CDATA[*/ if (typeof bbccookies_flag === 'undefined') { bbccookies_flag = 'ON'; } showCTA_flag = true; cta_enabled = (showCTA_flag && (bbccookies_flag === 'ON') ); (function(){var e="ckns_policy",m="Thu, 01 Jan 1970 00:00:00 GMT",k={ads:true,personalisation:true,performance:true,necessary:true};function f(p){if(f.cache[p]){return f.cache[p]}var o=p.split("/"),q=[""];do{q.unshift((o.join("/")||"/"));o.pop()}while(q[0]!=="/");f.cache[p]=q;return q}f.cache={};function a(p){if(a.cache[p]){return a.cache[p]}var q=p.split("."),o=[];while(q.length&&"|co.uk|com|".indexOf("|"+q.join(".")+"|")===-1){if(q.length){o.push(q.join("."))}q.shift()}f.cache[p]=o;return o}a.cache={};function i(o,t,p){var z=[""].concat(a(window.location.hostname)),w=f(window.location.pathname),y="",r,x;for(var s=0,v=z.length;s<v;s++){r=z[s];for(var q=0,u=w.length;q<u;q++){x=w[q];y=o+"="+t+";"+(r?"domain="+r+";":"")+(x?"path="+x+";":"")+(p?"expires="+p+";":"");bbccookies.set(y,true)}}}window.bbccookies={_setEverywhere:i,cookiesEnabled:function(){var o="ckns_testcookie"+Math.floor(Math.random()*100000);this.set(o+"=1");if(this.get().indexOf(o)>-1){g(o);return true}return false},set:function(o){return document.cookie=o},get:function(){return document.cookie},_setPolicy:function(o){return h.apply(this,arguments)},readPolicy:function(o){return b.apply(this,arguments)},_deletePolicy:function(){i(e,"",m)},isAllowed:function(){return true},_isConfirmed:function(){return c()!==null},_acceptsAll:function(){var o=b();return o&&!(j(o).indexOf("0")>-1)},_getCookieName:function(){return d.apply(this,arguments)},_showPrompt:function(){var o=(!this._isConfirmed()&&window.cta_enabled&&this.cookiesEnabled()&&!window.bbccookies_disable);return(window.orb&&window.orb.fig)?o&&(window.orb.fig("no")||window.orb.fig("ck")):o}};bbccookies._getPolicy=bbccookies.readPolicy;function d(p){var o=(""+p).match(/^([^=]+)(?==)/);return(o&&o.length?o[0]:"")}function j(o){return""+(o.ads?1:0)+(o.personalisation?1:0)+(o.performance?1:0)}function h(r){if(typeof r==="undefined"){r=k}if(typeof arguments[0]==="string"){var o=arguments[0],q=arguments[1];if(o==="necessary"){q=true}r=b();r[o]=q}else{if(typeof arguments[0]==="object"){r.necessary=true}}var p=new Date();p.setYear(p.getFullYear()+1);p=p.toUTCString();bbccookies.set(e+"="+j(r)+";domain=bbc.co.uk;path=/;expires="+p+";");bbccookies.set(e+"="+j(r)+";domain=bbc.com;path=/;expires="+p+";");return r}function l(o){if(o===null){return null}var p=o.split("");return{ads:!!+p[0],personalisation:!!+p[1],performance:!!+p[2],necessary:true}}function c(){var o=new RegExp("(?:^|; ?)"+e+"=(\\d\\d\\d)($|;)"),p=document.cookie.match(o);if(!p){return null}return p[1]}function b(o){var p=l(c());if(!p){p=k}if(o){return p[o]}else{return p}}function g(o){return document.cookie=o+"=;expires="+m+";"}function n(){var o='<script type="text/javascript" src="http://static.bbci.co.uk/frameworks/bbccookies/0.6.6/script/bbccookies.js"><\/script>';if(window.bbccookies_flag==="ON"&&!bbccookies._acceptsAll()&&!window.bbccookies_disable){document.write(o)}}n()})(); /*]]>*/</script> <script type="text/javascript">/*<![CDATA[*/
|
58
|
+
(function(){window.fig=window.fig||{};window.fig.manager={include:function(a){a=a||window;var e=a.document,g=e.cookie,b=g.match(/(?:^|; ?)ckns_orb_fig=([^;]+)/);if(!b&&g.indexOf("ckns_orb_nofig=1")>-1){this.setFig(a,{no:1})}else{if(b){b=this.deserialise(decodeURIComponent(RegExp.$1));this.setFig(a,b)}e.write('<script src="https://ssl.bbc.co.uk/frameworks/fig/1/fig.js"><'+"/script>")}},confirm:function(a){a=a||window;if(a.orb&&a.orb.fig&&a.orb.fig("no")){this.setNoFigCookie(a)}if(a.orb===undefined||a.orb.fig===undefined){this.setFig(a,{no:1});this.setNoFigCookie(a)}},setNoFigCookie:function(a){a.document.cookie="ckns_orb_nofig=1; expires="+new Date(new Date().getTime()+1000*60*10).toGMTString()+";"},setFig:function(a,b){(function(){var c=b;a.orb=a.orb||{};a.orb.fig=function(d){return(arguments.length)?c[d]:c}})()},deserialise:function(b){var a={};b.replace(/([a-z]{2}):([0-9]+)/g,function(){a[RegExp.$1]=+RegExp.$2});return a}}})();fig.manager.include();/*]]>*/</script>
|
59
|
+
|
60
|
+
<!--[if (gt IE 8) | (IEMobile)]><!-->
|
61
|
+
<link rel="stylesheet" href="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/style/orb.css">
|
62
|
+
<!--<![endif]-->
|
63
|
+
|
64
|
+
<!--[if (lt IE 9) & (!IEMobile)]>
|
65
|
+
<link rel="stylesheet" href="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/style/orb-ie.css">
|
66
|
+
<![endif]-->
|
67
|
+
|
68
|
+
<script type="text/javascript">/*<![CDATA[*/ (function(undefined){if(!window.bbc){window.bbc={}}var ROLLING_PERIOD_DAYS=30;window.bbc.Mandolin=function(id,segments,opts){var now=new Date().getTime(),storedItem,DEFAULT_START=now,DEFAULT_RATE=1,COOKIE_NAME="ckpf_mandolin";opts=opts||{};this._id=id;this._segmentSet=segments;this._store=new window.window.bbc.Mandolin.Storage(COOKIE_NAME);this._opts=opts;this._rate=(opts.rate!==undefined)?+opts.rate:DEFAULT_RATE;this._startTs=(opts.start!==undefined)?new Date(opts.start).getTime():new Date(DEFAULT_START).getTime();this._endTs=(opts.end!==undefined)?new Date(opts.end).getTime():daysFromNow(ROLLING_PERIOD_DAYS);this._signupEndTs=(opts.signupEnd!==undefined)?new Date(opts.signupEnd).getTime():this._endTs;this._segment=null;if(typeof id!=="string"){throw new Error("Invalid Argument: id must be defined and be a string")}if(Object.prototype.toString.call(segments)!=="[object Array]"){throw new Error("Invalid Argument: Segments are required.")}if(opts.rate!==undefined&&(opts.rate<0||opts.rate>1)){throw new Error("Invalid Argument: Rate must be between 0 and 1.")}if(this._startTs>this._endTs){throw new Error("Invalid Argument: end date must occur after start date.")}if(!(this._startTs<this._signupEndTs&&this._signupEndTs<=this._endTs)){throw new Error("Invalid Argument: SignupEnd must be between start and end date")}removeExpired.call(this,now);var overrides=window.bbccookies.get().match(/ckns_mandolin_setSegments=([^;]+)/);if(overrides!==null){eval("overrides = "+decodeURIComponent(RegExp.$1)+";");if(overrides[this._id]&&this._segmentSet.indexOf(overrides[this._id])==-1){throw new Error("Invalid Override: overridden segment should exist in segments array")}}if(overrides!==null&&overrides[this._id]){this._segment=overrides[this._id]}else{if((storedItem=this._store.getItem(this._id))){this._segment=storedItem.segment}else{if(this._startTs<=now&&now<this._signupEndTs&&now<=this._endTs&&this._store.isEnabled()===true){this._segment=pick(segments,this._rate);if(opts.end===undefined){this._store.setItem(this._id,{segment:this._segment})}else{this._store.setItem(this._id,{segment:this._segment,end:this._endTs})}log.call(this,"mandolin_segment")}}}log.call(this,"mandolin_view")};window.bbc.Mandolin.prototype.getSegment=function(){return this._segment};function log(actionType,params){var that=this;require(["istats-1"],function(istats){istats.log(actionType,that._id+":"+that._segment,params?params:{})})}function removeExpired(expires){var items=this._store.getItems(),expiresInt=+expires;for(var key in items){if(items[key].end!==undefined&&+items[key].end<expiresInt){this._store.removeItem(key)}}}function getLastExpirationDate(data){var winner=0,rollingExpire=daysFromNow(ROLLING_PERIOD_DAYS);for(var key in data){if(data[key].end===undefined&&rollingExpire>winner){winner=rollingExpire}else{if(+data[key].end>winner){winner=+data[key].end}}}return(winner)?new Date(winner):new Date(rollingExpire)}window.bbc.Mandolin.prototype.log=function(params){log.call(this,"mandolin_log",params)};window.bbc.Mandolin.prototype.convert=function(params){log.call(this,"mandolin_convert",params);this.convert=function(){}};function daysFromNow(n){var endDate;endDate=new Date().getTime()+(n*60*60*24)*1000;return endDate}function pick(segments,rate){var picked,min=0,max=segments.length-1;if(typeof rate==="number"&&Math.random()>rate){return null}do{picked=Math.floor(Math.random()*(max-min+1))+min}while(picked>max);return segments[picked]}window.bbc.Mandolin.Storage=function(name){validateCookieName(name);this._cookieName=name;this._isEnabled=(bbccookies.isAllowed(this._cookieName)===true&&bbccookies.cookiesEnabled()===true)};window.bbc.Mandolin.Storage.prototype.setItem=function(key,value){var storeData=this.getItems();storeData[key]=value;this.save(storeData);return value};window.bbc.Mandolin.Storage.prototype.isEnabled=function(){return this._isEnabled};window.bbc.Mandolin.Storage.prototype.getItem=function(key){var storeData=this.getItems();return storeData[key]};window.bbc.Mandolin.Storage.prototype.removeItem=function(key){var storeData=this.getItems();delete storeData[key];this.save(storeData)};window.bbc.Mandolin.Storage.prototype.getItems=function(){return deserialise(this.readCookie(this._cookieName)||"")};window.bbc.Mandolin.Storage.prototype.save=function(data){window.bbccookies.set(this._cookieName+"="+encodeURIComponent(serialise(data))+"; expires="+getLastExpirationDate(data).toUTCString()+";")};window.bbc.Mandolin.Storage.prototype.readCookie=function(name){var nameEq=name+"=",ca=window.bbccookies.get().split("; "),i,c;validateCookieName(name);for(i=0;i<ca.length;i++){c=ca[i];if(c.indexOf(nameEq)===0){return decodeURIComponent(c.substring(nameEq.length,c.length))}}return null};function serialise(o){var str="";for(var p in o){if(o.hasOwnProperty(p)){str+='"'+p+'"'+":"+(typeof o[p]==="object"?(o[p]===null?"null":"{"+serialise(o[p])+"}"):'"'+o[p].toString()+'"')+","}}return str.replace(/,\}/g,"}").replace(/,$/g,"")}function deserialise(str){var o;str="{"+str+"}";if(!validateSerialisation(str)){throw"Invalid input provided for deserialisation."}eval("o = "+str);return o}var validateSerialisation=(function(){var OBJECT_TOKEN="<Object>",ESCAPED_CHAR='"\\n\\r\\u2028\\u2029\\u000A\\u000D\\u005C',ALLOWED_CHAR="([^"+ESCAPED_CHAR+"]|\\\\["+ESCAPED_CHAR+"])",KEY='"'+ALLOWED_CHAR+'+"',VALUE='(null|"'+ALLOWED_CHAR+'*"|'+OBJECT_TOKEN+")",KEY_VALUE=KEY+":"+VALUE,KEY_VALUE_SEQUENCE="("+KEY_VALUE+",)*"+KEY_VALUE,OBJECT_LITERAL="({}|{"+KEY_VALUE_SEQUENCE+"})",objectPattern=new RegExp(OBJECT_LITERAL,"g");return function(str){if(str.indexOf(OBJECT_TOKEN)!==-1){return false}while(str.match(objectPattern)){str=str.replace(objectPattern,OBJECT_TOKEN)}return str===OBJECT_TOKEN}})();function validateCookieName(name){if(name.match(/ ,;/)){throw"Illegal name provided, must be valid in browser cookie."}}})(); /*]]>*/</script> <script type="text/javascript"> document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; fig.manager.confirm(); </script> <script src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/script/orb/api.min.js"></script> <script type="text/javascript"> window.orb_masthead_test = new bbc.Mandolin( 'orb_masthead', ['simple', 'control'], { rate: 6/1000, start: new Date('09/22/2014 08:00:00 GMT'), /* format: mm/dd/yyyy hh:mm:ss */ signupEnd: new Date('09/24/2014 08:00:00 GMT'), end: new Date('10/06/2014 08:00:00 GMT') } ); </script> <script type="text/javascript"> /*<![CDATA[*/ function oqsSurveyManager(w, flag) { if (flag !== 'OFF') { w.document.write('<script type="text/javascript" src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/script/vendor/edr.js"><'+'/script>'); } } oqsSurveyManager(window, 'ON'); /*]]>*/ </script> <!-- BBCDOTCOM template: responsive webservice -->
|
69
|
+
<!-- BBCDOTCOM head --><style type="text/css">.bbccom_display_none{display:none;}</style><script type="text/javascript"> /*<![CDATA[*/ var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; var bbcdotcom = false; (function(){ if(typeof require !== 'undefined') { require({ paths:{ "bbcdotcom":"http://static.bbci.co.uk/bbcdotcom/0.3.291/script" } }); } })(); /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ var bbcdotcom = { advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, setAdsEnabled: function() {}, setAssetPrefix: function() {}, setConfig: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {} }, setAdKeyValue: function() {}, utils: { addHtmlTagClass: function() {} }, addLoadEvent: function() {} }; /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="'+('https:' == document.location.protocol ? 'https://ssl.bbc.com' : 'http://tps.bbc.com')+'/wwscripts/data">\x3C/script>'); } /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ if (typeof orb === 'undefined' || typeof orb.fig !== 'function') { bbcdotcom.data = { ads: bbcdotcom.data.a, stats: bbcdotcom.data.b, statsProvider: bbcdotcom.data.c }; } if (bbcdotcom.data.ads == 1) { document.write('<script type="text/javascript" src="'+('https:' == document.location.protocol ? 'https://ssl.bbc.co.uk' : 'http://www.bbc.co.uk')+'/wwscripts/flag">\x3C/script>'); } /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && (typeof bbcdotcom.flag == 'undefined' || (typeof bbcdotcom.data.ads !== 'undefined' && bbcdotcom.flag.a != 1))) { bbcdotcom.data.ads = 0; } if (/[?|&]ads-debug/.test(window.location.href) || document.cookie.indexOf('ads-debug') !== -1) { bbcdotcom.data.ads = 1; bbcdotcom.data.stats = 1; } if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcom.assetPrefix = "http://static.bbci.co.uk/bbcdotcom/0.3.291/"; document.write('<link rel="stylesheet" type="text/css" href="http://static.bbci.co.uk/bbcdotcom/0.3.291/style/orb/bbccom.css" />'); (function() { var useSSL = 'https:' == document.location.protocol; var src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; document.write('<scr' + 'ipt src="' + src + '">\x3C/script>'); })(); if (typeof navigator !== 'undefined' && typeof navigator.userAgent !== 'undefined' && navigator.userAgent.indexOf('MSIE 7.0') !== -1 ) { document.write('<link rel="stylesheet" type="text/css" href="http://static.bbci.co.uk/bbcdotcom/0.3.291/style/orb/bbccom-ie7.css" />'); } if (/(sandbox|int)(.dev)*.bbc.co*/.test(window.location.href) || /[?|&]ads-debug/.test(window.location.href)) { document.write('<script type="text/javascript" src="http://static.bbci.co.uk/bbcdotcom/0.3.291/script/orb/individual.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="http://static.bbci.co.uk/bbcdotcom/0.3.291/script/orb/bbcdotcom.js">\x3C/script>'); } if(/[\\?&]ads=([^&#]*)/.test(window.location.href)) { document.write('<script type="text/javascript" src="http://static.bbci.co.uk/bbcdotcom/0.3.291/script/orb/adverts/adSuites.js">\x3C/script>'); } } /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { var bbcdotcomConfig = {"adExclusions":"","adFormat":"standard","adKeyword":"","adMode":"smart","adsEnabled":true,"asyncEnabled":false,"disableInitialLoad":false,"advertInfoPageUrl":"http:\/\/www.bbc.co.uk\/faqs\/online\/adverts_general","advertisementText":"Advertisement","analyticsEnabled":true,"appName":"tabloid","assetPrefix":"http:\/\/static.bbci.co.uk\/bbcdotcom\/0.3.291\/","customAdParams":[],"customStatsParams":[],"headline":"Emergency call system for all new cars by 2018","id":"30337272","inAssociationWithText":"In association with","keywords":"","language":"","orbTransitional":false,"outbrainEnabled":true,"palEnv":"live","productName":"","sections":[],"siteCatalystEnabled":true,"slots":"","sponsoredByText":"Sponsored by","summary":"The European Parliament and EU member states have agreed that new cars must be fitted with an automated system to alert emergency services in event of a crash.","type":"STORY","staticBase":"\/bbcdotcom","staticHost":"http:\/\/static.bbci.co.uk","staticVersion":"0.3.291","staticPrefix":"http:\/\/static.bbci.co.uk\/bbcdotcom\/0.3.291","dataHttp":"tps.bbc.com","dataHttps":"ssl.bbc.com","flagHttp":"www.bbc.co.uk","flagHttps":"ssl.bbc.co.uk","analyticsHttp":"sa.bbc.com","analyticsHttps":"ssa.bbc.com"}; bbcdotcom.config.init(bbcdotcomConfig, bbcdotcom.data, window.location, window.document); bbcdotcom.config.setAssetPrefix("http://static.bbci.co.uk/bbcdotcom/0.3.291/"); document.write('<!--[if IE 7]><script type="text/javascript">bbcdotcom.config.setIE7(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 8]><script type="text/javascript">bbcdotcom.config.setIE8(true);\x3C/script><![endif]-->'); } /*]]>*/ </script> <script type="text/javascript">/*<![CDATA[*/ window.istats = (window.istats || {}); (istats.head = function(w,d) { w.istats._linkTracked = w.istats._trackingCookie = decodeURIComponent( (d.cookie.match(/\bsa_labels=([^;]+)/)||[]).pop() || '' ); var host = w.location.host, m = host.match(/(bbc(?:\.co\.uk|\.com))$/i); d.cookie = 'sa_labels=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain=' + (m? m[1] : host) + '; path=/'; })(window,document); /*]]>*/</script> <script type="text/javascript"> /* <![CDATA[ */ define('id-statusbar-config', { 'translation_signedout': "Sign in", 'translation_signedin': "Your account", 'use_overlay' : false, 'signin_url' : "https://ssl.bbc.co.uk/id/signin?ptrt=http%3A%2F%2Fm.bbc.co.uk%2Fnews%2Ftechnology-30337272", 'locale' : "en-GB", 'policyname' : "", 'ptrt' : "http://m.bbc.co.uk/news/technology-30337272" }); /* ]]> */ </script> <script type="text/javascript"> (function () { if (! window.require) { throw new Error('idcta: could not find require'); } var map = {}; map['idapp-1'] = 'http://static.bbci.co.uk/idapp/0.63.26/modules/idapp/idapp-1'; map['idcta/idcta-1'] = 'http://static.bbci.co.uk/id/0.24.7/modules/idcta/idcta-1'; map['idcta/idCookie'] = 'http://static.bbci.co.uk/id/0.24.7/modules/idcta/idCookie'; map['idcta/overlayManager'] = 'http://static.bbci.co.uk/id/0.24.7/modules/idcta/overlayManager'; require({paths: map}); define('id-config', {"idapp":{"version":"0.63.26","hostname":"ssl.bbc.co.uk","insecurehostname":"www.bbc.co.uk","tld":"bbc.co.uk"},"idtranslations":{"version":"0.29.1"},"identity":{"baseUrl":"https:\/\/talkback.live.bbc.co.uk\/identity"},"pathway":{"name":null,"staticAssetUrl":"http:\/\/static.bbci.co.uk\/idapp\/0.63.26\/modules\/idapp\/idapp-1\/View.css"}}); })(); </script>
|
70
|
+
<link type="text/css" rel="stylesheet" href="http://static.bbci.co.uk/news/1.53.5-1269/stylesheets/services/news/core.css" />
|
71
|
+
<!--[if lt IE 9]>
|
72
|
+
<link type="text/css" rel="stylesheet" href="http://static.bbci.co.uk/news/1.53.5-1269/stylesheets/services/news/old-ie.css" />
|
73
|
+
<script src="http://static.bbci.co.uk/news/1.53.5-1269/js/vendor/html5shiv/html5shiv.js"></script>
|
74
|
+
<![endif]-->
|
75
|
+
<script id="news-loader"> if (document.getElementById("responsive-news")) { window.bbcNewsResponsive = true; } var isIE = (function() { var undef, v = 3, div = document.createElement('div'), all = div.getElementsByTagName('i'); while ( div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->', all[0] ); return v > 4 ? v : undef; }()); var modernDevice = 'querySelector' in document && 'localStorage' in window && 'addEventListener' in window, forceCore = document.cookie.indexOf('ckps_force_core') !== -1, holepunched = isIE > 6 && document.getElementById('js-holepunched'); window.cutsTheMustard = (modernDevice && !forceCore) || holepunched; if (window.cutsTheMustard) { document.documentElement.className += ' ctm'; var insertPoint = document.getElementById('news-loader'), config = {"asset":{"asset_id":"30337272","asset_uri":"\/news\/technology-30337272","first_created":{"date":"2014-12-04 16:54:29","timezone_type":3,"timezone":"Europe\/London"},"last_updated":{"date":"2014-12-04 17:36:07","timezone_type":3,"timezone":"Europe\/London"},"options":{"allowHeadline":true,"allowDateStamp":true,"isKeyContent":false,"allowRelatedStoriesBox":true,"allowRightHandSide":true,"includeComments":false,"isIgorSeoTagsEnabled":false,"allowPrintingSharingLinks":true,"isBreakingNews":false,"allowAdvertising":true,"suitableForSyndication":true},"section":{"name":"Technology","id":"99113","uri":"\/news\/technology","urlIdentifier":"\/news\/technology"},"edition":"Domestic","audience":null,"iStats_counter_name":"news.technology.story.30337272.page","type":"STY"},"smpBrand":null,"staticHost":"http:\/\/static.bbci.co.uk","environment":"live","locatorVersion":"0.46.3","pathPrefix":"\/news","jsPath":"http:\/\/static.bbci.co.uk\/news\/1.53.5-1269\/js","cssPath":"http:\/\/static.bbci.co.uk\/news\/1.53.5-1269\/stylesheets\/services\/news","cssPostfix":"","dynamic":null,"features":{"localnews":true,"video":true,"liveeventcomponent":true,"mediaassetpage":true,"travel":true,"gallery":true,"rollingnews":true,"rumanalytics":true,"sportstories":true,"radiopromo":true,"fromothernewssites":true,"locallive":true,"weather":true},"features2":{"chartbeat":true,"connected_stream":true,"nav":true,"pulse_survey":false,"correspondents":true,"explainer_banner":false,"tablet_explainer_banner":true,"blogs":true,"follow_us":true,"multi_client_cache":true,"marketdata":true,"market_data\/markets_index_promo":true,"politics_vote2014":true,"politics_scotref_polltracker":true,"politics_scotref_live":true,"politics_scotref_results":true,"politics_scotref":true,"politics_councils":true,"politics_eu_regions":true,"breaking_news":true,"most_popular":true,"most_popular_tabs":true,"most_popular_by_day":true,"routing":true,"beta_label":true,"rum":true,"radiopromonownext":true,"config_based_layout":true,"orb":true,"enhanced_gallery":true,"top_stories_promo":true,"features_and_analysis":true,"section_labels":true,"index_title":true,"share_tools":true,"local_live_promo":true,"adverts":true,"adexpert":true,"igor_geo_redirect":true,"igor_device_redirect":true,"map":true,"live":true,"comscore_mmx":true,"find_local_news":true,"comments":true,"comments_enhanced":true,"browser_notify":true,"stream_grid_promo":true,"top_stories_max_volume":true,"record_livestats":true,"contact_form":true,"channel_page":true,"portlet_global_variants":true,"suppress_lep_timezone":true},"configuration":{"showtimestamp":"1","showweather":"1","showsport":"1","showolympics":"1","showfeaturemain":"1","showsitecatalyst":"1","candyplatform":"EnhancedMobile","showmap":"1","showwatchlisten":"1","showspecialreports":"","videotopiccandyid":"","showvideofeedsections":"1","showmaprelatedmedia":"1","showmapmostwatched":"1","showmaptopstories":"1","showstorytopstories":"","showstoryfeaturesandanalysis":"1","showstorymostpopular":"","showgallery":"1","cms":"cps","channelpagecandyid":"10318089"},"pollingHost":"http:\/\/polling.bbc.co.uk","service":"news","locale":"en-GB","locatorHost":null,"locatorFlagPole":true,"local":{"allowLocationLookup":true},"isWorldService":false,"rumAnalytics":{"server":"http:\/\/ingest.rum.bbc.co.uk","key":"news","url_params":null,"edition":"domestic"},"isChannelPage":false,"suitenameMap":"","languageVariant":"","commentsHost":"http:\/\/feeds.bbci.co.uk"}; config.configuration['get'] = function (key) { return this[key.toLowerCase()]; }; var bootstrapUI=function(){var e=function(){if(navigator.userAgent.match(/(Android (2.0|2.1))|(Nokia)|(OSRE\/)|(Opera (Mini|Mobi))|(w(eb)?OSBrowser)|(UCWEB)|(Windows Phone)|(XBLWP)|(ZuneWP)/))return!1;if(navigator.userAgent.match(/MSIE 10.0/))return!0;var e,t=document,n=t.head||t.getElementsByTagName("head")[0],r=t.createElement("style"),s=t.implementation||{hasFeature:function(){return!1}};r.type="text/css",n.insertBefore(r,n.firstChild),e=r.sheet||r.styleSheet;var i=s.hasFeature("CSS2","")?function(t){if(!e||!t)return!1;var n=!1;try{e.insertRule(t,0),n=!/unknown/i.test(e.cssRules[0].cssText),e.deleteRule(e.cssRules.length-1)}catch(r){}return n}:function(t){return e&&t?(e.cssText=t,0!==e.cssText.length&&!/unknown/i.test(e.cssText)&&0===e.cssText.replace(/\r+|\n+/g,"").indexOf(t.split(" ")[0])):!1};return i('@font-face{ font-family:"font";src:"font.ttf"; }')}();e&&(document.getElementsByTagName("html")[0].className+=" ff");var t,n,r,s,i,a,o={},u=function(){t=window.innerWidth,n=window.innerHeight},c=function(e){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",r+e+s+".css"),t.setAttribute("media",a[e]),i.parentNode.insertBefore(t,i),delete a[e]},f=function(e,r,s){r&&!s&&(t>=r||n>=r)&&c(e),s&&!r&&(s>=t||s>=n)&&c(e),r&&s&&(t>=r||n>=r)&&(s>=t||s>=n)&&c(e)},l=function(e){if(o[e])return o[e];var t=e.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/),n=e.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/),r=t&&parseFloat(t[1])||null,s=n&&parseFloat(n[1])||null;return o[e]=[r,s],o[e]},h=function(){var e=0;for(var t in a)e++;return e},d=function(){h()||window.removeEventListener("resize",m,!1);for(var e in a){var t=a[e],n=l(t);f(e,n[0],n[1])}},m=function(){u(),d()},v=function(e,t){a=e,r=t.path+("/"!==t.path.substr(-1)?"/":""),s=t.postfix,i=t.insertBefore,u(),d(),window.addEventListener("resize",m,!1)};return{stylesheetLoaderInit:v}}(); bootstrapUI.stylesheetLoaderInit({ 'compact': '(max-width: 599px)', 'tablet' : '(min-width: 600px)', 'wide' : '(min-width: 1008px)' }, { path: 'http://static.bbci.co.uk/news/1.53.5-1269/stylesheets/services/news', postfix: '', insertBefore: insertPoint }); var loadRequire = function(){ var js_paths = {"jquery-1.9":"vendor\/jquery-1\/jquery","jquery-1":"http:\/\/static.bbci.co.uk\/frameworks\/jquery\/0.3.0\/sharedmodules\/jquery-1.7.2","demi-1":"http:\/\/static.bbci.co.uk\/frameworks\/demi\/0.10.0\/sharedmodules\/demi-1","swfobject-2":"http:\/\/static.bbci.co.uk\/frameworks\/swfobject\/0.1.10\/sharedmodules\/swfobject-2","jquery":"vendor\/jquery-2\/jquery.min","domReady":"vendor\/require\/domReady","translation":"module\/translations\/en-GB","bump-3":"\/\/emp.bbci.co.uk\/emp\/bump-3\/bump-3"}; js_paths.navigation = 'module/nav/navManager'; requirejs.config({ baseUrl: 'http://static.bbci.co.uk/news/1.53.5-1269/js', map: { 'vendor/locator': { 'module/bootstrap': 'vendor/locator/bootstrap', 'locator/stats': 'vendor/locator/stats', 'locator/locatorView': 'vendor/locator/locatorView' } }, paths: js_paths, waitSeconds: 30 }); define('config', function () { return config; }); require(['compiled/all'], function() {
|
76
|
+
require(['module/base', 'domReady'], function (base, domReady) { domReady(function () { base.init(); require(['module/story'], function(page) { page.init(); }); }); }); });
|
77
|
+
}; loadRequire(); } </script> <script type="text/javascript"> /*<![CDATA[*/ bbcdotcom.init({adsToDisplay:['leaderboard', 'mpu']}); /*]]>*/ </script>
|
78
|
+
|
79
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" />
|
80
|
+
</head>
|
81
|
+
<!--[if IE]><body id="asset-type-sty" class="ie device--feature"><![endif]-->
|
82
|
+
<!--[if !IE]>--><body id="asset-type-sty" class="device--feature"><!--<![endif]-->
|
83
|
+
<div class="direction" >
|
84
|
+
|
85
|
+
<!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } /*]]>*/ </script></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else { googletag.display("wallpaper"); } } /*]]>*/ </script></div><div id="gnlAnalyticsEnabled" class="bbccom_display_none"></div> <div id="blq-global"> <div id="blq-pre-mast"> </div> </div> <script type="text/html" id="blq-bbccookies-tmpl"><![CDATA[ <section> <div id="bbccookies" class="bbccookies-banner orb-banner-wrapper bbccookies-d"> <div id="bbccookies-prompt" class="orb-banner b-g-p b-r b-f"> <h2 class="orb-banner-title"> Cookies on the BBC website </h2> <p class="orb-banner-content" dir="ltr"> We use cookies to ensure that we give you the best experience on our website.<span class="bbccookies-international-message"> We also use cookies to ensure we show you advertising that is relevant to you.</span> If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the BBC website. However, if you would like to, you can change your cookie settings at any time. </p> <ul class="orb-banner-options"> <li id="bbccookies-continue"> <button type="button" id="bbccookies-continue-button">Continue</button> </li> <li id="bbccookies-settings"> <a href="/privacy/cookies/managing/cookie-settings.html">Change settings</a> </li> <li id="bbccookies-more"><a href="/privacy/cookies/bbc">Find out more</a></li></ul> </div> </div> </section> ]]></script> <script type="text/javascript">/*<![CDATA[*/ (function(){if(bbccookies._showPrompt()){var g=document,b=g.getElementById("blq-pre-mast"),e=g.getElementById("blq-bbccookies-tmpl"),a,f;if(b&&g.createElement){a=g.createElement("div");f=e.innerHTML;f=f.replace("<"+"![CDATA[","").replace("]]"+">","");a.innerHTML=f;b.appendChild(a);blqCookieContinueButton=g.getElementById("bbccookies-continue-button");blqCookieContinueButton.onclick=function(){a.parentNode.removeChild(a);return false};bbccookies._setPolicy()}var c=g.getElementById("bbccookies");if(c&&!window.orb.fig("uk")){c.className=c.className.replace(/\bbbccookies-d\b/,"");c.className=c.className+(" bbccookies-w")}}})(); /*]]>*/</script> <script type="text/javascript">/*<![CDATA[*/ bbcFlagpoles_istats = 'ON'; istatsTrackingUrl = '//sa.bbc.co.uk/bbc/bbc/s?name=news.technology.story.30337272.page&cps_asset_id=30337272&page_type=Story§ion=%2Fnews%2Ftechnology&first_pub=2014-12-04T16%3A54%3A29%2B00%3A00&last_editorial_update=2014-12-04T17%3A36%3A07%2B00%3A00&title=Emergency+call+system+for+all+new+cars+by+2018&for_nation=de&pal_route=asset&ml_name=barlesque&app_type=responsive&language=en-GB&ml_version=0.23.1&pal_webapp=tabloid&prod_name=news&app_name=news'; if (window.istats_countername) { istatsTrackingUrl = istatsTrackingUrl.replace(/([?&]name=)[^&]+/ig, '$1' + istats_countername); } (function() { if ( /\bIDENTITY=/.test(document.cookie) ) { istatsTrackingUrl += '&bbc_identity=1'; } var c = (document.cookie.match(/\bckns_policy=(\d\d\d)/)||[]).pop() || ''; istatsTrackingUrl += '&bbc_mc=' + (c? 'ad'+c.charAt(0)+'ps'+c.charAt(1)+'pf'+c.charAt(2) : 'not_set'); if ( /\bckns_policy=\d\d0/.test(document.cookie) ) { istatsTrackingUrl += '&ns_nc=1'; } var screenWidthAndHeight = 'unavailable'; if (window.screen && screen.width && screen.height) { screenWidthAndHeight = screen.width + 'x' + screen.height; } istatsTrackingUrl += ('&screen_resolution=' + screenWidthAndHeight); istatsTrackingUrl += '&blq_s=4d&blq_r=2.7&blq_v=default'; })(); /*]]>*/</script> <!-- Begin iStats 20100118 (UX-CMC 1.1009.3) --> <script type="text/javascript">/*<![CDATA[*/ (function() { window.istats || (istats = {}); var cookieDisabled = (document.cookie.indexOf('NO-SA=') != -1), hasCookieLabels = (document.cookie.indexOf('sa_labels=') != -1), hasClickThrough = /^#sa-(.*?)(?:-sa(.*))?$/.test(document.location.hash), runSitestat = !cookieDisabled && !hasCookieLabels && !hasClickThrough && !istats._linkTracked; if (runSitestat && bbcFlagpoles_istats === 'ON') { sitestat(istatsTrackingUrl); } else { window.ns_pixelUrl = istatsTrackingUrl; /* used by Flash library to track */ } function sitestat(n){var j=document,f=j.location,b="";if(j.cookie.indexOf("st_ux=")!=-1){var k=j.cookie.split(";");var e="st_ux",h=document.domain,a="/";if(typeof ns_!="undefined"&&typeof ns_.ux!="undefined"){e=ns_.ux.cName||e;h=ns_.ux.cDomain||h;a=ns_.ux.cPath||a}for(var g=0,f=k.length;g<f;g++){var m=k[g].indexOf("st_ux=");if(m!=-1){b="&"+unescape(k[g].substring(m+6))}}document.cookie=e+"=; expires="+new Date(new Date().getTime()-60).toGMTString()+"; path="+a+"; domain="+h}ns_pixelUrl=n;n=ns_pixelUrl+"&ns__t="+(new Date().getTime())+"&ns_c="+((j.characterSet)?j.characterSet:j.defaultCharset)+"&ns_ti="+escape(j.title)+b+"&ns_jspageurl="+escape(f&&f.href?f.href:j.URL)+"&ns_referrer="+escape(j.referrer);if(n.length>2000&&n.lastIndexOf("&")){n=n.substring(0,n.lastIndexOf("&")+1)+"ns_cut="+n.substring(n.lastIndexOf("&")+1,n.lastIndexOf("=")).substring(0,40)}(j.images)?new Image().src=n:j.write('<p><i'+'mg src="'+n+'" height="1" width="1" alt="" /></p>')}; })(); /*]]>*/</script> <noscript><p style="position: absolute; top: -999em;"><img src="//sa.bbc.co.uk/bbc/bbc/s?name=news.technology.story.30337272.page&cps_asset_id=30337272&page_type=Story&section=%2Fnews%2Ftechnology&first_pub=2014-12-04T16%3A54%3A29%2B00%3A00&last_editorial_update=2014-12-04T17%3A36%3A07%2B00%3A00&title=Emergency+call+system+for+all+new+cars+by+2018&for_nation=de&pal_route=asset&ml_name=barlesque&app_type=responsive&language=en-GB&ml_version=0.23.1&pal_webapp=tabloid&prod_name=news&app_name=news&blq_js_enabled=0&blq_s=4d&blq_r=2.7&blq_v=default" height="1" width="1" alt="" /></p></noscript> <!-- End iStats (UX-CMC) --> <!--[if (gt IE 8) | (IEMobile)]><!--> <header id="orb-banner" role="banner"> <!--<![endif]--> <!--[if (lt IE 9) & (!IEMobile)]> <![if (IE 8)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8"> <![endif]> <![if (IE 7)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7"> <![endif]> <![if (IE 6)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6"> <![endif]> <![endif]--> <div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" > <script type="text/javascript"> (function(){var h=document.getElementById('orb-header');if(/bbc\.co\.uk$/i.test(location.hostname)&&orb_masthead_test.getSegment()=='simple'&&(location.pathname===''||location.pathname==='/'||location.pathname==='/frameworks/test/mandolin/acceptance'&&h.setAttribute)){h.setAttribute('data-max-w','0');h.setAttribute('data-max-d','0');}}()); </script> <div class="orb-nav-pri-container b-r b-g-p"> <div class="orb-nav-section orb-nav-blocks"> <a href="/"> <img src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/img/bbc-blocks-dark.png" width="84" height="24" alt="BBC" /> </a> </div> <section> <div class="orb-skip-links"> <h2>Accessibility links</h2> <ul> <li><a href="#page">Skip to content</a></li> <li><a id="orb-accessibility-help" href="/accessibility/">Accessibility Help</a></li> </ul> </div> </section> <div class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"> <a id="idcta-link" href="https://ssl.bbc.co.uk/id/status?ptrt=http%3A%2F%2Fm.bbc.co.uk%2Fnews%2Ftechnology-30337272"><img id="idcta-image" src="http://static.bbci.co.uk/id/0.24.7/img/bbcid_orb_signin_dark.png" alt="" width="18" height="18" /><span id="idcta-username">BBC iD</span></a> </div> <nav role="navigation" class="orb-nav"> <div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"> <h2>BBC navigation</h2> <ul> <li class="orb-nav-news orb-d" > <a href="/news/">News</a> </li> <li class="orb-nav-newsdotcom orb-w" > <a href="http://www.bbc.com/news/">News</a> </li> <li class="orb-nav-sport" > <a href="/sport/">Sport</a> </li> <li class="orb-nav-weather" > <a href="/weather/">Weather</a> </li> <li class="orb-nav-shop orb-w" > <a href="http://shop.bbc.com/">Shop</a> </li> <li class="orb-nav-earthdotcom orb-w" > <a href="http://www.bbc.com/earth/">Earth</a> </li> <li class="orb-nav-travel-dotcom orb-w" > <a href="http://www.bbc.com/travel/">Travel</a> </li> <li class="orb-nav-capital orb-w" > <a href="http://www.bbc.com/capital/">Capital</a> </li> <li class="orb-nav-iplayer orb-d" > <a href="/iplayer/">iPlayer</a> </li> <li class="orb-nav-culture orb-w" > <a href="http://www.bbc.com/culture/">Culture</a> </li> <li class="orb-nav-autos orb-w" > <a href="http://www.bbc.com/autos/">Autos</a> </li> <li class="orb-nav-future orb-w" > <a href="http://www.bbc.com/future/">Future</a> </li> <li class="orb-nav-tv" > <a href="/tv/">TV</a> </li> <li class="orb-nav-radio" > <a href="/radio/">Radio</a> </li> <li class="orb-nav-cbbc" > <a href="/cbbc/">CBBC</a> </li> <li class="orb-nav-cbeebies" > <a href="/cbeebies/">CBeebies</a> </li> <li class="orb-nav-arts orb-d" > <a href="/arts/">Arts</a> </li> <li > <a href="/ww1/">WW1</a> </li> <li class="orb-nav-food" > <a href="/food/">Food</a> </li> <li class="orb-nav-history" > <a href="/history/">History</a> </li> <li class="orb-nav-learning" > <a href="/learning/">Learning</a> </li> <li class="orb-nav-music" > <a href="/music/">Music</a> </li> <li class="orb-nav-science" > <a href="/science/">Science</a> </li> <li class="orb-nav-nature orb-w" > <a href="/nature/">Nature</a> </li> <li class="orb-nav-earth orb-d" > <a href="http://www.bbc.com/earth/">Earth</a> </li> <li class="orb-nav-local" > <a href="/local/">Local</a> </li> <li class="orb-nav-travel orb-d" > <a href="/travel/">Travel</a> </li> <li class="orb-nav-fullaz" > <a href="/a-z/">Full A-Z</a> </li> <li id="orb-nav-more"><a href="#orb-footer" data-alt="More">Menu<span class="orb-icon orb-icon-arrow"></span></a></li> </ul> </div> </nav> <div class="orb-nav-section orb-nav-search"> <a href="http://search.bbc.co.uk/search"> <img src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/img/orb-search-dark.png" width="18" height="18" alt="Search the BBC" /> </a> <form class="b-f" id="orb-search-form" role="search" method="get" action="http://search.bbc.co.uk/search" accept-charset="utf-8"> <div> <input type="hidden" name="uri" value="/news/technology-30337272" /> <label for="orb-search-q">Search the BBC</label> <input id="orb-search-q" type="text" name="q" placeholder="Search" /> <input type="image" id="orb-search-button" src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/img/orb-search-dark.png" width="17" height="17" alt="Search the BBC" /> </div> </form> </div> </div> <div id="orb-panels" > <script type="text/template" id="orb-panel-template"><![CDATA[ <div id="orb-panel-<%= panelname %>" class="orb-panel" aria-labelledby="orb-nav-<%= panelname %>"> <div class="orb-panel-content b-g-p b-r"> <%= panelcontent %> </div> </div> ]]></script> </div> </div> </header> <!-- Styling hook for shared modules only --> <div id="orb-modules">
|
86
|
+
<div id="site-container">
|
87
|
+
|
88
|
+
<!--[if lt IE 9]>
|
89
|
+
<div class="browser-notify">
|
90
|
+
<div class="browser-notify__banner">
|
91
|
+
<div class="browser-notify__icon"></div>
|
92
|
+
<span>This site is optimised for modern web browsers, and does not fully support your version of Internet Explorer</span>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<![endif]-->
|
96
|
+
<div class="site-brand site-brand--height" role="banner">
|
97
|
+
<div class="site-brand-inner site-brand-inner--height">
|
98
|
+
<nav class="navigation navigation--primary">
|
99
|
+
<a href="/news" id="brand">
|
100
|
+
<img class="brand__logo" src="http://static.bbci.co.uk/news/1.53.5-1269/img/brand/news.png" alt="BBC News"/>
|
101
|
+
</a>
|
102
|
+
<span class="beta-label">BETA</span>
|
103
|
+
<a href="#core-navigation" class="navigation__section navigation__section--core" data-event="header" role="navigation" aria-label="News">
|
104
|
+
Sections </a>
|
105
|
+
<div class="find-local-wide" id="find-local-wide">
|
106
|
+
<button class="find-local-wide__link">Find local news</button>
|
107
|
+
</div>
|
108
|
+
</nav>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<div class="navigation navigation--wide">
|
113
|
+
<ul class="navigation-wide-list" role="navigation" aria-label="News" data-panel-id="js-navigation-panel-primary">
|
114
|
+
<li>
|
115
|
+
<a href="/news" class="navigation-wide-list__link">
|
116
|
+
<span>Home</span>
|
117
|
+
</a>
|
118
|
+
</li>
|
119
|
+
<li>
|
120
|
+
<a href="/news/uk" data-panel-id="js-navigation-panel-UK" class="navigation-wide-list__link">
|
121
|
+
<span>UK</span>
|
122
|
+
</a>
|
123
|
+
</li>
|
124
|
+
<li>
|
125
|
+
<a href="/news/world" data-panel-id="js-navigation-panel-World" class="navigation-wide-list__link">
|
126
|
+
<span>World</span>
|
127
|
+
</a>
|
128
|
+
</li>
|
129
|
+
<li>
|
130
|
+
<a href="/news/business" data-panel-id="js-navigation-panel-Business" class="navigation-wide-list__link">
|
131
|
+
<span>Business</span>
|
132
|
+
</a>
|
133
|
+
</li>
|
134
|
+
<li>
|
135
|
+
<a href="/news/politics" data-panel-id="js-navigation-panel-Politics" class="navigation-wide-list__link">
|
136
|
+
<span>Politics</span>
|
137
|
+
</a>
|
138
|
+
</li>
|
139
|
+
<li class="selected">
|
140
|
+
<a href="/news/technology" class="navigation-wide-list__link navigation-arrow--open">
|
141
|
+
<span>Tech</span>
|
142
|
+
</a>
|
143
|
+
<span class="off-screen">selected</span> </li>
|
144
|
+
<li>
|
145
|
+
<a href="/news/science_and_environment" class="navigation-wide-list__link">
|
146
|
+
<span>Science</span>
|
147
|
+
</a>
|
148
|
+
</li>
|
149
|
+
<li>
|
150
|
+
<a href="/news/health" class="navigation-wide-list__link">
|
151
|
+
<span>Health</span>
|
152
|
+
</a>
|
153
|
+
</li>
|
154
|
+
<li>
|
155
|
+
<a href="/news/education" data-panel-id="js-navigation-panel-Education" class="navigation-wide-list__link">
|
156
|
+
<span>Education</span>
|
157
|
+
</a>
|
158
|
+
</li>
|
159
|
+
<li>
|
160
|
+
<a href="/news/entertainment_and_arts" class="navigation-wide-list__link">
|
161
|
+
<span>Entertainment & Arts</span>
|
162
|
+
</a>
|
163
|
+
</li>
|
164
|
+
<li>
|
165
|
+
<a href="/news/video_and_audio" class="navigation-wide-list__link">
|
166
|
+
<span>Video & Audio</span>
|
167
|
+
</a>
|
168
|
+
</li>
|
169
|
+
<li>
|
170
|
+
<a href="/news/magazine" class="navigation-wide-list__link">
|
171
|
+
<span>Magazine</span>
|
172
|
+
</a>
|
173
|
+
</li>
|
174
|
+
<li>
|
175
|
+
<a href="/news/in_pictures" class="navigation-wide-list__link">
|
176
|
+
<span>In Pictures</span>
|
177
|
+
</a>
|
178
|
+
</li>
|
179
|
+
<li>
|
180
|
+
<a href="/news/also_in_the_news" class="navigation-wide-list__link">
|
181
|
+
<span>Also in the News</span>
|
182
|
+
</a>
|
183
|
+
</li>
|
184
|
+
<li>
|
185
|
+
<a href="/news/special_reports" class="navigation-wide-list__link">
|
186
|
+
<span>Special Reports</span>
|
187
|
+
</a>
|
188
|
+
</li>
|
189
|
+
<li>
|
190
|
+
<a href="/news/explainers" class="navigation-wide-list__link">
|
191
|
+
<span>Explainers</span>
|
192
|
+
</a>
|
193
|
+
</li>
|
194
|
+
<li>
|
195
|
+
<a href="/news/the_reporters" class="navigation-wide-list__link navigation-wide-list__link--last">
|
196
|
+
<span>The Reporters</span>
|
197
|
+
</a>
|
198
|
+
</li>
|
199
|
+
</ul>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
</div>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
<div class="container-width-only">
|
207
|
+
<span class="index-title index-title--redundant " id="comp-index-title" data-index-title-meta={"id":"comp-index-title","type":"index-title","handler":"indexTitle","deviceGroups":null,"opts":{"alwaysVisible":false,"onFrontPage":false},"template":"index-title"}>
|
208
|
+
<span class="index-title__container">
|
209
|
+
<a href="/news/technology">Technology</a>
|
210
|
+
</span>
|
211
|
+
</span>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
|
215
|
+
<div id="page" class="configurable story"> <div class="page__head">
|
216
|
+
<div class="bbccom_slot old-ads" data-comp-meta={"id":"comp-adverts","type":"adverts","handler":"adverts","deviceGroups":null,"opts":{"ad_type":"leaderboard"},"template":"\/component\/adverts"}>
|
217
|
+
<div class="bbccom_advert bbccom_display_none">
|
218
|
+
<script type="text/javascript">
|
219
|
+
if (typeof bbcdotcom !== 'undefined' && typeof bbcdotcom.objects !== 'undefined' &&
|
220
|
+
bbcdotcom.objects('bbcdotcom.adverts.slot')) {
|
221
|
+
bbcdotcom.adverts.slot('leaderboard', [1,2,3,4]);
|
222
|
+
}
|
223
|
+
</script>
|
224
|
+
</div>
|
225
|
+
<script type="text/javascript">
|
226
|
+
if (typeof bbcdotcom !== 'undefined' && typeof bbcdotcom.objects !== 'undefined' &&
|
227
|
+
bbcdotcom.objects('bbcdotcom.adverts.slot')) {
|
228
|
+
bbcdotcom.adverts.adRegister.getCurrentAd().show();
|
229
|
+
}
|
230
|
+
</script>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<div id="index-panels" class="container panels"> <div class="panel panel-1 open" role="main"> <span class="index-title index-title--redundant " id="comp-index-title" data-index-title-meta={"id":"comp-index-title","type":"index-title","handler":"indexTitle","deviceGroups":null,"opts":{"alwaysVisible":false,"onFrontPage":false},"template":"index-title"}>
|
234
|
+
<span class="index-title__container">
|
235
|
+
<a href="/news/technology">Technology</a>
|
236
|
+
</span>
|
237
|
+
</span>
|
238
|
+
<div class="container--primary-and-secondary-columns column-clearfix"> <div class="column--primary">
|
239
|
+
<div class="story-body">
|
240
|
+
<h1 class="story-body__h1">Emergency call system for all new cars by 2018</h1>
|
241
|
+
|
242
|
+
|
243
|
+
<div class="story-body__mini-info-list-and-share">
|
244
|
+
<ul class="mini-info-list">
|
245
|
+
<li class="mini-info-list__item"> <div class="date date--v2" data-seconds="1417714567" data-datetime="4 December 2014">4 December 2014</div>
|
246
|
+
</li>
|
247
|
+
<li class="mini-info-list__item"><span class="mini-info-list__section-desc off-screen">From the section </span><a href="/news/technology" class="mini-info-list__section">Technology</a></li>
|
248
|
+
</ul>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div class="story-body__inner">
|
252
|
+
<figure class="media-landscape full-width has-caption lead"><img alt="eCall car" src="http://ichef.bbci.co.uk/news/200/media/images/79520000/jpg/_79520620_79519885.jpg" width="624" height="351">
|
253
|
+
<figcaption class="media-caption">
|
254
|
+
<span class="media-caption__text">
|
255
|
+
The system has been tested around Europe
|
256
|
+
</span>
|
257
|
+
</figcaption></figure><p class="story-body__introduction">An emergency call system dubbed eCall will be installed in all new cars from March 2018 under an agreement reached at the European Parliament.</p><p>The system will send an automated call to the emergency services in the event of an accident.</p><p>Research suggests that the mandatory use of the system could halve response times, especially in rural areas.</p><p>But one expert questioned why it was going to take so long to be implemented.</p><p>The proposal was originally made in 2012 but was delayed for a variety of reasons, including privacy concerns.</p><p>Critics were unsure of the need for a government-mandated in-car system that would track a vehicle's location.</p><p>Under the new deal, the eCall system will give emergency services only basic data such as:</p><ul class="story-body__unordered-list">
|
258
|
+
<li class="story-body__list-item">type of vehicle</li>
|
259
|
+
<li class="story-body__list-item">fuel used</li>
|
260
|
+
<li class="story-body__list-item">time of accident</li>
|
261
|
+
<li class="story-body__list-item">location</li>
|
262
|
+
</ul><p>Antonio Avenoso, executive director of the European transport safety council welcomed the initiative.</p><p>"Getting emergency services to the scene of a crash quickly is crucial to preventing deaths. So, this technology will save lives," he said.</p><p>"However, it's regrettable that it will be several years before we see all new cars fitted with the system and that other vehicles aren't covered by the legislation yet. </p><p>"These are missed opportunities to extend the safety benefits further, with little or no justification."</p><p>The rules are now subject to formal votes in the European Parliament and by all member states, likely to take place in March next year.</p>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
<div class="share show ghost-column">
|
266
|
+
<a name="share-tools"></a>
|
267
|
+
<h2 class="share__title ">
|
268
|
+
Share this story <a href="http://www.bbc.co.uk/help/web/sharing.shtml">About sharing</a>
|
269
|
+
</h2>
|
270
|
+
<ul class="share__tools ">
|
271
|
+
<li class="share__tool share__tool--email">
|
272
|
+
<a href="mailto:?subject=Shared%20from%20BBC%20News&body=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Ftechnology-30337272" >
|
273
|
+
<span>Email</span>
|
274
|
+
</a>
|
275
|
+
</li>
|
276
|
+
<li class="share__tool share__tool--facebook">
|
277
|
+
<a href="http://www.facebook.com/dialog/feed?app_id=58567469885&redirect_uri=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Ftechnology-30337272&link=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Ftechnology-30337272%3FSThisFB" >
|
278
|
+
<span>Facebook</span>
|
279
|
+
</a>
|
280
|
+
</li>
|
281
|
+
<li class="share__tool share__tool--twitter">
|
282
|
+
<a href="https://twitter.com/intent/tweet?text=BBC%20News%20-%20Emergency%20call%20system%20for%20all%20new%20cars%20by%202018&url=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Ftechnology-30337272" class=shortenUrl data-social-url=https://twitter.com/intent/tweet?text=BBC+News+-+Emergency+call+system+for+all+new+cars+by+2018&url= data-target-url=http://www.bbc.co.uk/news/technology-30337272>
|
283
|
+
<span>Twitter</span>
|
284
|
+
</a>
|
285
|
+
</li>
|
286
|
+
</ul>
|
287
|
+
</div>
|
288
|
+
|
289
|
+
<div class="bbccom_slot old-ads" data-comp-meta={"id":"comp-adverts","type":"adverts","handler":"adverts","deviceGroups":null,"opts":{"ad_type":"mpu"},"template":"\/component\/adverts"}>
|
290
|
+
<div class="bbccom_advert bbccom_display_none">
|
291
|
+
<script type="text/javascript">
|
292
|
+
if (typeof bbcdotcom !== 'undefined' && typeof bbcdotcom.objects !== 'undefined' &&
|
293
|
+
bbcdotcom.objects('bbcdotcom.adverts.slot')) {
|
294
|
+
bbcdotcom.adverts.slot('mpu', [1,2,3,4]);
|
295
|
+
}
|
296
|
+
</script>
|
297
|
+
</div>
|
298
|
+
<script type="text/javascript">
|
299
|
+
if (typeof bbcdotcom !== 'undefined' && typeof bbcdotcom.objects !== 'undefined' &&
|
300
|
+
bbcdotcom.objects('bbcdotcom.adverts.slot')) {
|
301
|
+
bbcdotcom.adverts.adRegister.getCurrentAd().show();
|
302
|
+
}
|
303
|
+
</script>
|
304
|
+
</div>
|
305
|
+
<div class="story-more">
|
306
|
+
<div class="group story-alsos more-on-this-story"> <div class="group__header"> <h2 class="group__title">More on this story</h2> </div> <div class="group__body"> <ul class="units-list "> <li class="unit unit--regular"> <a href="/news/technology-30316458" class="unit__link-wrapper"> <div class="unit__body"> <div class="unit__header"> <div class="unit__title"> <span class="cta"> Driverless cars set to be tested in four English cities </span> </div> <div class="unit__meta"> <div class="date date--v1" data-seconds="1417629886" data-datetime="3 December 2014">3 December 2014</div> </div> </div> </div> </a> </li> <li class="unit unit--regular"> <a href="/news/technology-28106814" class="unit__link-wrapper"> <div class="unit__body"> <div class="unit__header"> <div class="unit__title"> <span class="cta"> Tomorrow's cities: Towards the congestion-free city </span> </div> <div class="unit__meta"> <div class="date date--v1" data-seconds="1412204965" data-datetime="2 October 2014">2 October 2014</div> </div> </div> </div> </a> </li> </ul> </div> </div> </div>
|
307
|
+
|
308
|
+
<div id="comp-small-promo-group" class="small-promo-group"data-comp-meta={"id":"comp-more-from-this-index","type":"more-from-this-index","handler":"moreFromThisIndex","deviceGroups":null,"opts":{"loading_strategy":"post_load","asset_id":"technology","exclude_item":"technology-30337272"}}>
|
309
|
+
<h2 class="group-title">
|
310
|
+
<a href="/news/technology" class="group-title__link">More Technology stories</a>
|
311
|
+
|
312
|
+
</h2>
|
313
|
+
<div class="small-promo-group__body promo-unit-spacer">
|
314
|
+
</div>
|
315
|
+
</div>
|
316
|
+
</div>
|
317
|
+
<div class="column--secondary">
|
318
|
+
<div id="comp-top-stories-promo" class="top-stories-promo">
|
319
|
+
<h2 class="top-stories-promo__title">Top Stories</h2>
|
320
|
+
<a href="/news/uk-scotland-30364575" class="top-stories-promo-story" data-asset-id="/news/uk-scotland-30364575">
|
321
|
+
<strong class="top-stories-promo-story__title">Salmond announces UK Parliament bid</strong>
|
322
|
+
<p class="top-stories-promo-story__summary ">Former SNP leader and First Minister Alex Salmond announces he is to stand for a seat at Westminster at next May's General Election.</p>
|
323
|
+
<div class="date date--v2" data-seconds="1417967268" data-datetime="7 December 2014">7 December 2014</div>
|
324
|
+
</a>
|
325
|
+
<a href="/news/uk-30368103" class="top-stories-promo-story" data-asset-id="/news/uk-30368103">
|
326
|
+
<strong class="top-stories-promo-story__title">Mother 'betrayed' by terror sentence</strong>
|
327
|
+
<div class="date date--v2" data-seconds="1417974131" data-datetime="7 December 2014">7 December 2014</div>
|
328
|
+
</a>
|
329
|
+
<a href="/news/uk-30369701" class="top-stories-promo-story" data-asset-id="/news/uk-30369701">
|
330
|
+
<strong class="top-stories-promo-story__title">Drone involved in Heathrow near miss</strong>
|
331
|
+
<div class="date date--v2" data-seconds="1417966795" data-datetime="7 December 2014">7 December 2014</div>
|
332
|
+
</a>
|
333
|
+
</div>
|
334
|
+
<div class="features-and-analysis" id="comp-features-and-analysis" >
|
335
|
+
<h2 class="features-and-analysis__title">
|
336
|
+
Features & Analysis </h2>
|
337
|
+
<div class="features-and-analysis__stories promo-unit-spacer">
|
338
|
+
<div class="features-and-analysis__story">
|
339
|
+
<a href="/news/magazine-30314310" class="bold-image-promo">
|
340
|
+
<div class="bold-image-promo__image">
|
341
|
+
<div class="responsive-image responsive-image--16by9">
|
342
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79544000/jpg/_79544884_de19-1.jpg" data-width="624" data-height="351" data-alt="Joe and mum Victoria in the shop"></div>
|
343
|
+
<!--[if lt IE 9]>
|
344
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79544000/jpg/_79544884_de19-1.jpg" class="responsive-image__image js-image-replace" alt="Joe and mum Victoria in the shop" width="624" height="351" />
|
345
|
+
<![endif]-->
|
346
|
+
<div class="responsive-image__label">
|
347
|
+
<span class="icon video icon--dark"><span class="icon__offscreen-text">Video</span></span>
|
348
|
+
<span class="responsive-image__label-text">3:14</span>
|
349
|
+
</div>
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
<h3 class="bold-image-promo__title">A mother's dream</h3>
|
353
|
+
<p class="bold-image-promo__summary">Toy stores create autism-friendly Christmas shopping</p>
|
354
|
+
</a>
|
355
|
+
</div>
|
356
|
+
<div class="features-and-analysis__story">
|
357
|
+
<a href="/news/magazine-30343083" class="bold-image-promo">
|
358
|
+
<div class="bold-image-promo__image">
|
359
|
+
<div class="responsive-image responsive-image--16by9">
|
360
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79528000/jpg/_79528264_82714664.jpg" data-width="2048" data-height="1152" data-alt="Damien Hirst's installation, The Kingdom, featuring a shark in formaldehyde"></div>
|
361
|
+
<!--[if lt IE 9]>
|
362
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79528000/jpg/_79528264_82714664.jpg" class="responsive-image__image js-image-replace" alt="Damien Hirst's installation, The Kingdom, featuring a shark in formaldehyde" width="2048" height="1152" />
|
363
|
+
<![endif]-->
|
364
|
+
</div>
|
365
|
+
</div>
|
366
|
+
<h3 class="bold-image-promo__title">Toothless fake</h3>
|
367
|
+
<p class="bold-image-promo__summary">How modern art became trapped by its urge to shock</p>
|
368
|
+
</a>
|
369
|
+
</div>
|
370
|
+
<div class="features-and-analysis__story">
|
371
|
+
<a href="/news/magazine-30214204" class="bold-image-promo">
|
372
|
+
<div class="bold-image-promo__image">
|
373
|
+
<div class="responsive-image responsive-image--16by9">
|
374
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79537000/jpg/_79537826_brothel.jpg" data-width="624" data-height="351" data-alt="Actress lying on a bed"></div>
|
375
|
+
<!--[if lt IE 9]>
|
376
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79537000/jpg/_79537826_brothel.jpg" class="responsive-image__image js-image-replace" alt="Actress lying on a bed" width="624" height="351" />
|
377
|
+
<![endif]-->
|
378
|
+
</div>
|
379
|
+
</div>
|
380
|
+
<h3 class="bold-image-promo__title">Something missing</h3>
|
381
|
+
<p class="bold-image-promo__summary">The Jewish festival in a town without any Jews</p>
|
382
|
+
</a>
|
383
|
+
</div>
|
384
|
+
<div class="features-and-analysis__story">
|
385
|
+
<a href="/news/magazine-30344879" class="bold-image-promo">
|
386
|
+
<div class="bold-image-promo__image">
|
387
|
+
<div class="responsive-image responsive-image--16by9">
|
388
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79545000/jpg/_79545924_three-men.jpg" data-width="624" data-height="351" data-alt="Bearded Uighur men in Kashgar"></div>
|
389
|
+
<!--[if lt IE 9]>
|
390
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79545000/jpg/_79545924_three-men.jpg" class="responsive-image__image js-image-replace" alt="Bearded Uighur men in Kashgar" width="624" height="351" />
|
391
|
+
<![endif]-->
|
392
|
+
</div>
|
393
|
+
</div>
|
394
|
+
<h3 class="bold-image-promo__title">Lies and spies</h3>
|
395
|
+
<p class="bold-image-promo__summary">China's wild west where you are never alone</p>
|
396
|
+
</a>
|
397
|
+
</div>
|
398
|
+
<div class="features-and-analysis__story">
|
399
|
+
<a href="/news/blogs-magazine-monitor-30335137" class="bold-image-promo">
|
400
|
+
<div class="bold-image-promo__image">
|
401
|
+
<div class="responsive-image responsive-image--16by9">
|
402
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79534000/jpg/_79534925_readingyellow.jpg" data-width="624" data-height="351" data-alt="Illustration of person reading"></div>
|
403
|
+
<!--[if lt IE 9]>
|
404
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79534000/jpg/_79534925_readingyellow.jpg" class="responsive-image__image js-image-replace" alt="Illustration of person reading" width="624" height="351" />
|
405
|
+
<![endif]-->
|
406
|
+
</div>
|
407
|
+
</div>
|
408
|
+
<h3 class="bold-image-promo__title">Weekendish</h3>
|
409
|
+
<p class="bold-image-promo__summary">Catch up on the must-reads you missed</p>
|
410
|
+
</a>
|
411
|
+
</div>
|
412
|
+
<div class="features-and-analysis__story">
|
413
|
+
<a href="/news/technology-30333671" class="bold-image-promo">
|
414
|
+
<div class="bold-image-promo__image">
|
415
|
+
<div class="responsive-image responsive-image--16by9">
|
416
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79545000/jpg/_79545937_79545933.jpg" data-width="624" data-height="351" data-alt="Clive Sinclair"></div>
|
417
|
+
<!--[if lt IE 9]>
|
418
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79545000/jpg/_79545937_79545933.jpg" class="responsive-image__image js-image-replace" alt="Clive Sinclair" width="624" height="351" />
|
419
|
+
<![endif]-->
|
420
|
+
</div>
|
421
|
+
</div>
|
422
|
+
<h3 class="bold-image-promo__title">Sinclair's world</h3>
|
423
|
+
<p class="bold-image-promo__summary">How the Spectrum's creator changed the world</p>
|
424
|
+
</a>
|
425
|
+
</div>
|
426
|
+
<div class="features-and-analysis__story">
|
427
|
+
<a href="/news/entertainment-arts-30327574" class="bold-image-promo">
|
428
|
+
<div class="bold-image-promo__image">
|
429
|
+
<div class="responsive-image responsive-image--16by9">
|
430
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79513000/jpg/_79513029_kiesza_promo.jpg" data-width="624" data-height="351" data-alt="Kiesza"></div>
|
431
|
+
<!--[if lt IE 9]>
|
432
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79513000/jpg/_79513029_kiesza_promo.jpg" class="responsive-image__image js-image-replace" alt="Kiesza" width="624" height="351" />
|
433
|
+
<![endif]-->
|
434
|
+
</div>
|
435
|
+
</div>
|
436
|
+
<h3 class="bold-image-promo__title">Number one with a bullet</h3>
|
437
|
+
<p class="bold-image-promo__summary">How Kiesza went from elite sniper to pop star</p>
|
438
|
+
</a>
|
439
|
+
</div>
|
440
|
+
<div class="features-and-analysis__story">
|
441
|
+
<a href="/news/uk-england-29787528" class="bold-image-promo">
|
442
|
+
<div class="bold-image-promo__image">
|
443
|
+
<div class="responsive-image responsive-image--16by9">
|
444
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79430000/jpg/_79430458_htbotfa-trlr2-0001.jpg" data-width="640" data-height="360" data-alt="Martin Freeman as Bilbo"></div>
|
445
|
+
<!--[if lt IE 9]>
|
446
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79430000/jpg/_79430458_htbotfa-trlr2-0001.jpg" class="responsive-image__image js-image-replace" alt="Martin Freeman as Bilbo" width="640" height="360" />
|
447
|
+
<![endif]-->
|
448
|
+
</div>
|
449
|
+
</div>
|
450
|
+
<h3 class="bold-image-promo__title">The Shires</h3>
|
451
|
+
<p class="bold-image-promo__summary">How England's landscape inspired JRR Tolkien</p>
|
452
|
+
</a>
|
453
|
+
</div>
|
454
|
+
<div class="features-and-analysis__story">
|
455
|
+
<a href="/news/in-pictures-30326287" class="bold-image-promo">
|
456
|
+
<div class="bold-image-promo__image">
|
457
|
+
<div class="responsive-image responsive-image--16by9">
|
458
|
+
<div class="responsive-image__image js-delayed-image-load" data-src="http://ichef.bbci.co.uk/news/304/media/images/79511000/jpg/_79511084_79508979.jpg" data-width="790" data-height="444" data-alt="Coloured bottles on a shelf"></div>
|
459
|
+
<!--[if lt IE 9]>
|
460
|
+
<img src="http://ichef.bbci.co.uk/news/304/media/images/79511000/jpg/_79511084_79508979.jpg" class="responsive-image__image js-image-replace" alt="Coloured bottles on a shelf" width="790" height="444" />
|
461
|
+
<![endif]-->
|
462
|
+
</div>
|
463
|
+
</div>
|
464
|
+
<h3 class="bold-image-promo__title">Your pictures</h3>
|
465
|
+
<p class="bold-image-promo__summary">Readers' photos on the theme of "on the shelf"</p>
|
466
|
+
</a>
|
467
|
+
</div>
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
<div id=comp-most-popular
|
471
|
+
class="hidden"
|
472
|
+
data-comp-meta={"id":"comp-most-popular","type":"most-popular","handler":"mostPopular","deviceGroups":null,"opts":{"loading_strategy":"batch_load"},"template":"\/component\/most-popular"}>
|
473
|
+
</div> <div id=comp-most-popular-by-day
|
474
|
+
class="hidden"
|
475
|
+
data-comp-meta={"id":"comp-most-popular-by-day","type":"most-popular-by-day","handler":"default","deviceGroups":["group3","group4"],"opts":{"loading_strategy":"post_load"},"template":"\/component\/most-popular-by-day"}>
|
476
|
+
</div> </div>
|
477
|
+
</div> </div> <div class="panel panel-2" role="complementary"> <div id="most-popular-placeholder"></div> </div> </div> </div>
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
<div id="core-navigation" class="navigation--footer">
|
483
|
+
|
484
|
+
<nav id="navigation--bottom" class="navigation navigation--bottom " role="navigation" aria-label="News">
|
485
|
+
<ul class="navigation--bottom__toplevel">
|
486
|
+
<li class="navigation-core-title">Sections</li>
|
487
|
+
<li class="">
|
488
|
+
<a href="/news" class="">
|
489
|
+
<span>Home</span>
|
490
|
+
</a>
|
491
|
+
</li>
|
492
|
+
<li class="">
|
493
|
+
<a href="/news/uk" data-panel-id="js-navigation-panel-UK" class="navigation-arrow">
|
494
|
+
<span>UK</span>
|
495
|
+
</a>
|
496
|
+
<div class="navigation-panel navigation-panel--closed js-navigation-panel-UK">
|
497
|
+
<div class="navigation-panel__content">
|
498
|
+
<ul class="navigation-panel-secondary">
|
499
|
+
<li><a href="/news/uk"><span>UK Home</span></a></li>
|
500
|
+
<li>
|
501
|
+
<a href="/news/england"><span>England</span></a> </li>
|
502
|
+
<li>
|
503
|
+
<a href="/news/northern_ireland"><span>N. Ireland</span></a> </li>
|
504
|
+
<li>
|
505
|
+
<a href="/news/scotland"><span>Scotland</span></a> </li>
|
506
|
+
<li>
|
507
|
+
<a href="/news/wales"><span>Wales</span></a> </li>
|
508
|
+
<li>
|
509
|
+
<a href="/cymrufyw"><span>Cymru</span></a> </li>
|
510
|
+
</ul>
|
511
|
+
</div>
|
512
|
+
</div>
|
513
|
+
</li>
|
514
|
+
<li class="">
|
515
|
+
<a href="/news/world" data-panel-id="js-navigation-panel-World" class="navigation-arrow">
|
516
|
+
<span>World</span>
|
517
|
+
</a>
|
518
|
+
<div class="navigation-panel navigation-panel--closed js-navigation-panel-World">
|
519
|
+
<div class="navigation-panel__content">
|
520
|
+
<ul class="navigation-panel-secondary">
|
521
|
+
<li><a href="/news/world"><span>World Home</span></a></li>
|
522
|
+
<li>
|
523
|
+
<a href="/news/world/africa"><span>Africa</span></a> </li>
|
524
|
+
<li>
|
525
|
+
<a href="/news/world/asia"><span>Asia</span></a> </li>
|
526
|
+
<li>
|
527
|
+
<a href="/news/world/australia"><span>Australia</span></a> </li>
|
528
|
+
<li>
|
529
|
+
<a href="/news/world/europe"><span>Europe</span></a> </li>
|
530
|
+
<li>
|
531
|
+
<a href="/news/world/latin_america"><span>Latin America</span></a> </li>
|
532
|
+
<li>
|
533
|
+
<a href="/news/world/middle_east"><span>Middle East</span></a> </li>
|
534
|
+
<li>
|
535
|
+
<a href="/news/world/us_and_canada"><span>US & Canada</span></a> </li>
|
536
|
+
</ul>
|
537
|
+
</div>
|
538
|
+
</div>
|
539
|
+
</li>
|
540
|
+
<li class="">
|
541
|
+
<a href="/news/business" data-panel-id="js-navigation-panel-Business" class="navigation-arrow">
|
542
|
+
<span>Business</span>
|
543
|
+
</a>
|
544
|
+
<div class="navigation-panel navigation-panel--closed js-navigation-panel-Business">
|
545
|
+
<div class="navigation-panel__content">
|
546
|
+
<ul class="navigation-panel-secondary">
|
547
|
+
<li><a href="/news/business"><span>Business Home</span></a></li>
|
548
|
+
<li>
|
549
|
+
<a href="/news/business/your_money"><span>Your Money</span></a> </li>
|
550
|
+
<li>
|
551
|
+
<a href="/news/business/economy"><span>Economy</span></a> </li>
|
552
|
+
<li>
|
553
|
+
<a href="/news/business/companies"><span>Companies</span></a> </li>
|
554
|
+
</ul>
|
555
|
+
</div>
|
556
|
+
</div>
|
557
|
+
</li>
|
558
|
+
<li class="">
|
559
|
+
<a href="/news/politics" data-panel-id="js-navigation-panel-Politics" class="navigation-arrow">
|
560
|
+
<span>Politics</span>
|
561
|
+
</a>
|
562
|
+
<div class="navigation-panel navigation-panel--closed js-navigation-panel-Politics">
|
563
|
+
<div class="navigation-panel__content">
|
564
|
+
<ul class="navigation-panel-secondary">
|
565
|
+
<li><a href="/news/politics"><span>Politics Home</span></a></li>
|
566
|
+
<li>
|
567
|
+
<a href="/news/events/scotland-decides"><span>Scotland Decides</span></a> </li>
|
568
|
+
<li>
|
569
|
+
<a href="/news/events/vote2014"><span>Vote 2014</span></a> </li>
|
570
|
+
</ul>
|
571
|
+
</div>
|
572
|
+
</div>
|
573
|
+
</li>
|
574
|
+
<li class="selected ">
|
575
|
+
<a href="/news/technology" class="navigation-arrow--open">
|
576
|
+
<span>Tech</span>
|
577
|
+
</a>
|
578
|
+
<span class="off-screen">selected</span> </li>
|
579
|
+
<li class="">
|
580
|
+
<a href="/news/science_and_environment" class="">
|
581
|
+
<span>Science</span>
|
582
|
+
</a>
|
583
|
+
</li>
|
584
|
+
<li class="">
|
585
|
+
<a href="/news/health" class="">
|
586
|
+
<span>Health</span>
|
587
|
+
</a>
|
588
|
+
</li>
|
589
|
+
<li class="">
|
590
|
+
<a href="/news/education" data-panel-id="js-navigation-panel-Education" class="navigation-arrow">
|
591
|
+
<span>Education</span>
|
592
|
+
</a>
|
593
|
+
<div class="navigation-panel navigation-panel--closed js-navigation-panel-Education">
|
594
|
+
<div class="navigation-panel__content">
|
595
|
+
<ul class="navigation-panel-secondary">
|
596
|
+
<li><a href="/news/education"><span>Education Home</span></a></li>
|
597
|
+
<li>
|
598
|
+
<a href="/schoolreport"><span>School Report</span></a> </li>
|
599
|
+
</ul>
|
600
|
+
</div>
|
601
|
+
</div>
|
602
|
+
</li>
|
603
|
+
<li class="">
|
604
|
+
<a href="/news/entertainment_and_arts" class="">
|
605
|
+
<span>Entertainment & Arts</span>
|
606
|
+
</a>
|
607
|
+
</li>
|
608
|
+
<li class="">
|
609
|
+
<a href="/news/video_and_audio" class="">
|
610
|
+
<span>Video & Audio</span>
|
611
|
+
</a>
|
612
|
+
</li>
|
613
|
+
<li class="">
|
614
|
+
<a href="/news/magazine" class="">
|
615
|
+
<span>Magazine</span>
|
616
|
+
</a>
|
617
|
+
</li>
|
618
|
+
<li class="">
|
619
|
+
<a href="/news/in_pictures" class="">
|
620
|
+
<span>In Pictures</span>
|
621
|
+
</a>
|
622
|
+
</li>
|
623
|
+
<li class="">
|
624
|
+
<a href="/news/also_in_the_news" class="">
|
625
|
+
<span>Also in the News</span>
|
626
|
+
</a>
|
627
|
+
</li>
|
628
|
+
<li class="">
|
629
|
+
<a href="/news/special_reports" class="">
|
630
|
+
<span>Special Reports</span>
|
631
|
+
</a>
|
632
|
+
</li>
|
633
|
+
<li class="">
|
634
|
+
<a href="/news/explainers" class="">
|
635
|
+
<span>Explainers</span>
|
636
|
+
</a>
|
637
|
+
</li>
|
638
|
+
<li class="">
|
639
|
+
<a href="/news/the_reporters" class="">
|
640
|
+
<span>The Reporters</span>
|
641
|
+
</a>
|
642
|
+
</li>
|
643
|
+
</ul>
|
644
|
+
</nav>
|
645
|
+
</div>
|
646
|
+
</div><!-- closes #site-container --> </div> <div id="orb-footer" class="orb-footer orb-footer-grey" > <aside role="complementary"> <div id="orb-aside" class="orb-nav-sec b-r b-g-p"> <div class="orb-footer-inner" role="navigation"> <h2 class="orb-footer-lead">Explore the BBC</h2> <div id="orb-footer-promo" class="orb-d"></div> <div class="orb-footer-primary-links"> <ul> <li class="orb-nav-news orb-d" > <a href="/news/">News</a> </li> <li class="orb-nav-newsdotcom orb-w" > <a href="http://www.bbc.com/news/">News</a> </li> <li class="orb-nav-sport" > <a href="/sport/">Sport</a> </li> <li class="orb-nav-weather" > <a href="/weather/">Weather</a> </li> <li class="orb-nav-shop orb-w" > <a href="http://shop.bbc.com/">Shop</a> </li> <li class="orb-nav-earthdotcom orb-w" > <a href="http://www.bbc.com/earth/">Earth</a> </li> <li class="orb-nav-travel-dotcom orb-w" > <a href="http://www.bbc.com/travel/">Travel</a> </li> <li class="orb-nav-capital orb-w" > <a href="http://www.bbc.com/capital/">Capital</a> </li> <li class="orb-nav-iplayer orb-d" > <a href="/iplayer/">iPlayer</a> </li> <li class="orb-nav-culture orb-w" > <a href="http://www.bbc.com/culture/">Culture</a> </li> <li class="orb-nav-autos orb-w" > <a href="http://www.bbc.com/autos/">Autos</a> </li> <li class="orb-nav-future orb-w" > <a href="http://www.bbc.com/future/">Future</a> </li> <li class="orb-nav-tv" > <a href="/tv/">TV</a> </li> <li class="orb-nav-radio" > <a href="/radio/">Radio</a> </li> <li class="orb-nav-cbbc" > <a href="/cbbc/">CBBC</a> </li> <li class="orb-nav-cbeebies" > <a href="/cbeebies/">CBeebies</a> </li> <li class="orb-nav-arts orb-d" > <a href="/arts/">Arts</a> </li> <li > <a href="/ww1/">WW1</a> </li> <li class="orb-nav-food" > <a href="/food/">Food</a> </li> <li class="orb-nav-history" > <a href="/history/">History</a> </li> <li class="orb-nav-learning" > <a href="/learning/">Learning</a> </li> <li class="orb-nav-music" > <a href="/music/">Music</a> </li> <li class="orb-nav-science" > <a href="/science/">Science</a> </li> <li class="orb-nav-nature orb-w" > <a href="/nature/">Nature</a> </li> <li class="orb-nav-earth orb-d" > <a href="http://www.bbc.com/earth/">Earth</a> </li> <li class="orb-nav-local" > <a href="/local/">Local</a> </li> <li class="orb-nav-travel orb-d" > <a href="/travel/">Travel</a> </li> <li class="orb-nav-fullaz" > <a href="/a-z/">Full A-Z</a> </li> </ul> </div> </div> </div> </aside> <footer role="contentinfo"> <div id="orb-contentinfo" class="orb-nav-sec b-r b-g-p"> <div class="orb-footer-inner"> <ul> <li class="orb-nav-desktop" > <a href="http://www.bbc.co.uk/news/technology-30337272">Desktop Site</a> </li> <li > <a href="/terms/">Terms of Use</a> </li> <li > <a href="/aboutthebbc/">About the BBC</a> </li> <li > <a href="/privacy/">Privacy Policy</a> </li> <li > <a href="/privacy/cookies/about">Cookies</a> </li> <li > <a href="/accessibility/">Accessibility Help</a> </li> <li > <a href="/guidance/">Parental Guidance</a> </li> <li > <a href="/contact/">Contact the BBC</a> </li> </ul> <small> <span class="orb-hilight">BBC © 2014</span> The BBC is not responsible for the content of external sites. <a href="/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a> </small> </div> </div> </footer> </div> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && window.location.pathname.indexOf('/news/business') !== -1 && /[?|&]analytics-debug/.test(window.location.href) ) { bbcdotcom.analytics.setSuite('bbcresponsivedev'); bbcdotcom.analytics.page(); } if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.write(); } if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && window.bbcdotcom.analytics ) { bbcdotcom.analytics.renderImageTag("STORY"); } /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.postWrite(); } /*]]>*/ </script><script type="text/javascript"> /*<![CDATA[*/ /** * ASNYC waits to make any gpt requests until the bottom of the page */ /*]]>*/ </script></div> <!-- BBCDOTCOM all code in page --> <script type="text/javascript"> document.write('<' + 'script id="orb-js-script" data-assetpath="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/" src="http://static.bbci.co.uk/frameworks/barlesque/2.77.1/orb/4/script' + (( document.cookie.indexOf('ckns_debugorbjs') > -1 )? '-debug' : '') + '/orb.js"><' + '/script>'); </script> <script type="text/javascript"> (function() {
|
647
|
+
'use strict';
|
648
|
+
|
649
|
+
var promoManager = {
|
650
|
+
url: '',
|
651
|
+
segments: ['a', 'b'],
|
652
|
+
promoLoaded: false,
|
653
|
+
makeUrl: function (variant, theme, win) {
|
654
|
+
var loc = win? win.location : window.location,
|
655
|
+
proto = loc.protocol,
|
656
|
+
host = loc.host,
|
657
|
+
url = proto + '//' + ((proto.match(/s:/i) && !host.match(/^www\.(int|test)\./i))? 'ssl.' : 'www.'),
|
658
|
+
themes = ['light', 'dark'];
|
659
|
+
|
660
|
+
if ( host.match(/^(?:www|ssl)\.(int|test|stage|live)\.bbc\./i) ) {
|
661
|
+
url += RegExp.$1 + '.';
|
662
|
+
}
|
663
|
+
else if ( host.match(/^pal\.sandbox\./i) ) {
|
664
|
+
url += 'test.';
|
665
|
+
}
|
666
|
+
|
667
|
+
theme = themes[ +(theme === themes[0]) ];
|
668
|
+
|
669
|
+
return url + 'bbc.co.uk/navpromo/' + variant + '/' + theme;
|
670
|
+
},
|
671
|
+
validSegment: function (segment) {
|
672
|
+
var validSegments = this.segments;
|
673
|
+
|
674
|
+
for (var i = 0, len = validSegments.length; i < len; i++) {
|
675
|
+
if (validSegments[i] === segment) {
|
676
|
+
return segment;
|
677
|
+
}
|
678
|
+
}
|
679
|
+
|
680
|
+
return validSegments[0];
|
681
|
+
},
|
682
|
+
init: function(node) {
|
683
|
+
var disabledByCookie = (document.cookie.indexOf('ckns_orb_nopromo=1') > -1),
|
684
|
+
orbFullWidth = (document.getElementById('orb-aside').offsetWidth >= 1008),
|
685
|
+
that = this;
|
686
|
+
|
687
|
+
if (window.promomanagerOverride) {
|
688
|
+
for (var p in promomanagerOverride) {
|
689
|
+
that[p] = promomanagerOverride[p];
|
690
|
+
}
|
691
|
+
}
|
692
|
+
|
693
|
+
if ( window.orb.fig('uk') && orbFullWidth && !disabledByCookie ) {
|
694
|
+
require(['orb/async/_footerpromo', 'istats-1'], function(promo, istats) {
|
695
|
+
var mandolinEndDate = new Date().getTime() + (7 * 60 * 60 * 24) * 1000,
|
696
|
+
mandolin = new bbc.Mandolin('footer-promo', that.segments, {rate: 0.2, end: mandolinEndDate}),
|
697
|
+
segmentToRequest = that.validSegment(mandolin.getSegment());
|
698
|
+
|
699
|
+
that.url = (window.promomanagerOverride || that).makeUrl(segmentToRequest, 'light');
|
700
|
+
|
701
|
+
if (that.url) {
|
702
|
+
promo.load(that.url, node, {
|
703
|
+
onSuccess: function(e) {
|
704
|
+
istats.addLabels({ 'campaignID': e.campaignID });
|
705
|
+
if (segmentToRequest === mandolin.getSegment()) {
|
706
|
+
istats.addLabels({ 'promo_id_segment': e.campaignID + ':' + mandolin.getSegment() });
|
707
|
+
}
|
708
|
+
istats.track('internal', {region: node, linkLocation : 'orb-footer-promo'});
|
709
|
+
|
710
|
+
istats.log('display', 'orb-footer-promo-displayed', {campaignID : e.campaignID, testVariant: segmentToRequest});
|
711
|
+
node.className = node.className + ' orb-footer-promo-loaded';
|
712
|
+
promoManager.promoLoaded = true;
|
713
|
+
promoManager.event('promo-loaded').fire(e);
|
714
|
+
},
|
715
|
+
onError: function() {
|
716
|
+
istats.log('error', 'orb-footer-promo-failed');
|
717
|
+
document.cookie = 'ckns_orb_nopromo=1; expires=' + new Date(new Date().getTime() + 1000 * 60 * 10).toGMTString() + ';';
|
718
|
+
}
|
719
|
+
});
|
720
|
+
}
|
721
|
+
});
|
722
|
+
}
|
723
|
+
}
|
724
|
+
};
|
725
|
+
|
726
|
+
|
727
|
+
define('orb/promomanager', ['orb/lib/_event'], function (event) {
|
728
|
+
event.mixin(promoManager);
|
729
|
+
return promoManager;
|
730
|
+
});
|
731
|
+
|
732
|
+
require(['orb/promomanager'], function (promoManager) {
|
733
|
+
promoManager.init(document.getElementById('orb-footer-promo'));
|
734
|
+
})
|
735
|
+
})();
|
736
|
+
</script> <script type="text/javascript"> if (typeof require !== 'undefined') { require(['istats-1'], function(istats){ istats.track('external', { region: document.getElementsByTagName('body')[0] }); istats.track('download', { region: document.getElementsByTagName('body')[0] }); }); } </script> <img alt="" id="livestats" src="http://stats.bbc.co.uk/o.gif?~RS~s~RS~News~RS~t~RS~Mobile_Story~RS~i~RS~30337272~RS~p~RS~99113~RS~a~RS~Domestic~RS~u~RS~/news/technology-30337272~RS~r~RS~0~RS~q~RS~0~RS~z~RS~7184~RS~" /> <script> window.old_onload = window.onload; window.onload = function() { if(window.old_onload) { window.old_onload(); } window.loaded = true; }; </script> <!-- Chartbeat Web Analytics code - start -->
|
737
|
+
<script type="text/javascript">
|
738
|
+
var _sf_async_config={};
|
739
|
+
/** CONFIGURATION START **/
|
740
|
+
_sf_async_config.uid = "50924";
|
741
|
+
_sf_async_config.domain = "m.bbc.co.uk";
|
742
|
+
_sf_async_config.sections = "r-news, technology";
|
743
|
+
<!-- if page is an index, add the edition to the path -->
|
744
|
+
_sf_async_config.path = "/news/technology-30337272";
|
745
|
+
(function() {
|
746
|
+
var noCookies = true;
|
747
|
+
var cookiePrefix = '_chartbeat';
|
748
|
+
if ("object" === typeof bbccookies && typeof bbccookies.readPolicy == 'function') {
|
749
|
+
noCookies = !bbccookies.readPolicy().performance;
|
750
|
+
}
|
751
|
+
if (noCookies && document.cookie.indexOf(cookiePrefix) !== -1) {
|
752
|
+
//Find and remove cookies whose names begin with '_chartbeat'
|
753
|
+
var cookieSplit = document.cookie.split(';');
|
754
|
+
var cookieLength = cookieSplit.length;
|
755
|
+
while (cookieLength--) {
|
756
|
+
var cookie = cookieSplit[cookieLength].replace(/^\s+|\s+$/g, '');
|
757
|
+
var cookieName = cookie.split('=')[0];
|
758
|
+
|
759
|
+
if (cookieName.indexOf(cookiePrefix) === 0) {
|
760
|
+
document.cookie = cookieName + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;';
|
761
|
+
}
|
762
|
+
}
|
763
|
+
}
|
764
|
+
_sf_async_config.noCookies = noCookies;
|
765
|
+
}());
|
766
|
+
|
767
|
+
/** CONFIGURATION END **/
|
768
|
+
(function(){
|
769
|
+
function loadChartbeat() {
|
770
|
+
window._sf_endpt=(new Date()).getTime();
|
771
|
+
var e = document.createElement("script");
|
772
|
+
e.setAttribute("language", "javascript");
|
773
|
+
e.setAttribute("type", "text/javascript");
|
774
|
+
e.setAttribute('src', '//static.chartbeat.com/js/chartbeat.js');
|
775
|
+
document.body.appendChild(e);
|
776
|
+
}
|
777
|
+
var oldonload = window.onload;
|
778
|
+
window.onload = (typeof window.onload != "function") ?
|
779
|
+
loadChartbeat : function() { oldonload(); loadChartbeat(); };
|
780
|
+
}());
|
781
|
+
</script>
|
782
|
+
<!-- Chartbeat Web Analytics code - end -->
|
783
|
+
<!-- comscore mmx - start -->
|
784
|
+
<script>
|
785
|
+
var _comscore = _comscore || [];
|
786
|
+
_comscore.push({ c1: "2", c2: "17986528"});
|
787
|
+
|
788
|
+
(function() {
|
789
|
+
var s = document.createElement("script")
|
790
|
+
, el = document.getElementsByTagName("script")[0];
|
791
|
+
s.async = true;
|
792
|
+
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
|
793
|
+
el.parentNode.insertBefore(s, el);
|
794
|
+
})();
|
795
|
+
</script>
|
796
|
+
|
797
|
+
<noscript>
|
798
|
+
<img src="http://b.scorecardresearch.com/p?c1=2&c2=17986528&cv=2.0&cj=1" class="image-hide" />
|
799
|
+
</noscript>
|
800
|
+
<!-- comscore mmx - end --> </body> </html>
|
801
|
+
|
802
|
+
|
803
|
+
|
804
|
+
|
805
|
+
|
806
|
+
|
807
|
+
|
808
|
+
|
809
|
+
|