mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Add Coinfest as an international event
This commit is contained in:
parent
0db3a01cbe
commit
f80aa4be3a
2 changed files with 12 additions and 12 deletions
10
_events.yml
10
_events.yml
|
@ -23,12 +23,10 @@
|
|||
link: "https://www.ecurex.com/p2pfisy/"
|
||||
|
||||
- date: 2015-02-20
|
||||
title: "#CoinFestRussia. The first decentralized currency convention & International festival"
|
||||
venue: "ETAZHI loft area, 'Zona Space' coworking center & educational club"
|
||||
address: "Ligovsky Prospect, 74"
|
||||
city: "Saint-Petersburg"
|
||||
country: "Russia"
|
||||
link: "http://coinfestrussia.com"
|
||||
title: "Coinfest. The first decentralized decentralized currency convention"
|
||||
city: "Many cities"
|
||||
country: "Worldwide"
|
||||
link: "http://www.coinfest.org/"
|
||||
|
||||
- date: 2015-02-26
|
||||
title: "Chambe-Carnet: Bitcoin, initiation à l’argent P2P et opportunités"
|
||||
|
|
|
@ -101,6 +101,7 @@ module Jekyll
|
|||
date = data['date'].to_s.split('-')
|
||||
next if Time.new.to_i > (Time.new(date[0].to_i,date[1].to_i,date[2].to_i).to_i + 432000)
|
||||
# Get geolocalisation data from Google Maps
|
||||
if data.has_key?('address')
|
||||
begin
|
||||
geoloc = JSON.parse(open("https://maps.googleapis.com/maps/api/geocode/json?address=" + CGI::escape(data['address'] + ', ' + data['city'] + ', ' + data['country']) + "&sensor=false","User-Agent"=>"Ruby/#{RUBY_VERSION}").read)
|
||||
if geoloc['status'] == 'OK'
|
||||
|
@ -109,6 +110,7 @@ module Jekyll
|
|||
rescue
|
||||
print 'Google Maps API Call Failed!'
|
||||
end
|
||||
end
|
||||
# Populate conferences array
|
||||
conferences.push(data)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue