svn commit: r45681 - head/share/xml

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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>
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.