<!--~~ Library modules ~~-->
You wil see the tiddler with title xxxxx is inserted just before
<!--~~ Library modules ~~-->
(In TW 5.1.21 at line# 9460)
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4d6e9d79-a7dd-4395-83f9-a215fd54d992%40googlegroups.com.
Hi JosiahWhen the TW5 core code needs to read the tiddlers from a TW HTML file, it looks for the string:
<div id="storeArea" style="display:none;">The individual tiddler DIVs immediately follow, terminated by </div>.You can use the same marker for inserting tiddlers but they will be overridden by any other tiddlers with the same title already in the file.To put your tiddlers after any existing tiddlers, you’d have to search back from <!--~~ Library modules ~~--> to find the preceding </div>, and insert your tiddlers immediately before it.Another point to notice is that the attribute values and tiddler content are HTML encoded. You may want to make sure you test with tiddlers called things like “Tom & Jerry” to test.Best wishesJeremy.
On 28 Jan 2020, at 11:25, TiddlyTweeter <Tiddly...@assays.tv> wrote:
Ton Gerner wrote:You wil see the tiddler with title xxxxx is inserted just before
<!--~~ Library modules ~~-->
(In TW 5.1.21 at line# 9460)Many thanks!TT--
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 tiddl...@googlegroups.com.
... There is no special marker for the tiddler store. So use the id="libraryModules" and place your tiddlers in front of it. That's safe.
You could also use the </noscript> marker and place your tiddlers after it. Almost the same thing.
<!--~~ Ordinary tiddlers ~~-->
<div id="storeArea" style="display:none;">
<div title="Perry Mason (1957) s05e23 - The Case of the Absent Artist 0002" tags="" modified="20200211194930568" created="19570101000000000">Lash out with heavy blows. A true artist must first be an anarchist. Like him? Otto Gervaert? A yogi. But, Glovatski, have you seen his last painting, Day's Catch? Everybody says it's a masterpiece. I repudiate him. Fiona! Fiona! Come quickly. Do hurry, dear. Otto is back.</div><div title="Perry Mason (1957) s05e23 - The Case of the Absent Artist 0003" tags="" modified="20200211194930568" created="19570101000000000">I heard him moving around down there. He must have just got in. Maybe it's a bat flying around. The poor boy must be starved. Come along, Fiona. Otto, dear boy, welcome home. Oh, dear. He's gone again. This time he's not coming back. Nonsense. Of course he'll be back.</div><div created="20160204225047445" modified="20160204225307847" tags="Articles" title=""A free, open source wiki revisited" by Mark Gibbs, NetworkWorld" type="text/vnd.tiddlywiki" url="http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html">
etc ...
Do NOT use the HTML comment. Comments can and will be changed at will.
Do NOT use the HTML comment. Comments can and will be changed at will.Okay! Why is that? Is it that the store would move them around?
My original idea was to insert a comment before and after inserted raw tiddlers so I could find them later.
But your comment indicates that can't work? Right?
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5c1f238f-60ab-4f2a-bf03-22bd7d89e771%40googlegroups.com.
Hi JosiahJust a thought, but in order to test the validity of the generated HTML file you might try importing it into another wiki as well as just loading it into a browser. The tiddlers are ready by two different mechansms in those cases, so it will help to shake out any incompatibilities.Best wishes
Jeremy.
On 13 Feb 2020, at 07:59, TiddlyTweeter <Tiddly...@assays.tv> wrote:
Tx!I now understand what you meant! Yeah, I'd only insert after the store div, not comments.My comments are purely whilst doing sequential insertions. They are stripped out on completion.Best wishesTT
On Thursday, 13 February 2020 01:07:27 UTC+1, PMario wrote:You can do what ever you want with your code but don't rely on someone else's comments.But your comment indicates that can't work? Right?It can work, but it wouldn't be best practice.--
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 tiddl...@googlegroups.com.
Hi JosiahWhen the TW5 core code needs to read the tiddlers from a TW HTML file, it looks for the string:
<div id="storeArea" style="display:none;">The individual tiddler DIVs immediately follow, terminated by </div>.You can use the same marker for inserting tiddlers but they will be overridden by any other tiddlers with the same title already in the file.To put your tiddlers after any existing tiddlers, you’d have to search back from <!--~~ Library modules ~~--> to find the preceding </div>, and insert your tiddlers immediately before it.Another point to notice is that the attribute values and tiddler content are HTML encoded. You may want to make sure you test with tiddlers called things like “Tom & Jerry” to test.Best wishesJeremy.
On 28 Jan 2020, at 11:25, TiddlyTweeter <Tiddly...@assays.tv> wrote:
Ton Gerner wrote:You wil see the tiddler with title xxxxx is inserted just before
<!--~~ Library modules ~~-->
(In TW 5.1.21 at line# 9460)Many thanks!TT--
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 tiddl...@googlegroups.com.