[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread TW Tones
I have a solution that I will publish if there is a demand. - A view template that appears on the $:/Import tiddler when it has the field status = complete - The ability to save (rename as this tiddler has the created/modified date of the import) this to a date/time titled

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Mat
Also this might be of interest: https://github.com/Jermolene/TiddlyWiki5/issues/1554 <:-) -- 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

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Eric Shulman
Combining my "fixup" button solution with Saq's idea about getting the links directly from the $:/Import tiddler, gives the following: <$button> set missing created/modified fields <$list filter="[[$:/Import]links[]!has[created]]"> <$action-setfield created=<> modified=< > /> -e -- You

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread TW Tones
Josua, Remember that tiddlers you may import, or other files may bring created or modified dates with them. These dates can be meaningful so I recommend against changing them. I am building additional import tools but they are not ready yet, however post import you get a list of imported

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Joshua Baller
On Monday, July 20, 2020 at 1:05:05 PM UTC-5, Saq Imtiaz wrote: > > @Joshua > > One other thought I had was to parse the $:/Import tiddler for a more >> targeted list of tiddlers to modify, but I can't think of a straight >> forward way of doing that. >> > > [[$:/Import]links[]] > > Beautiful,

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Saq Imtiaz
Potentially this thread might be of interest as well: https://groups.google.com/forum/?oldui=1#!starred/tiddlywiki/GG3dqXkQWTw -- 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

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Saq Imtiaz
@Joshua One other thought I had was to parse the $:/Import tiddler for a more > targeted list of tiddlers to modify, but I can't think of a straight > forward way of doing that. > [[$:/Import]links[]] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Joshua Baller
> > While it might seem to you to be the expected behavior, importing > tiddlers will NEVER add or alter any fields in the incoming tiddlers. This > is by design, since there may be unwanted side-effects of changing the > tiddler definitions, even if it is just to add a "created" or

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 9:39:00 AM UTC-7, Joshua Baller wrote: > > I have a wiki (5.1.22) that is partly updated through importing large sets > (1000s) of tiddlers from a few JSON files on an approx. weekly basis > (knowledge base, the information is being maintained and updated on a >