- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Sat, 3 Aug 2013 19:23:40 +0200
- To: Andrei Sambra <andrei.sambra@gmail.com>
- Cc: public-webid <public-webid@w3.org>, "public-rww@w3.org" <public-rww@w3.org>
- Message-ID: <CAKaEYhJLXtk3mNMobd9+S1BsoU0SeDETietFoxnKm5NC+4BKeg@mail.gmail.com>
On 3 August 2013 14:19, Andrei Sambra <andrei.sambra@gmail.com> wrote: > Dear all! I am proud to announce the release of http://rww.io/, a > "personal cloud" service for your Linked Data. > > Since RWW.IO <http://rww.io/> is intended to be used as a backend service > for your Linked Data applications, the UI is minimal, allowing you to edit > RDF documents and set ACL rules. Users can also upload a limited range of > images (PNG, JPG and GIF - for all your cat pictures, wee!). > > If you would like to run your own service, just grab the code from > https://github.com/deiu/rww.io and get started! It is a free service, > paid entirely from my personal founds and created in my free time, so > please consider supporting this project (Flattr) if you like and use it. > > All feedback is appreciated. Thank you! > Very nice piece of work! To test it out I put up a simple demo -- a simple chess board that remembers it's position using read/write standards http://chess.rww.io/game.html The source is very simple: *To add a file: *function putFile(file, data) { xhr = new XMLHttpRequest(); xhr.open('PUT', file, false); xhr.setRequestHeader('Content-Type', 'appliction/turtle; charset=UTF-8'); xhr.send(data); } *To delete a file: *function deleteFile(file) { var body = ''; xhr = new XMLHttpRequest(); xhr.open('DELETE', file, false); xhr.setRequestHeader('Content-Type', 'appliction/json; charset=UTF-8'); xhr.send(body); } *To load a file: *$.getJSON('https://chess.data.fm/game.ttl' , function(data){ var fen = data["https://chess.data.fm/game.ttl"][" https://chess.data.fm/game.ttl#pos"][0]['value']; cfg.position = fen; board = new ChessBoard('board', cfg); $('#startPositionBtn').on('click', board.start); }) On each move it will save the position and on start up it will load the saved position. > > Andrei >
Received on Saturday, 3 August 2013 17:24:10 UTC