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

Add permalink to Play UI #6

Open
gkellogg opened this issue Jul 19, 2017 · 10 comments
Open

Add permalink to Play UI #6

gkellogg opened this issue Jul 19, 2017 · 10 comments

Comments

@gkellogg
Copy link
Member

From @scor on May 18, 2012 16:2

so people can share links to Play with actual code snippets.

Copied from original issue: rdfa/rdfa-website#9

@gkellogg
Copy link
Member Author

Yes, but better integrate a link shortener too. Best if this could be done via an ajax call to some existing service, although this brings up CORS issues.

@gkellogg
Copy link
Member Author

From @scor on May 18, 2012 16:16

could rdfa.info host such shortener service maybe? e.g. rdfa.info/s/ErfDa (or via a sub domain s.rdfa.info)

@gkellogg
Copy link
Member Author

Probably, but we don't use a database right now, and we'd need to host a DB to have memory for the shortener. Probably better to leave that responsibility with an outside service.

Google hosts such a service: https://developers.google.com/url-shortener/

Gregg

On May 18, 2012, at 9:16 AM, Stephane Corlosquet wrote:

could rdfa.info host such shortener service maybe?


Reply to this email directly or view it on GitHub:
https://github.com/rdfa/rdfa-website/issues/9#issuecomment-5789721

@gkellogg
Copy link
Member Author

From @iherman on May 18, 2012 16:58

Stéphane,

I do not understand...

I.


Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)

On 18 May 2012, at 18:02, Stephane Corlosquet reply@reply.github.com wrote:

so people can share links to Play with actual code snippets.


Reply to this email directly or view it on GitHub:
https://github.com/rdfa/rdfa-website/issues/9

@gkellogg
Copy link
Member Author

If you go to the JSON-LD playground (http://json-ld/playground/) you'll see a "permalink" link on the right side. That will take the form contents and create a URI-encoded form that you can use in an HTTP get to fill the form text boxes back in. Of course, the generated URLs can be pretty monstrous, so using a URL shortener makes the usable.

For example, try this: http://tinyurl.com/79a5qef

Gregg

On May 18, 2012, at 9:58 AM, Ivan Herman wrote:

Stéphane,

I do not understand...

I.


Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)

On 18 May 2012, at 18:02, Stephane Corlosquet reply@reply.github.com wrote:

so people can share links to Play with actual code snippets.


Reply to this email directly or view it on GitHub:
https://github.com/rdfa/rdfa-website/issues/9


Reply to this email directly or view it on GitHub:
https://github.com/rdfa/rdfa-website/issues/9#issuecomment-5790629

@gkellogg
Copy link
Member Author

From @scor on May 18, 2012 17:19

Ivan: similar to the JSON-LD playground permalink - example.

@gkellogg
Copy link
Member Author

From @iherman on May 18, 2012 17:42

Hm. I am still lost. Do you mean to add something to the rdfa.info play? Or to pyRdfa? In the former case it should be Manu, and not really me...

Ivan


Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)

On 18 May 2012, at 19:19, Stephane Corlosquet reply@reply.github.com wrote:

Ivan: similar to the JSON-LD playground permalink - example.


Reply to this email directly or view it on GitHub:
https://github.com/rdfa/rdfa-website/issues/9#issuecomment-5791082

@gkellogg
Copy link
Member Author

From @scor on May 18, 2012 17:58

sorry for not being more specific, this is for play only. I've added a label to this issue and updated the title of the issue.

@gkellogg
Copy link
Member Author

From @elf-pavlik on May 3, 2014 7:29

👍 permalinks to share!

@gkellogg
Copy link
Member Author

From @Haroenv on July 19, 2016 12:58

Am I correct in assuming that it's currently not possible to for example embed an iframe of certain html to be validated by Play?

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