Hi Mohammad,

Some docs available on demo site here 
https://iilyak.github.io/tiddlywiki-splitweb/

The code is here
https://github.com/iilyak/tiddlywiki-splitweb

Unfortunately it doesn't work with latest tw5 since the sync adapter interface 
has been changed.
I am slowly working on fixing the plugin.

Best regards,
ILYA




On 30 April 2020 01:29:57 GMT-07:00, Mohammad <[email protected]> 
wrote:
>Hi Ilya,
>This is wonderful solution! I would much appreciate if you kindly
>instruct 
>how
>to use the plugin and what is the relevant tiddlywiki.info 
>
>--Mohammad
>
>On Wednesday, December 11, 2019 at 6:28:48 AM UTC+3:30, ILYA Khlopotov 
>wrote:
>>
>> Hello Mohamed,
>>
>> > Hello ILYA,
>> > Did you manage to get a working solution for your requirement? I
>tried 
>> to use
>> > "--rendertiddler","$:/core/save/all","index.html","text/plain"
>> > and I got also a single HTML file.
>>
>> Just wanted to provide an update from my side. I decided to implement
>
>> custom sync adaptor. My current code is in the attached file.
>> It works as expected if I have following files in the root directory
>of a 
>> web server
>>
>> index.html --- built using edition which includes my iilyak/static
>plugin
>> tiddlers.json
>> ```
>>
>> [
>>   {
>>      "title": "HelloThere",
>>      "tags": "FirstTag [[Second Tag]]",
>>      "fields": {
>>              "my-custom-field": "Field value"                
>>      }
>>   }
>> ]
>>
>> ```
>> tiddlers/HelloThere
>> ```
>> {
>>   "created": "20191128223719980",
>>   "modified": "20191128223730628",
>>   "tags": "FirstTag [[Second Tag]]",
>>   "text": "BlaBla",
>>   "title": "HelloThere",
>>   "type": "text/vnd.tiddlywiki",
>>   "my-custom-field": "Field value"
>> }
>> ```
>>
>> In the next couple of days I would be trying to find a way how to
>generate 
>> independent json files and how to generate tiddlers.json
>>
>> Best regards,
>> iilyak
>>
>> On Mon, Dec 9, 2019 at 1:30 PM Mohamed Sh. Amin <[email protected] 
>> <javascript:>> wrote:
>>
>>> Hello ILYA,
>>>
>>> Did you manage to get a working solution for your requirement? I
>tried to 
>>> use
>>> "--rendertiddler","$:/core/save/all","index.html","text/plain"
>>> and I got also a single HTML file.
>>>
>>> What I'm thinking now is:-
>>> 1- some working solution with tiddlywiki.info 
>>>
><http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.info&sa=D&sntz=1&usg=AFQjCNHkNn4VfYQn3QSKVVY1NrUnPOislg>
>(but 
>>> after TonyM replay I think there is not a direct solution).
>>> 2- use TiddlyServer API.
>>> 3- create a script to split the single HTML file to separated files
>(hope 
>>> not to go this way)
>>>
>>> Regards 
>>>
>>>
>>>
>>> On Thursday, November 28, 2019 at 4:36:12 PM UTC+2, ILYA Khlopotov
>wrote:
>>>>
>>>> Hello, 
>>>>
>>>> I am trying to make an edition which would include a set of plugins
>and 
>>>> few custom tiddlers. This edition need to be exported as a web
>site. 
>>>> The website should act as read-only tiddlywiki. I.e. search and all
>
>>>> included Javascript should continue to work. The exported site
>should have 
>>>> index.html (which would contain all system tiddlers) and a set of
>separate 
>>>> html files for non system tiddlers. All tiddlers from separate
>files need 
>>>> to be accessible from index.html.  
>>>> Ideally I want to achieve that via tiddlywiki.info file without
>extra 
>>>> scripts.
>>>> I know it should be possible but I cannot understand how to make it
>work.
>>>> I found few examples but they don't do what I need:
>>>> - "--rendertiddler","$:/core/save/all","index.html","text/plain"]
>--- 
>>>> renders everything into a single file
>-"--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain"
>
>>>> --- produces noJS version of wiki I would like to avoid modifying
>all my 
>>>> tiddlers. I tried exporting using $:/core/save/empty but I don't
>know 
>>>> how to refer to other tiddlers (exported in html format) in
>output/static 
>>>> directory. I included the content of tiddlywiki.info in the
>attachment. 
>>>>
>>>> Any hints or examples of doing something like this?
>>>>
>>>> Best regards,
>>>> ILYA
>>>>
>>>> -- 
>>> 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 view this discussion on the web visit 
>>>
>https://groups.google.com/d/msgid/tiddlywikidev/1253387f-4f3c-4adf-9179-5fd31277cf4d%40googlegroups.com
>
>>>
><https://groups.google.com/d/msgid/tiddlywikidev/1253387f-4f3c-4adf-9179-5fd31277cf4d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>
>-- 
>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 view this discussion on the web visit
>https://groups.google.com/d/msgid/tiddlywikidev/6c62f878-25c8-4233-aa9c-1fc37d67f8c5%40googlegroups.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/DC67372D-F4C8-4809-BCB6-D4184409A715%40gmail.com.

Reply via email to