<!--
Disabled by https-everywhere-checker because:
Fetch error: http://online.barrons.com/ => http://online.barrons.com/: Cycle detected - URL already encountered: http://online.barrons.com/home-page
Fetch error: http://om.dowjoneson.com/ => https://djglobal.122.2o7.net/: None
Fetch error: http://secure.nypost.com/ => https://secure.nypost.com/: (6, 'Could not resolve host: secure.nypost.com')
Fetch error: http://services.wsje.com/ => https://services.wsje.com/: (60, 'SSL certificate problem: unable to get local issuer certificate')
	For problematic rules, see News-Corporation-mismatches.xml.

	on.wsj.com is handled in Bit.ly_vanity_domains.xml.


	Other News Corporation rulesets:

		- Fox_News.xml
		- IGN.xml
		- Marketwatch.com.xml


	CDN buckets:

		- blogs.wsj.com.edgesuite.net

			- a623.b.akamai.net

		- a248.e.akamai.net/f/248/67675/6h/si.wsj.net/
		- a248.e.akamai.net/f/1731/67675/12h/(m|s[1-4ci]?).wsj.net/
		- s3.amazonaws.com/static.fins.com/
		- efinancialnews.com.edgesuite.net/...
			- a1859.g.akamai.net/...
		- s.smartmoney.net.edgesuite.net/...
			- a1092.g.akamai.net/...
		- sj.smartmoney.net.edgesuite.net/...
			- a1683.g.akamai.net/...
		- fonts.wsj.com.edgesuite.net/...
			- a1213.g.akamai.net/...
		- sc.wsj.net.edgesuite.net/...
			- a1574.g.akamai.net/...


	Nonfunctional domains:

		- blogs.barrons.com	(503, akamai)
		- www.news.com.au	(Akamai; "Service Unavailable")
		- live.wsj.com		(Cert: online.wsj.com; 301s there)
		- online.wsj.com	(Cert: self-signed; 301s to http)
		- uk.wsj.com		(Cert: online.wsj.com; 301s there)
		- cs.wsj.net		(data also hosted on sc.wsj.net)
		- synccontent.wsj.com


	Problematic domains:

		- blogs.wsj.com *
		- on.wsj.com ²

	* Works, akamai
	² bit.ly

-->
<ruleset name="News Corporation (partial)" default_off='failed ruleset test'>

	<target host="online.barrons.com" />
	<target host="om.dowjoneson.com" />
	<target host="djrc.portal.dowjones.com" />
	<target host="efinancialnews.com" />
	<target host="*.efinancialnews.com" />
	<target host="factiva.com" />
	<target host="*.factiva.com" />
	<target host="fins.com" />
	<target host="*.fins.com" />
	<target host="secure.nypost.com" />
	<target host="*.wsj.com" />
	<target host="*.wsj.net" />
		<!--
			Doesn't translate directly to s2.wsj.net
								-->
		<exclusion pattern="^http://barrons\.wsj\.net/css/barronsDependencies/" />
		<!--
			All of si.wsj now seems to 404, but others (s., sc., ...) do not.
					-->
		<exclusion pattern="^http://si?\.wsj\.net/" />
	<target host="services.wsje.com" />
	<target host="smartmoney.com" />
	<target host="*.smartmoney.com" />
	<target host="*.smartmoney.net" />
	<target host="wsjeuropesubs.com" />
	<target host="*.wsjeuropesubs.com" />
	<target host="wsjsafehouse.com" />
	<target host="*.wsjsafehouse.com" />


	<securecookie host="^.*\.factiva\.com$" name=".*" />
	<securecookie host="^secure\.nypost\.com$" name=".*" />
	<securecookie host="^secure\.smartmoney\.com$" name=".*" />
	<securecookie host="^(?:classifieds|customerceter)\.wsj\.com$" name=".*" />
	<securecookie host="^services\.wsje?\.com$" name=".*" />
	<securecookie host="^(?:.*\.)?wsj(?:eurosubs|safehouse)\.com$" name=".*" />


	<rule from="^http://online\.barrons\.com/img/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/s.wsj.net/img/" />

	<rule from="^http://om\.dowjoneson\.com/"
		to="https://djglobal.122.2o7.net/" />

	<rule from="^http://djrc\.portal\.dowjones\.com/"
		to="https://djrc.portal.dowjones.com/" />

	<rule from="^http://(www\.)?efinancialnews\.com/(about-us/tour/|css/|img/|js/|login/|forgot-password|register)"
		to="https://$1efinancialnews.com/$2" />

	<rule from="^http://media\.efinancialnews\.com/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/media.efinancialnews.com/" />

	<!--	Cert doesn't match !www.	-->
	<rule from="^http://factiva\.com/"
		to="https://www.factiva.com/" />

	<rule from="^http://(customer|global|www)\.factiva\.com/"
		to="https://$1.factiva.com/" />

	<rule from="^http://(?:www\.)?fins\.com/Finance/(cs|Image)s/"
		to="https://www.fins.com/Finance/$1s/" />

	<rule from="^http://s\.fins\.com/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/s.fins.com/" />

	<rule from="^http://secure\.nypost\.com/"
		to="https://secure.nypost.com/"/>

	<!--	At least some paths aren't available on (s|sc).smartmoney.net.
										-->
	<rule from="^http://(?:www\.)?smartmoney\.com/img/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/s.smartmoney.net/img/" />

	<rule from="^http://charts\.smartmoney\.com/gifbuilder/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/charts.smartmoney.com/gifbuilder/" />

	<rule from="^http://fonts\.(?:smartmoney|wsj)\.com/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/fonts.smartmoney.com/" />

	<rule from="^http://j(?:tools|secure)?\.smartmoney\.com/"
		to="https://jsecure.smartmoney.com/" />

	<rule from="^http://(charts|m1|s)\.smartmoney\.net/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/$1.smartmoney.net/" />

	<rule from="^http://sc\.smartmoney\.net/css/cssDependencies/hat-icons\.css"
		to="https://a248.e.akamai.net/f/1731/67675/12h/sc.smartmoney.net/css/cssDependencies/hat-icons.css" />

	<rule from="^http://\w+\.wsj\.com/(dscript/|favicon\.ico|img/|j20type\.css|static_html_files/)"
		to="https://a248.e.akamai.net/f/1731/67675/12h/s.wsj.net/$1" />

	<rule from="^http://(?:classifieds|customercenter)\.wsj\.com/"
		to="https://buy.wsj.com/" />

	<rule from="^http://id\.wsj\.com/"
		to="https://id.wsj.com/" />

	<rule from="^http://live\.wsj\.com/djscript/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/live.wsj.com/djscript/" />

	<rule from="^http://services\.wsj(e)?\.com/"
		to="https://services.wsj$1.com/" />

	<rule from="^http://barrons\.wsj\.net/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/s.wsj.net/" />

	<rule from="^http://(bc|cc|m|s[1-4cgij]?)\.wsj\.net/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/$1.wsj.net/" />

	<!--	Akamai
		Some of this is also on secure.marketwatch.com.
								-->
	<rule from="^http://mw(\d)\.wsj\.net/([mM][wW])5/"
		to="https://a248.e.akamai.net/f/1731/67675/12h/mw$1.wsj.net/$25/" />

	<rule from="^http://(www\.)?wsjeuropesubs\.com/"
		to="https://$1wsjeuropesubs.com/" />

	<rule from="^http://(?:www\.)?wsjsafehouse\.com/"
		to="https://www.wsjsafehouse.com/" />

</ruleset>
