views:

272

answers:

1

Hi all, I'm working on a simple TODO list app based on localStorage HTML5 feature:

http://hamen.github.com/webnotes/

I'm wondering if it's possible to import/export data in some way. How could I provide an "Export note/Import note" feature to make users being able to save their note on their HD and import them in another browser profile?

Thanks

+4  A: 

I think you can use the "HTML File API" to load from file and a "Data URI" (http://en.wikipedia.org/wiki/Data_URI_scheme) to save.

rpl