RE: Weekly Update

On Tuesday, September 03, 2013 9:05 AM, vikash agrawal:
> One small help that I require as of now would be, how to make user
> save the JSON and JSON-LD [from textarea] as they /wont/ be present
> anywhere else. 

You could try to add a download link. Use a data URI and HTML5's download attribute. Something like

  <a href="xxx" download="profile.jsonld">download the profile</a>

The xxx above should be filled with something like:

  jsonld = JSON.stringify(profile);
  xxx = 'data:Application/octet-stream,' + encodeURIComponent(jsonld);

That should work (at least in modern browsers) without requiring any server side code.

> Also, so far, I am thinking of a feature of being able to download JSON
> and JSON-LD. But Manu, over the telecon, the user should also be able to
> save JSON-LD+HTML+RDFa document. [But being a n00b to RDFa], Can you please
> share a document link where I can understand what its like.

You should really try to focus and deliver something. You haven't finished anything till now apart the website redesign (which was simply pasting existing code in a open source template). GSoC's deadline is approaching fast and at least I personally I'm not very satisfied with the progress you made so far. Don't take this personally but as motivation. I won't you to succeed but you have to do something for it.


Have fun at the Mozilla Summit,
Markus


--
Markus Lanthaler
@markuslanthaler

Received on Tuesday, 3 September 2013 18:47:17 UTC