Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2014 08:42:01 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r45681 - head/share/xml
Message-ID:  <201409270842.s8R8g1ph022052@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Sat Sep 27 08:42:00 2014
New Revision: 45681
URL: http://svnweb.freebsd.org/changeset/doc/45681

Log:
  Switch to the recommended URL for the old Google Chart API
  
  Note that this code uses the old API which is officially deprecated,
  however converting this to use the new Chart API will take some time.
  
  Obtained from:	https://developers.google.com/chart/image/docs/making_charts
  Missed in:	r45633

Modified:
  head/share/xml/templates.events.xsl
  head/share/xml/templates.pastevents.xsl

Modified: head/share/xml/templates.events.xsl
==============================================================================
--- head/share/xml/templates.events.xsl	Sat Sep 27 08:30:32 2014	(r45680)
+++ head/share/xml/templates.events.xsl	Sat Sep 27 08:42:00 2014	(r45681)
@@ -59,7 +59,7 @@
 	     enddate/day &gt;= date:day-in-month()))]"
     use="location/country" />
 
-  <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
+  <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
 
   <xsl:variable name="title">&title;</xsl:variable>
 

Modified: head/share/xml/templates.pastevents.xsl
==============================================================================
--- head/share/xml/templates.pastevents.xsl	Sat Sep 27 08:30:32 2014	(r45680)
+++ head/share/xml/templates.pastevents.xsl	Sat Sep 27 08:42:00 2014	(r45681)
@@ -61,7 +61,7 @@
 	     enddate/day &gt;= date:day-in-month()))]"
     use="location/country" />
 
-  <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
+  <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
 
   <xsl:variable name="title">&title;</xsl:variable>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409270842.s8R8g1ph022052>