Hi Jeremy

On Tue, Jul 3, 2018 at 11:26 AM Yakov <[email protected] <javascript:>> 
> wrote:
>
>> By the way, does anybody know how to build TiddlySaver from its source? I 
>> can't see any docs besides the sign.readme 
>> <https://github.com/TiddlyWiki/TiddlyWiki/blob/master/java/sign.readme> 
>> and verify.readme 
>> <https://github.com/TiddlyWiki/TiddlyWiki/blob/master/java/verify.readme> 
>> which are for later stages of the process. Also I wonder if there's a way 
>> to get TiddlySaver version (if there's any versioning at all) since I'm not 
>> even sure whether the latest version is packed in the download archive on 
>> classic.tiddlywiki.com Any ideas?
>>
>
> I think it's just a matter of compiling the source at 
> https://github.com/TiddlyWiki/TiddlyWiki/blob/master/java/src/TiddlySaver.java
>  
> into TiddlySaver.jar, and then signing it as described in the file.
>
> Back in the day, BiDiX used to do the builds on UnaMesa's behalf, and had 
> the necessary signing keys. I can try to put you in touch?
>
> That would be nice. The time to explore TiddlySaver in deep has not quite 
come (I'd like to finish the work on debugging upgrading first, see the 
other thread 
<https://groups.google.com/forum/#!topic/tiddlywikidev/12Pgbj1ssu8>), but 
contacting BidiX would be nice (as far as I can remember I've tried to 
write to him once, to BidiX at bidix.info, and mail delivery system 
responded "can not be delivered" and bidix.info is down these days, only 
the old bidix.tiddlyspot.com is up) as well as getting more info about 
building TiddlySaver.

Best regards,
Yakov.
 

> Best wishes
>
> Jeremy.
>  
>
>>
>> вторник, 3 июля 2018 г., 13:21:26 UTC+3 пользователь Yakov написал:
>>>
>>> Hello Okido, sorry for the delay,
>>>
>>> yeah, you are right, surprisingly there's 2 types of shadows: those 
>>> stored in shadowArea (ColorPalette, EditTemplate, GettingStarted, 
>>> ImportTiddlers, MarkupPreHead, OptionsPanel, PageTemplate, 
>>> StyleSheetColors, StyleSheetLayout, StyleSheetLocale, StyleSheetPrint, 
>>> ViewTemplate) and those merged to config.shadowTiddlers by JavaScript (line 
>>> 1209 and below: DefaultTiddlers, MainMenu, SiteTitle, SiteSubtitle, 
>>> SiteUrl, SideBarOptions, SideBarTabs, TabMore). Not sure what's the main 
>>> difference (I'd guess that the first ones should be loaded quicker but 
>>> since GettingStarted is in the first group while DefaultTiddlers is in the 
>>> second, I'm not really sure).
>>>
>>> It is most likely the first group is "cooked" as html (hence &lt; and 
>>> &gt;) via the .externalizeTiddler method ( 
>>> https://github.com/TiddlyWiki/TiddlyWiki/blob/master/js/TW21Saver.js#L9 
>>> ). I'm afraid I can't provide much more details without diving into TW5 
>>> code: the building script for index.html is just one line
>>>
>>> node %TIDDLYWIKI5_DIR%/tiddlywiki.js ./wiki --verbose --load 
>>> ./index.html.recipe --rendertiddler 
>>> $:/core/templates/tiddlywiki2.template.html %TIDDLYWIKI_DEST%/index.html 
>>> text/plain
>>>
>>> although building empty.html is done in a stranger manner: it is build 
>>> from index.html (TW with content for classic.tiddlywiki.com):
>>>
>>> echo BUILD: creating EMPTY.HTML and INDEX.XML from INDEX.HTML
>>> %BROWSER% phantom_driver.js
>>>
>>> Best regards,
>>> Yakov.
>>>
>>> четверг, 21 июня 2018 г., 12:54:17 UTC+3 пользователь okido написал:
>>>>
>>>> Hello Yakov,
>>>>
>>>> When I use the file 
>>>> https://github.com/YakovL/tiddlywiki/blob/YLTW/shadows/GettingStarted.tid 
>>>> it contains a macro call: <<option txtUserName>>
>>>> Code:
>>>> title: GettingStarted
>>>>
>>>> To get started with this blank [[TiddlyWiki]], you'll need to modify 
>>>> the following tiddlers: 
>>>> * [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, 
>>>> as shown above (after saving, they will also appear in the browser title 
>>>> bar) 
>>>> * [[MainMenu]]: The menu (usually on the left) 
>>>> * [[DefaultTiddlers]]: Contains the names of the tiddlers that you want 
>>>> to appear when the TiddlyWiki is opened 
>>>> You'll also need to enter your username for signing your edits: 
>>>> <<option txtUserName>>
>>>>
>>>> When I look up this code in your build that is here: 
>>>> https://groups.google.com/forum/#!topic/tiddlywikiclassic/4xiDlSbiY9c 
>>>> the code is inserted at line 117 and looks like this:
>>>>
>>>> </div>
>>>> <div title="GettingStarted">
>>>> <pre>To get started with this blank [[TiddlyWiki]], you'll need to 
>>>> modify the following tiddlers:
>>>> * [[SiteTitle]] &amp; [[SiteSubtitle]]: The title and subtitle of the 
>>>> site, as shown above (after saving, they will also appear in the browser 
>>>> title bar)
>>>> * [[MainMenu]]: The menu (usually on the left)
>>>> * [[DefaultTiddlers]]: Contains the names of the tiddlers that you want 
>>>> to appear when the TiddlyWiki is opened
>>>> You'll also need to enter your username for signing your edits: 
>>>> &lt;&lt;option txtUserName&gt;&gt;
>>>> </pre>
>>>> </div>
>>>>
>>>>
>>>>
>>>> As you can see the macro changed from <<option txtUserName>> to 
>>>> &lt;&lt;option txtUserName&gt;&gt; this is no problem as it executes 
>>>> properly.
>>>> The issue is that when I build from the code that contains << and >> I 
>>>> need to replace the << >> by &lt;&lt; &gt;&gt; etc else it renders 
>>>> incorrect, it becomes <<option txtusername="">>;\n</option>.
>>>> It only is happening with the shadow tiddlers.
>>>> Hence my question if your build script replaces the << >>  to html 
>>>> entity names.
>>>>
>>>> I hope this makes it clear.
>>>>
>>>>
>>>> Have a nice day, Okido
>>>>
>>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWikiDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/tiddlywikidev.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywikidev/ab5b29b3-53c4-46f1-80a3-1e318ae6d912%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywikidev/ab5b29b3-53c4-46f1-80a3-1e318ae6d912%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/5983f261-13a0-4ded-b960-541230104ecc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to