1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 18:53:28 +00:00

tw5dropbox updates

1. Use a beacon of UTF8 characters to ensure Dropbox correctly parses
the charset of the file
2. Update to latest version of dropbox.js
3. Clarification to docs
This commit is contained in:
Jeremy Ruston 2012-10-17 16:54:47 +01:00
parent 915caf2a18
commit fbc9211688
5 changed files with 9 additions and 3 deletions

View File

@ -4,6 +4,7 @@ type: text/x-tiddlywiki-html
<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="utf8beacon" content="éçñøåá—" />
<meta name="application-name" content="TiddlyWiki" />
<meta name="generator" content="TiddlyWiki" />
<meta name="tiddlywiki-version" content="<<version>>" />
@ -23,6 +24,6 @@ type: text/x-tiddlywiki-html
<<serialize "[[$:/plugins/dropbox/Index]]" application/x-tiddler-html-div>>
</div>
</body>
<script src="//cdnjs.cloudflare.com/ajax/libs/dropbox.js/0.6.1/dropbox.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/dropbox.js/0.6.3/dropbox.min.js"></script>
<script src="//dl-web.dropbox.com/spa/4f6lw6nhu5zn5pr/TiddlyWiki5/public/tw5dropbox.js"></script>
</html>

View File

@ -1,4 +1,5 @@
title: $:/plugins/dropbox/styles.template.css
type: text/x-tiddlywiki-html
/* utf8beacon: éçñøåá— */
<<serialize "[is[shadow]type[text/css]]" text/plain>>

View File

@ -1,6 +1,7 @@
title: $:/plugins/dropbox/tw5dropbox.template.js
type: text/x-tiddlywiki-html
/* utf8beacon: éçñøåá— */
<<serialize "[is[shadow]type[application/javascript]library[yes]] -[[$:/library/sjcl.js]]" text/plain>>
<<serialize "$:/core/bootprefix.js" text/plain>>
<<serialize "[is[shadow]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/core/boot.js]] -[[$:/core/bootprefix.js]]" application/x-tiddler-javascript>>

View File

@ -1,6 +1,8 @@
title: TiddlyWiki5 in the Sky with Dropbox
This app enables you to edit [[TiddlyWikis|TiddlyWiki]] in your [[Dropbox]].
This [[beta|Beta]] app enables you to edit [[TiddlyWikis|TiddlyWiki]] in your [[Dropbox]]. The wikis are stored as separate folders within the `Apps/TiddlyWiki5/` folder sandbox in your Dropbox.
This service is entirely hosted by Dropbox, and your information never leaves the secure channel between your browser and Dropbox.
<<reveal state:[[$:/plugins/dropbox/LoadedWikis]] type:nomatch text:yes><
Loading your wikis from Dropbox

View File

@ -4,6 +4,7 @@ type: text/x-tiddlywiki-html
<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="utf8beacon" content="éçñøåá—" />
<meta name="application-name" content="TiddlyWiki" />
<meta name="generator" content="TiddlyWiki" />
<meta name="tiddlywiki-version" content="<<version>>" />
@ -14,7 +15,7 @@ type: text/x-tiddlywiki-html
<meta name="copyright" content="
<<serialize "$:/core/copyright.txt" text/plain>>
" />
<script src="//cdnjs.cloudflare.com/ajax/libs/dropbox.js/0.6.1/dropbox.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/dropbox.js/0.6.3/dropbox.min.js"></script>
<title><<tiddler "$:/core/wiki/title">></title>
<!----------- This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ----------->