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

Server to set: Title, OG MetaTags, etc from URL #30

Open
justinormont opened this issue Apr 13, 2013 · 0 comments
Open

Server to set: Title, OG MetaTags, etc from URL #30

justinormont opened this issue Apr 13, 2013 · 0 comments

Comments

@justinormont
Copy link
Collaborator

Parse URL parameters server side and produce a correct Title, OG MetaTags, Meta Description, & Twitter Metacard data.

Use case:

  • User shares llink, it gets parsed by FB and the title/OG tags are displayed there.
  • User bookmarks current view, title is displayed in bookmark

URL Example:
http://letsgo.io?from=San+Francisco&q=New+York+City&wp=37.783333,-122.416667,43.066667,-89.4,40.67,-73.94&pids=8158094262,6920002684,2835649418,3920850843&dpid=3908821399

Where:

  • q: destination location name (picked up as the main search term)
  • from: source location name
  • wp: way points, including the starting and end points
  • pids: selected photos (currently unused) [optional]
  • dpid: current photo being displayed in the large viewer [optional]

If dpid is set, set the photo metadata to the photo pointed to by dpid.

Twitter card spec:
https://dev.twitter.com/docs/cards

This is in prep for #9 (Social share icons for Facebook/Twitter/Google+)

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

No branches or pull requests

1 participant