Hi Matthew

On Mon, Feb 3, 2014 at 5:36 PM, Matthew Petty <[email protected]>wrote:

> I've imported an old TW to TW5. As expected, all 700 of the old tiddlers
> are in "text/x-tiddlywiki" format. Is there a way to set the format on
> multiple tiddlers to the new "text/vnd.tiddlywiki" format?
>

I'd emphasise the warnings on tiddlywiki.com: there's no full upgrade
process yet, and depending on your content you may need to do a lot of
massaging to get it working in TW5 in the same way that you're used to on
TiddlyWiki Classic.

Anyhow, in the same situation, the simple technique I have used is to
import the TWC tiddlers into TW5, save the file, and then open it in a text
editor. You can then use search and replace to convert:

type="text/x-tiddlywiki"

to:

type="text/vnd.tiddlywikI"

It's also useful to search and replace single newlines with double
newlines. It's hard to restrict the scope to tiddler content with the
technique of editting the HTML file. Instead, you can run TW5 under Node.js
and use ginsu.sh/cmd to split the file into individual .tid files, and then
search and replace within them.

Best wishes

Jeremy



>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to