-
I found when using nodejs wiki, exporting HTML using this button will download a 15M HTML, which is what I need But exporting HTML in the nodejs server-side will result in 250M+ HTML containing large PDF that I drag&drop to it. How can I export HTML while excluding those large files? Only via modifying the export template? Additional ContextI want to export HTML and send it to the mobile client, because I need The filter I used for normal tiddler sync `[all[]] :filter[get[modified]compare:date:gt[${lastSync ?? ''}]]` won't work for plugin that is older than the time I have a clue, which template does
use? I can use that template to save HTML, to get a HTML that is the same size as the one on the browser. I'm using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @linonetwo I think you'll have to define a custom export filter that excludes the PDF files, if that makes sense? |
Beta Was this translation helpful? Give feedback.
-
Just use lazy-image template, it will filter out PDFs. The server side rendering code is very simple, just core/modules/server/routes/get-index.js
|
Beta Was this translation helpful? Give feedback.
Just use lazy-image template, it will filter out PDFs.
The server side rendering code is very simple, just core/modules/server/routes/get-index.js