hi jeremy,
thanks for the info.
or i also might take the tw apart and basically copy in the needed
divs. *smile*
did that with tw2 many years ago when we had no import feature.
worked at that time pretty well with the single html file.
greetings,
simon
On Tue, 16 Dec 2014 14:43:42 +0000
Jeremy Ruston <jeremy.rus...@gmail.com> wrote:
Hi Simon
I have data which i can form into a json file.
but the problem is that the text field of each entry might contain a
line
break.
Unfortunately, that makes it an invalid JSON file. TiddlyWiki uses
the
standard JavaScript JSON.parse() function which raises an error if
it the
file isn't valid.
I suspect that the best approach would be to do a search and replace
across
the file to convert the newlines into \n. Depending on your OS you
should
be able to Google the commands needed to do that.
Best wishes
Jeremy
i looked into the exported json files which tiddlywiki creates
itself and
it uses a single line for the text field and adds a \n for a line
break.
the unfortunate thing is that the line breaks i get from my source
can't
be changed to \n using the source.
is there a solution to that?
greetings,
simon
--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Ruston
mailto:jeremy.rus...@gmail.com
--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
--
Simon Eigeldinger
simon.eigeldin...@vol.at
--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.