diff options
Diffstat (limited to 'test/test-pages/herald-sun-1')
-rw-r--r-- | test/test-pages/herald-sun-1/expected-metadata.json | 2 | ||||
-rw-r--r-- | test/test-pages/herald-sun-1/expected.html | 7 | ||||
-rw-r--r-- | test/test-pages/herald-sun-1/source.html | 126 |
3 files changed, 67 insertions, 68 deletions
diff --git a/test/test-pages/herald-sun-1/expected-metadata.json b/test/test-pages/herald-sun-1/expected-metadata.json index 4219464..b8ad6c2 100644 --- a/test/test-pages/herald-sun-1/expected-metadata.json +++ b/test/test-pages/herald-sun-1/expected-metadata.json @@ -1,5 +1,5 @@ { - "Title": "Angry media won’t buckle over new surveillance laws\n\t\t\t\t\t\t| Herald Sun", + "Title": "Angry media won’t buckle over new surveillance laws", "Author": "JOE HILDEBRAND", "Excerpt": "A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed." } diff --git a/test/test-pages/herald-sun-1/expected.html b/test/test-pages/herald-sun-1/expected.html index 6b0cbe6..6896eed 100644 --- a/test/test-pages/herald-sun-1/expected.html +++ b/test/test-pages/herald-sun-1/expected.html @@ -1,8 +1,7 @@ <div> <div> <div> - <div> - <img alt="A new Bill would require telecommunications service providers to store so-called ‘metadat" data-src="http://api.news.com.au/content/1.0/heraldsun/images/1227261885862?format=jpg&group=iphone&size=medium" src="http://api.news.com.au/content/1.0/heraldsun/images/1227261885862?format=jpg&group=iphone&size=medium"></img></div> + <p><img alt="A new Bill would require telecommunications service providers to store so-called ‘metadat" data-src="http://api.news.com.au/content/1.0/heraldsun/images/1227261885862?format=jpg&group=iphone&size=medium" src="http://api.news.com.au/content/1.0/heraldsun/images/1227261885862?format=jpg&group=iphone&size=medium"></img></p> <p> <span id="imgCaption">A new Bill would require telecommunications service providers to store so-called ‘metadata’ for two years.</span> <span><em>Source:</em> @@ -14,9 +13,9 @@ A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed. </strong></p> <p>The roadshow featured the Prime Minister’s national security adviser, Andrew Shearer, Justin Bassi, who advises Attorney-General George Brandis on crime and security matters, and Australian Federal Police Commissioner Andrew Colvin. Staffers from the office of Communications Minister Malcolm Turnbull also took part.</p><p>They held meetings with executives from News Corporation and Fairfax, representatives of the TV networks, the ABC top brass and a group from the media union and the Walkley journalism foundation. I was involved as a member of the Walkley board.</p><p>The initiative, from Tony Abbott’s office, is evidence that the Government has been alarmed by the strength of criticism from media of the Data Retention Bill it wants passed before Parliament rises in a fortnight. Bosses, journalists, even the Press Council, are up in arms, not only over this measure, but also over aspects of two earlier pieces of national security legislation that interfere with the ability of the media to hold government to account.</p> - + - + <div id="read-more"> diff --git a/test/test-pages/herald-sun-1/source.html b/test/test-pages/herald-sun-1/source.html index f042468..050bed4 100644 --- a/test/test-pages/herald-sun-1/source.html +++ b/test/test-pages/herald-sun-1/source.html @@ -1,35 +1,35 @@ <!--?xml version="1.0" encoding="UTF-8" ?--><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en-au" xml:lang="en-au"><head> - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + <!-- site: HeraldSun esi: true breachflag: true channel: mobile --> - - - - + + + + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="HandheldFriendly" content="true"/> @@ -38,10 +38,10 @@ <meta name="format-detection" content="telephone=no"/> <meta name="format-detection" content="address=no"/> <!--thisPage::>1226616041343 thisMobilePage::>1226586877147 --> - + <script>bruce_rtget={"sno": "1", "snol": "h,e,g", "tmstamp": "2015-03-21 11:30:02.973988"};</script> - - + + <script type="text/javascript"> (function() { var useSSL = 'https:' == document.location.protocol; @@ -50,7 +50,7 @@ })(); </script><script src="http://tags.news.com.au/prod/utrack/utrack.js?cb=1426898115317"></script> - + <title>Angry media won’t buckle over new surveillance laws | Herald Sun</title> <meta name="description" content="A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed."/> @@ -88,12 +88,12 @@ ndm.account = { urls: { login: "http://www.heraldsun.com.au/login", signup: "http://subscription.news.com.au/heraldsun/offers", account: "https://myaccount.news.com.au/heraldsun/viewAccount" } }; - - - - - - + + + + + + window.ndm = window.ndm || {};window.ndm.cam = {'status': 'logged-out', 'memtype': 'anonymous'};ndm.config = {idp: {relayState: 'http://m.heraldsun.com.au/news/opinion/angry-media-wont-buckle-over-new-surveillance-laws/story-fni0fha6-1227261886014?nk=e65db50ff7e443a778cb38df8e9ad061',samlLoc: 'http://saml.cam.idmndm.com',channel: 'msite',site: 'HeraldSun'}, metered: {mode: 'free',state: {'max': 5, 'access': 'true', 'count': 1},endpoint: {registration: 'https://idp.news.com.au/idp/Authn/rest',products: 'http://digitalpass.heraldsun.com.au'},productInfo: {offerCode: '2_1_',sourceCode: 'HSWEB_MOB100_a'}}}; window.ndm.idp = window.ndm.idp || {}; window.ndm.idp.socialEnabled = !window.ndm.cam.paywalldisabled; @@ -222,8 +222,8 @@ window.envoy_config.identity = { //]]> </script> <!-- Resource Included []--> - - + + <!-- new.adkit --> <script type="text/javascript"> //<![CDATA[ @@ -260,7 +260,7 @@ window.envoy_config.identity = { utag_data.net_article_updated_time="2015-03-13 21:30:09"; //]]> </script> - + <script src="http://tags.news.com.au/prod/trending/hs_m.js?id=1227261886014"></script> <meta http-equiv="X-UA-Compatible" content="IE=8"/> <meta name="robots" content="noarchive"/> @@ -285,7 +285,7 @@ window.envoy_config.identity = { <div id="mobile-nav" class="site-nav"> <!-- support 3 tiers/levels of m sites navigation --> <!-- esi true once login 1226622207516--> - + <div class="module navigation-module primaryholder-nav sectionref-header-nav id1226622207516 "> <div class="module-content"> <ul class=" tier-1"> @@ -484,7 +484,7 @@ window.envoy_config.identity = { </div><!-- // .module.navigation-module --> <div class="nav-login"> - + <div class="module form-module form-module-cam-login"> <div class="module-header"> <ul class="more-links"> @@ -594,7 +594,7 @@ window.envoy_config.identity = { </div> </div> </div> - + </div> </div> <div id="headerAd"> @@ -609,7 +609,7 @@ window.envoy_config.identity = { </div><!-- // #section-header-logo --> </div><!-- // #section-header --> <div id="story"> - + <div class="story-header"> <div class="story-section"> <h2 class="heading"> @@ -659,10 +659,10 @@ window.envoy_config.identity = { </strong></p> </div> <p>The roadshow featured the Prime Minister’s national security adviser, Andrew Shearer, Justin Bassi, who advises Attorney-General George Brandis on crime and security matters, and Australian Federal Police Commissioner Andrew Colvin. Staffers from the office of Communications Minister Malcolm Turnbull also took part.</p><p>They held meetings with executives from News Corporation and Fairfax, representatives of the TV networks, the ABC top brass and a group from the media union and the Walkley journalism foundation. I was involved as a member of the Walkley board.</p><p>The initiative, from Tony Abbott’s office, is evidence that the Government has been alarmed by the strength of criticism from media of the Data Retention Bill it wants passed before Parliament rises in a fortnight. Bosses, journalists, even the Press Council, are up in arms, not only over this measure, but also over aspects of two earlier pieces of national security legislation that interfere with the ability of the media to hold government to account.</p> - + <div class="story-promo story-promo-middle"> </div> - + <div id="read-more"> <div id="read-more-link"> <a href="">Read more</a> @@ -687,12 +687,12 @@ window.envoy_config.identity = { utag_data = window.utag_data || {}; utag_data.net_content_type = (utag_data.net_content_type ? utag_data.net_content_type + "+" : "") + "comments"; </script> - + <div class="story-promo story-promo-bottom"> </div> - - - + + + <!-- [Group:1226671432961] on [fwprodcontent02.ni.news.com.au] @ [March 21, 2015 11:05AM] --> <div class="group text-g-news-ms-group-adsense-medium item-count-1 group-id-1226671432961"> <div class="group-content"> @@ -704,7 +704,7 @@ window.envoy_config.identity = { </div><!-- // .group-content.item-count-1 --> </div><!-- // .group --> - + <!-- [Group:1226721033461] on [fwprodcontent10.ni.news.com.au] @ [March 21, 2015 11:30AM] --> <div class="group outbrain-group text-g-more-stories item-count-1 group-id-1226721033461"> <div class="group-header"> @@ -718,7 +718,7 @@ window.envoy_config.identity = { </div><!-- // .group-content.item-count-1 --> </div><!-- // .group --> - + <!-- [Group:1226615951541] on [fwprodcontent08.ni.news.com.au] @ [March 21, 2015 11:26AM] --> <div class="group text-g-other-opinion-columns item-count-1 group-id-1226615951541"> <div class="group-header"> @@ -884,7 +884,7 @@ window.envoy_config.identity = { </div><!-- // .group-content.item-count-1 --> </div><!-- // .group --> - + <!-- [Group:1226586873038] on [fwprodcontent07.ni.news.com.au] @ [March 21, 2015 11:30AM] --> <div class="group collection text-g-nn-mob-group-mostread item-count-1 group-id-1226586873038"> <div class="group-content"> @@ -906,9 +906,9 @@ window.envoy_config.identity = { <div class="ad-block ad-m-banner" id="ad-m-banner-1"></div> </div> <div id="network-account"> - + <div class="network-login"> - + <div class="module form-module form-module-cam-login"> <div class="module-header"> <ul class="more-links"> @@ -1018,11 +1018,11 @@ window.envoy_config.identity = { </div> </div> </div> - + </div> <!-- .network-login --> </div> <!-- .network-account --> <div id="mobile-footer-nav" class="site-nav"> - + <div class="module navigation-module footer-nav follow-us sectionref-footer-top id1226899054033 "> <div class="module-content"> <ul class=" tier-1"> @@ -1048,16 +1048,16 @@ window.envoy_config.identity = { <!-- // .tier-2 --> </li> <li class="footertop-nav last"> - + <ul class=" tier-2"> <li class="backtotop-nav first"> <a href="#page">Back To Top</a> </li> - + <li class="login"> <a href="/login">Log In</a> </li> - + <li class="signup-nav"> <a href="http://m.heraldsun.com.au/subscribe/news/1/?sourceCode=HSWEB_MOB539">Subscribe</a> </li> |