sitewriter icon indicating copy to clipboard operation
sitewriter copied to clipboard

Location variables

Open gerwitz opened this issue 7 years ago • 2 comments

As seen with Quill, any post might have a location property. This is not to be confused with the venue of a checkin post.

Most clients seem to send a GeoURL (e.g. geo:52.366,4.871;u=75) but will allow h-card values.

Base variables:

  • location.name
  • location.url (first only, if more than one)
  • location.urls (list)
  • location.geouri (RFC 5870)
  • location.geo.latitude
  • location.geo.longitude
  • location.geo.uncertainty
  • location.address
  • location.locality
  • location.region
  • location.country
  • location.postcode

Note that Sitewriter is opinionated and does not abstract this to a generic h-card

gerwitz avatar May 12 '18 10:05 gerwitz

Maybe later, add a "map_url" based on MapQuest or Mapbox

gerwitz avatar May 13 '18 11:05 gerwitz

Micro.blog is exposing to its templates:

  • location_name
  • location_url
  • location_latitude
  • location_longitude

gerwitz avatar Oct 28 '19 18:10 gerwitz