parse location on input
This commit is contained in:
parent
a172d9c91e
commit
0b058562e5
|
@ -678,6 +678,14 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
log.Printf("bogus hashtag name: %s", name)
|
||||
}
|
||||
}
|
||||
if tt == "Place" {
|
||||
p := new(Place)
|
||||
p.Name = name
|
||||
p.Latitude, _ = tag["latitude"].(float64)
|
||||
p.Longitude, _ = tag["longitude"].(float64)
|
||||
log.Printf("place: %v", p)
|
||||
xonk.Place = p
|
||||
}
|
||||
}
|
||||
xonk.Onts = oneofakind(xonk.Onts)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue