Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Own Your Swarm #10

Open
bmann opened this issue Oct 13, 2018 · 2 comments
Open

Own Your Swarm #10

bmann opened this issue Oct 13, 2018 · 2 comments

Comments

@bmann
Copy link
Owner

bmann commented Oct 13, 2018

Like OwnYourGram, this is an indieweb / micropublish connector for Swarm / Foursquare.

@bmann
Copy link
Owner Author

bmann commented Oct 13, 2018

Example post

Comes across as an hcard. Need to edit my template to detect Swarm YAML.

---
layout: single
date: '2018-10-12T15:46:10.000Z'
title: ''
mf-syndication:
  - 'https://www.swarmapp.com/user/39650/checkin/5bc0c1c275dcb7002c154511'
mf-photo:
  - >-
    https://igx.4sqi.net/img/general/original/39650_qoDzzDRQyYTnE_nTa3AMZ7YsP_u-p4_7jJWNHSKPO-M.jpg
mf-checkin:
  - type:
      - h-card
    properties:
      name:
        - Laughing Bean Coffee
      url:
        - 'https://foursquare.com/v/4acfc331f964a520d0d520e3'
      latitude:
        - 49.28135734097561
      longitude:
        - -123.04954218818958
      street-address:
        - 2695 E Hastings St.
      locality:
        - Vancouver
      region:
        - BC
      country-name:
        - Canada
    value: 'https://foursquare.com/v/4acfc331f964a520d0d520e3'
mf-location:
  - type:
      - h-adr
    properties:
      latitude:
        - 49.28135734097561
      longitude:
        - -123.04954218818958
      street-address:
        - 2695 E Hastings St.
      locality:
        - Vancouver
      region:
        - BC
      country-name:
        - Canada
slug: '56770'
category: social
---
Super fun local community coffee place. Road trip begins!

@bmann
Copy link
Owner Author

bmann commented Oct 13, 2018

Photos are not copied over, so wouldn’t want to use this much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant