dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Saving back to HTML file

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    4

    Question Saving back to HTML file

    TiddlyWiki is pure HTML and JavaScript 1 page wiki, but it allows the user to save content back to the HTML file. Does anyone know how this is achieved?

    http://www.tiddlywiki.com

    I haven't had time to look at the code (there appears to be a lot), so I'm hoping someone here knows the answer and saves me hours of code review. My guess is it is creating a client side cache; i.e. data in a cookie, etc... but I'm hoping its actually modifying the HTML, but I'm guessing this isn't feasible as JavaScript is client side (excluding serverside JS stuff like node).

    Any help would be welcomed.

  2. #2
    Join Date
    Mar 2012
    Posts
    202
    Quote Originally Posted by cbruiners View Post
    TiddlyWiki is pure HTML and JavaScript 1 page wiki, but it allows the user to save content back to the HTML file. Does anyone know how this is achieved?

    http://www.tiddlywiki.com

    I haven't had time to look at the code (there appears to be a lot), so I'm hoping someone here knows the answer and saves me hours of code review. My guess is it is creating a client side cache; i.e. data in a cookie, etc... but I'm hoping its actually modifying the HTML, but I'm guessing this isn't feasible as JavaScript is client side (excluding serverside JS stuff like node).

    Any help would be welcomed.
    If you would read the info, all it does is generate the code. The whole thing about not needing server-side logic is because the files will be intended to be able to work locally. No server needed.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles