Simple Export, a getting started tiddler for creating custom export formats 
<https://groups.google.com/g/tiddlywiki/c/H-7cfnjO61U>

On Wednesday, September 21, 2022 at 1:57:37 PM UTC-3 Lucas Szybalski wrote:

> Hello,
> That works manually.
> but
> As I've described in the email, I need it done programmatically. 
>
>
> Thanks
> Lucas
>
>
> On Tue, Sep 20, 2022 at 3:47 PM Charlie Veniot <cj.v...@gmail.com> wrote:
>
>> Hello,
>>
>> Have you tried TiddlyWiki's HTML export? (image further below)
>>
>> If that doesn't do the trick, what is it that you are looking for? 
>>
>> If you want to create your own custom export, give me a couple of minutes 
>> and I'll post a simple export to get things started.
>>
>> On Tuesday, September 20, 2022 at 3:18:43 PM UTC-3 Lucas Szybalski wrote:
>>
>>> Hello,
>>> I wanted to export the tiddlers to html. I was looking for a way how. 
>>>
>>> 1. I've noticed that there is some kind of built-in API server. 
>>> https://tiddlywiki.com/#WebServer%20API
>>>
>>> 2. but I can't seem to be able to pull the json file either from there 
>>> or from my own wiki?
>>> [image: image.png]
>>>
>>>
>>> 3. The goals is for me to being able to export either final html like:
>>> [image: image.png]
>>> 4. or raw:
>>>   
>>> [image: image.png]
>>> 5. So I can later use a function to convert it to html?
>>>
>>>
>>> *I have access to a file as well, so if there is a command line tool 
>>> that does this, and I can import it from shell or python or node that would 
>>> be great.*
>>>
>>>
>>> 6. Am I correctly assuming that below Remarkable will do the job if I'm 
>>> able to get raw data? 
>>>
>>> (Sample code:
>>> const { Remarkable } = require('remarkable');
>>> let md = new Remarkable();
>>>
>>> function constructHtml(req) {
>>> let text = md.render(req);
>>> let response = {
>>> value: text
>>> }
>>> return response
>>> };
>>>
>>>
>>> 7. I'm getting below when I do get url from python which tells me I'm 
>>> doing it wrong.
>>> [image: image.png]
>>>
>>>
>>> Thanks
>>> Lucas
>>>
>>> -- 
>> 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/7b929afb-242d-4385-904e-2c06c7f7636fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/7b929afb-242d-4385-904e-2c06c7f7636fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> http://wwwhww.news/u/cwSNkeLNXf <http://lucasmanual.com/blog/>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d7a451d7-cfa2-4bdf-9c6c-b751f8319d76n%40googlegroups.com.

Reply via email to