Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <!-- MODEL AND METADATA CODE -->
- <title>Accused of Cyberspying, Huawei Is 'Exiting the U.S. Market' (Foreign Policy)</title>
- <link rel="publisher" href="https://plus.google.com/+feedly">
- <link rel="canonical" href="http://www.techmeme.com/131202/p30#a131202p30">
- <link rel="alternate" type="application/rss+xml" title="Techmeme" href="http://www.techmeme.com/index.xml" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="description" content="Accused of Cyberspying, Huawei Is 'Exiting the U.S. Market' (Foreign Policy)" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"></meta>
- <!-- Facebook -->
- <meta property="fb:app_id" content="129765800430121" />
- <meta property="og:description" content="Foreign Policy: Accused of Cyberspying, Huawei Is ‘Exiting the U.S. Market’ — The CEO..." />
- <meta property="og:site_name" content="Techmeme" />
- <meta property="og:title" content="Accused of Cyberspying, Huawei Is 'Exiting the U.S. Market' (Foreign Policy)" />
- <meta property="og:type" content="article" />
- <meta property="og:image" content="http://killerapps.foreignpolicy.com/files/166021322_copy_0.jpg" />
- <!-- Twitter -->
- <meta name="twitter:card" content="summary">
- <meta name="twitter:title" content="Accused of Cyberspying, Huawei Is 'Exiting the U.S. Market' (Foreign Policy)" />
- <meta name="twitter:description" content="Foreign Policy: Accused of Cyberspying, Huawei Is ‘Exiting the U.S. Market’ — The CEO..." />
- <meta name="twitter:image" content="http://killerapps.foreignpolicy.com/files/166021322_copy_0.jpg"/>
- <meta name="twitter:app:name:iphone" content="feedly"/>
- <meta name="twitter:app:id:iphone" content="396069556"/>
- <!-- meta name="twitter:app:url:iphone" content="feedly://e/"/-->
- <meta name="twitter:app:name:ipad" content="feedly"/>
- <meta name="twitter:app:id:ipad" content="396069556"/>
- <!-- meta name="twitter:app:url:ipad" content="feedly://e/"/-->
- <meta name="twitter:app:name:googleplay" content="feedly"/>
- <meta name="twitter:app:id:googleplay" content="com.devhd.feedly"/>
- <!-- meta name="twitter:app:url:googleplay" content="feedly://e/"-->
- <script>
- // JS Objects
- var feedInfo = JSON.parse("{\"id\":\"feed\/http:\/\/www.techmeme.com\/index.xml\",\"topics\":[\"Tech\",\"Technology\"],\"language\":\"en\",\"subscribers\":22058,\"velocity\":308.0,\"title\":\"Techmeme\",\"website\":\"http:\/\/www.techmeme.com\/\",\"description\":\"Tech Web, page A1\"}");
- var entry = JSON.parse("{\"id\":\"2M28YlE6ga87nQ\/iGGPV4RS8\/EMotvkbp32D5U3OGIw=_142b5941789:b3ff4cc:d5f09881\",\"visual\":{\"height\":415,\"width\":625,\"url\":\"http:\/\/killerapps.foreignpolicy.com\/files\/166021322_copy_0.jpg\",\"edgeCacheUrl\":\"http:\/\/lh3.ggpht.com\/EzNYaIEBbnqNNvMrVAxS5ghAdQj0tzzXQeIroVUip-TfK1Ic7c5rsojiExqFyLWSzd1zPKXlDSh5IGvg-UvMO4BAQLY\",\"contentType\":\"image\/jpeg\"},\"originId\":\"http:\/\/www.techmeme.com\/131202\/p30#a131202p30\",\"fingerprint\":\"e998abee\",\"alternate\":[{\"href\":\"http:\/\/www.techmeme.com\/131202\/p30#a131202p30\",\"type\":\"text\/html\"}],\"canonical\":[{\"href\":\"http:\/\/www.techmeme.com\/131202\/p30#a131202p30\",\"type\":\"text\/html\"}],\"summary\":{\"content\":\"<a href=\\\"http:\/\/killerapps.foreignpolicy.com\/posts\/2013\/12\/02\/accused_of_cyberspying_huawei_is_exiting_the_us_market\\\"><img hspace=\\\"4\\\" align=\\\"RIGHT\\\" src=\\\"http:\/\/www.techmeme.com\/131202\/i30.jpg\\\" border=\\\"0\\\" vspace=\\\"4\\\"><\/a>\\n<p><a title=\\\"Techmeme permalink\\\" href=\\\"http:\/\/www.techmeme.com\/131202\/p30#a131202p30\\\"><img height=\\\"12\\\" width=\\\"11\\\" src=\\\"http:\/\/www.techmeme.com\/img\/pml.png\\\"><\/a> <a href=\\\"http:\/\/www.foreignpolicy.com\/\\\">Foreign Policy<\/a>:<br>\\n<span><b><a href=\\\"http:\/\/killerapps.foreignpolicy.com\/posts\/2013\/12\/02\/accused_of_cyberspying_huawei_is_exiting_the_us_market\\\">Accused of Cyberspying, Huawei Is \u2018Exiting the U.S. Market\u2019<\/a><\/b><\/span>\u00A0 \u2014\u00A0 The CEO of the world\'s biggest telecommunications equipment maker, which for years has been labeled by U.S. officials as a proxy for Chinese military and intelligence agencies, says he\'s giving up on America.<\/p>\",\"direction\":\"ltr\"},\"published\":1386024607000,\"title\":\"Accused of Cyberspying, Huawei Is \'Exiting the U.S. Market\' (Foreign Policy)\",\"crawled\":1386025850761,\"origin\":{\"htmlUrl\":\"http:\/\/www.techmeme.com\/\",\"streamId\":\"feed\/http:\/\/www.techmeme.com\/index.xml\",\"title\":\"Techmeme\"},\"sid\":\"0:j19YwTbIJMGUh\/XJTsXBdJ27BhmfbyPkmsmd3AQoh7A=\"}");
- </script>
- <!-- RENDERING CODE -->
- <style>
- body
- {
- margin : 0px;
- padding : 0px;
- font-family : sans-serif;
- text-rendering : optimizeLegibility;
- }
- .sizable
- {
- max-width : 650px;
- }
- .entry
- {
- padding-top : 14px;
- padding-left : 14px;
- padding-right : 14px;
- margin-left : auto;
- margin-right : auto;
- }
- .title
- {
- font-size : 24px;
- line-height : 1.2em;
- margin-bottom : 6px;
- font-weight : 700;
- font-family : sans-serif;
- text-rendering : optimizeLegibility;
- letter-spacing : -0.04em;
- cursor : pointer;
- }
- .engagement
- {
- margin-right : 2px;
- color : #707070;
- }
- .metadata
- {
- color : #B3B3B2;
- font-size : 14px;
- line-height : 17px;
- overflow : hidden;
- margin-bottom : 34px;
- }
- .content
- {
- color : #333333;
- line-height : 1.5;
- font-family : sans-serif;
- }
- .content a
- {
- color : inherit;
- text-decoration : none;
- font-weight : bold;
- border-bottom : 1px dotted #333;
- }
- .content a:hover
- {
- text-decoration : none;
- font-weight : bold;
- }
- .content frame
- {
- border : 0px;
- }
- .button
- {
- background-color: #6ABA45;
- font-size : 13px;
- font-weight : normal;
- font-style : normal;
- color : #FFF;
- cursor : pointer;
- border-radius : 3px;
- background-image: url( http://s3.feedly.com/img/follow-icon.png );
- background-repeat: no-repeat;
- background-size : 18px 16px;
- background-repeat: no-repeat;
- background-position: 8px center;
- font-weight : bold;
- color : #FFF;
- padding-left : 30px;
- padding-right : 8px;
- margin-left : 10px;
- line-height : 28px;
- display : inline-block;
- transition : all 0.3s linear;
- }
- .button:hover
- {
- background-color: #63A83F;
- }
- .secondary
- {
- font-size : 13px;
- font-weight : normal;
- font-style : normal;
- color : #A0A0A0;
- cursor : pointer;
- margin-top : 17px;
- margin-bottom : 17px;
- border-bottom : 1px solid #DDD;
- border-top : 1px solid #DDD;
- display : block;
- line-height : 44px;
- color : #999;
- text-decoration : none;
- text-align : center;
- transition : all 0.3s linear;
- }
- .secondary:hover
- {
- color : #444;
- text-decoration : underline;
- }
- .footerHolder
- {
- cursor : pointer;
- }
- .footer
- {
- padding-left : 20px;
- padding-right : 20px;
- margin-left : auto;
- margin-right : auto;
- font-size : 12px;
- line-height : 1.2em;
- padding-top : 14px;
- padding-bottom : 14px;
- margin-bottom : 68px;
- }
- </style>
- <script>
- window.onresize = adjustLayout;
- var visuals = 0;
- function adjustLayout()
- {
- var maxWidth = 650;
- if( maxWidth > document.body.clientWidth - 28 )
- maxWidth = document.body.clientWidth - 28
- var imgElems = document.getElementsByTagName( "img" );
- for( var i = 0; i < imgElems.length; i++ )
- {
- if( shouldExcludeVisual( imgElems[ i ].src ) )
- {
- imgElems[ i ].style.display = "none";
- }
- else
- {
- imgElems[ i ].style.maxWidth = maxWidth + "px";
- imgElems[ i ].style.width = null;
- imgElems[ i ].style.height = null;
- imgElems[ i ].removeAttribute( "width" );
- imgElems[ i ].removeAttribute( "height" );
- visuals++;
- }
- }
- }
- function layout()
- {
- // site
- fillElements( "site", entry.origin.title );
- // title
- fillElements( "title", entry.title );
- // enagement and engagement rate
- /*
- fillElements( "engagement", entry.engagement || "" );
- if( entry.engagementRate != null )
- element( "engagement" ).title = "How engaging is this story? (" + entry.engagementRate + ")";
- if( entry.engagementRate != null && entry.engagementRate > 1.5 )
- element( "engagement" ).style.color = "#6ABA45";
- */
- // author
- if( entry.author != null && entry.author != "" )
- fillElements( "author", "by " + entry.author );
- else
- fillElements( "author", "" );
- // age
- var delta = new Date().getTime() - entry.crawled;
- fillElements( "age", prettyDuration( delta ) );
- // content
- var html = "";
- var direction = null;
- if( entry.content != null && entry.content.content != null )
- {
- html = entry.content.content;
- direction = entry.content.direction;
- }
- else if( entry.summary != null && entry.summary.content != null )
- {
- html = entry.summary.content;
- direction = entry.summary.direction
- }
- fillElements( "content", html );
- // site description
- fillElements( "description", feedInfo.description );
- // site reader's count
- if( feedInfo.subscribers == null || isNaN( parseInt( feedInfo.subscribers ) ) || parseInt( feedInfo.subscribers ) < 2 )
- fillElements( "readers", "Be the first reader in feedly!" );
- else
- fillElements( "readers", prettyNumber( feedInfo.subscribers ) + " readers in feedly" );
- // site topics
- var topics = "";
- if( feedInfo.topics != null )
- {
- for( var i = 0; i < feedInfo.topics.length && i < 3; i++ )
- topics += " #" + feedInfo.topics[ i ].toLowerCase();
- }
- fillElements( "topics", topics );
- }
- function element( id )
- {
- return document.getElementById( id );
- }
- function fillElements( className, html )
- {
- try
- {
- var elems = document.getElementsByClassName( className );
- for( var i = 0; i < elems.length; i++ )
- {
- elems[ i ].innerHTML = html || "";
- }
- }
- catch( ignore )
- {
- window.console.log( "[feedly] failed to fill elments:" + className );
- }
- }
- var RE_STRIP = /<\/?[^>]+>/gi;
- function asText()
- {
- // content
- var html = "";
- var direction = null;
- if( entry.content != null && entry.content.content != null )
- {
- html = entry.content.content;
- }
- else if( entry.summary != null && entry.summary.content != null )
- {
- html = entry.summary.content;
- }
- return html.replace( RE_STRIP, '' );
- }
- function prettyDuration( delta )
- {
- var seconds = delta / 1000;
- var days = Math.floor( seconds / ( 24 * 3600 ) );
- var hours = Math.floor( seconds / 3600 );
- var minutes = Math.floor( seconds / 60 );
- if( days == 0 )
- {
- if( hours < 1 )
- return Math.max( minutes, 1 ) + " min ago";
- else
- return hours + ( hours > 1 ? " hours ago" : " hour ago" )
- }
- else
- {
- return days + ( days > 1 ? " days ago" : " day ago" )
- }
- }
- function prettyNumber( n )
- {
- if( n == null || isNaN( parseInt( n ) ) )
- return "no";
- else if( n > 1000000 )
- return Math.floor( n/1000000 ) + "M";
- else if( n > 1000 )
- return Math.floor( n/1000 ) + "K";
- else
- return n;
- }
- var siteExcludePatterns = [ "/TheDigitalReader/" ];
- function shouldExcludeSite( url )
- {
- for( var i = 0; i < siteExcludePatterns.length; i++ )
- {
- if( url.indexOf( siteExcludePatterns[ i ] ) > -1 )
- return true;
- }
- return false;
- };
- var visualExcludePatterns = [ "feedproxy",
- "feedburner",
- "/~",
- "feeds.wordpress.com",
- "stats.wordpress.com",
- "googleadservices.com",
- "feedads",
- "tweet-this",
- "fmpub",
- "-ads",
- "_ads",
- "pheedo",
- "zemanta",
- "u.npr.org/iserver",
- "openx.org",
- "slashdot-it",
- "smilies",
- "/ico-",
- "commindo-media.de",
- "creatives.commindo-media",
- "doubleclick.net",
- "i.techcrunch",
- "adview",
- "/feed.gif",
- ".ads.",
- "/avw.php",
- "wp-digg-this",
- "feed-injector",
- "/plugins/",
- "tweetmeme.com",
- "_icon_",
- "/ad-",
- "share-buttons",
- "feedsportal.com",
- "buysellads",
- "holstee",
- "musictapp",
- "/ad_",
- "/button/",
- "donate.png",
- "/sponsors/",
- "googlesyndication.com",
- "/pagead",
- "/adx",
- "assets/feed-fb",
- "assets/feed-tw",
- "feedburner.com/~ff",
- "gstatic.com",
- "feedsportal.com"
- ];
- function shouldExcludeVisual( url )
- {
- for( var i = 0; i < visualExcludePatterns.length; i++ )
- {
- if( url.indexOf( visualExcludePatterns[ i ] ) > -1 )
- return true;
- }
- return false;
- };
- function action( where )
- {
- var actionName = "follow";
- var url = "http://feedly.com/#" + encodeURIComponent( "subscription/" + feedInfo.id );
- if( /iPhone|iPad/i.test( navigator.userAgent ) )
- {
- actionName = "install";
- url = "http://itunes.apple.com/us/app/feedly/id396069556";
- }
- else if( /android/i.test( navigator.userAgent ) )
- {
- actionName = "install";
- url = "market://details?id=com.devhd.feedly";
- }
- _gaq.push( [ '_trackEvent', bucket(), actionName + "." + where, feedInfo.id ] );
- window.setTimeout( function() { document.location.href = url;}, 20 );
- window.event.cancelBubble = true
- window.event.stopPropagation();
- window.event.preventDefault();
- }
- function context()
- {
- if( /iPhone/i.test( navigator.userAgent ) )
- {
- return "iphone";
- }
- else if( /iPad/i.test( navigator.userAgent ) )
- {
- return "ipad";
- }
- else if( /android/i.test( navigator.userAgent ) )
- {
- return "android";
- }
- else
- {
- return "web";
- }
- }
- function openSite( where )
- {
- _gaq.push( [ "_trackEvent", bucket(), "open." + where, feedInfo.id ] );
- window.setTimeout( function() { document.location.href = "http://www.techmeme.com/131202/p30#a131202p30"; }, 20 );
- window.event.cancelBubble = true;
- window.event.stopPropagation();
- window.event.preventDefault();
- }
- </script>
- </head>
- <body>
- <div class="entry sizable">
- <div class="title" onclick="openSite( 'title' )">((title))</div>
- <div style="float:right; margin-top:3px">
- <span class="button" onclick="action( 'banner' )">Follow</span>
- </div>
- <div class="metadata" onclick="openSite( 'site' )">
- On <span class="site" style="color:#333332; cursor:pointer">((site))</span> by <span class="author">((author))</span><br>
- <span class="age">((age))</span>
- </div>
- <div onclick="openSite()" class="secondary">View website</div>
- <div class="content">((content))</div>
- <div onclick="openSite()" class="secondary">View comments</div>
- </div>
- <div class="footerHolder" onclick="openSite( 'footer' )">
- <div class="footer sizable">
- <div style="float:right">
- <span class="button" onclick="action( 'footer' )">Follow</span>
- </div>
- <div style="font-weight:bold; color:#666"><span class="site" >((site))</span></div>
- <div class="description">((description))</div>
- <span class="readers">((reader count))</span>
- <div class="topics">((topics))</div>
- </div>
- </div>
- <script>
- layout();
- adjustLayout();
- var kind = visuals == 0 && asText().length < 350 ? "partial" : "full";
- function bucket()
- {
- return "v4.shorten." + kind + "." + context();
- }
- if( kind == "partial" || shouldExcludeSite( "http://www.techmeme.com/131202/p30#a131202p30" ) || true )
- {
- document.body.innerHTML = "";
- document.location.href = "http://www.techmeme.com/131202/p30#a131202p30";
- }
- else
- {
- // Init Google Analytics
- var _gaq = _gaq || [];
- _gaq.push(["_setAccount", "UA-3571881-5"]);
- _gaq.push(["_trackEvent", bucket(), "shown", 'feed/http://www.techmeme.com/index.xml']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- }
- </script>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement