Tony
GO FOR IT ! !
Hey, I was IT. Life interrupted but I am trying to get back to the project I started along time ago. First drafts and notes scattered all over. Wish I'd had TiddlyWiki back then to keep track of everything.
--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/29761c36-7cb5-4aff-b629-7e740cee208c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is there code in the core already to make static pages? Or only in the node version?
[...] pre-generate static HTML representations of every combination of sorting for the table, and then construct links between them. So, if the initial rendering is ordered by first name, and the user clicks on the column for the second name, they would actually be navigating to a different rendering of the data sorted by second name.
One aspect that particularly interests me is the production of redundant static pages to reproduce the functionality of a dynamic experience. For example, consider a table of a few columns of data that we’d like to publish such that the user can click on a column heading to sort by it. The usual approach would be a small JS plugin that rearranges the DOM when the column header is clicked. Instead, we could pre-generate static HTML representations of every combination of sorting for the table, and then construct links between them. So, if the initial rendering is ordered by first name, and the user clicks on the column for the second name, they would actually be navigating to a different rendering of the data sorted by second name.
The thing with redundant copies is, wouldn't the user have to use the back key? Or a "return" link? And how would you hide those redundant copies?
-- Mark
On Friday, May 25, 2018 at 9:58:47 AM UTC-7, Mat wrote:Jeremy Ruston wrote:[...] pre-generate static HTML representations of every combination of sorting for the table, and then construct links between them. So, if the initial rendering is ordered by first name, and the user clicks on the column for the second name, they would actually be navigating to a different rendering of the data sorted by second name.Redundant copies, covering every output case? Now that idea was unexpected.Might CSS ordering be an option? https://www.w3schools.com/cssref/css3_pr_order.asp<:-)
--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fae86f7f-05de-4bc3-a5e8-4880af7d5746%40googlegroups.com.
I can see that Epub3 format can execute also scripts in JS subfolder.
Why is not technically possible to write JS code in some tiddler belonging to epub project and appending references to it in the final html pages? There's some design constraint?
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8aae62a1-c840-442a-bd91-ffc8775fe4b9%40googlegroups.com.
What you propose would be very helpful, however I was thinking it may be quicker and easier to hand the creation of the alternate static views to the user, but provide a way to "overlay them" in a dynamic design so that they appear in the static HTML output. This would possibly empower additional dynamic experience emulation.I'm thinking for example a list field on a tiddler indicating the 3 tiddlers representing the different sort orders.Even simply cloning the sort-able tiddler for each sorted result (change sort filter) and altering the headings to refer to each sort view, all we need is for the generation of static HTML to recognise these and only display the currently selected "view".I suppose I am interested in generalising as much as possible any solution.
--RegardsTony
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e7adc409-5ea5-4277-a93d-262d818b8e47%40googlegroups.com.
Another thought about EPUBs--those that use public domain materials and have open licenses, of which there are a lot--is to deconstruct them into TW. The advantage of E-book is often a lot of care went into the logical design. So, in some ways, they can be better than raw Gutenberg et al as sources.
The other part is, of course, ability to edit freely once in TW. For some kinds of project, like studying Dickens in detail, you need to do a lot more than bookmark. TW has all that is needed.
ONE issue with TW does remain scalability. A biggish book can kinda work so long as you chunk it into substantial chunks. But most detailed commentary needs paragraph-level chunks. TW kind starts grinding to a halt on that for full length novels.
Just thoughts
Josiah