all repos — honk @ fbc1e8faed47ff4b7ba156136db3077af6c29118

my fork of honk

parse location on input
Ted Unangst tedu@tedunangst.com
Sat, 28 Sep 2019 00:28:26 -0400
commit

fbc1e8faed47ff4b7ba156136db3077af6c29118

parent

88f585ff98eb51c320b24d3f9415ac215c760288

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.go

@@ -678,6 +678,14 @@ } else {

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) }