svn commit: r45681 - head/share/xml

Gavin Atkinson gavin at FreeBSD.org
Sat Sep 27 08:42:01 UTC 2014


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 >= date:day-in-month()))]"
     use="location/country" />
 
-  <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&chs=400x200&chtm=world&chco=ffffff,ffbe38,600000&chf=bg,s,4D89F9'" />
+  <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&chs=400x200&chtm=world&chco=ffffff,ffbe38,600000&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 >= date:day-in-month()))]"
     use="location/country" />
 
-  <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&chs=400x200&chtm=world&chco=ffffff,ffbe38,600000&chf=bg,s,4D89F9'" />
+  <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&chs=400x200&chtm=world&chco=ffffff,ffbe38,600000&chf=bg,s,4D89F9'" />
 
   <xsl:variable name="title">&title;</xsl:variable>
 


More information about the svn-doc-head mailing list