Re: Load external tiddlers lazily

53 views
Skip to first unread message

andrew.j.harrison84

unread,
Mar 29, 2012, 7:35:51 PM3/29/12
to tiddly...@googlegroups.com

Ok, maybe this would be a better question for dev group? I am trying to start up with default tiddlers and then lazily load everthing else from external tiddler files. Anyone?

On Mar 2, 2012 6:30 AM, "andrew.j.harrison84" <andrew.j....@gmail.com> wrote:

Ok, I'm once again trying to incorporate external word documents as searchable tiddler content. IncludePlugin is great if I save as html and then copy everything in the body and put between <html></html> tags and then export it, but when I try to load 250 external tiddler files it takes a really long time to display. Is there a way to flush the buffers just after the defaultTiddlers and then load the rest lazily? Maybe there is a better way? It has to end up searchable so iframe isn't an option. Maybe putting something like <?php flush(); ?> somewhere? I was hoping Tiddlywiki5 could solve my problem?

Alex Hough

unread,
Mar 30, 2012, 2:24:22 PM3/30/12
to tiddly...@googlegroups.com
have you tried this
:http://tiddlywiki.abego-software.de/#[[IncludePlugin%20Documentation]]


ALex


On 30 March 2012 00:35, andrew.j.harrison84

> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To post to this group, send email to tiddly...@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywikide...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywikidev?hl=en.

Tobias Beer

unread,
Mar 31, 2012, 4:40:15 AM3/31/12
to tiddly...@googlegroups.com
I guess I can't give you a satisfying answer. You seem to have two fundamentally conflicting goals:

1) loading tiddlers lazily
2) searching all content, including lazy loaded stuff... which is not possible in a client-only environment.

So, to me, your technological concept is a bit shaky...

# convert word to html which
#* gives you the most uggly and bloated html representation I can think of
#* presumably discards resources (like images or OLE objects) and complex elements like shapes or footnotes

So my question to you is: Why do you want or need to embed all those documents? Only to search their contents? You can do just as well in your OS while only keeping important meta-information about each file in TiddlyWiki. You wont be able to edit anything between those html tags anyways. Is the single file approach this important to you here?

Tobias.

andrew.j.harrison84

unread,
Apr 2, 2012, 9:31:48 AM4/2/12
to tiddly...@googlegroups.com

It takes a good 20 seconds to open each one of my 400 stupid word documents and then I cant easily search the contents. I want the content to be available in my tiddlywiki but after I get about a third of the way through with copy and reformat, someone has changed the content of some of them. It takes so long to reformat.I feel like I am spinning my wheels. I want to get ahead of the game and somehow make the nightmare end. Now saving them as external html documents has got me thinking. I just need to figure out how to include these converted html documents as tiddler content?

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywikidev/-/MwEXs2K-c8wJ.

andrew.j.harrison84

unread,
Apr 2, 2012, 9:37:24 AM4/2/12
to tiddly...@googlegroups.com

Actually I could keep up with all of changes if I had a way of comparing 2 tiddlers and having it tell me what content has changed.

andrew.j.harrison84

unread,
Apr 2, 2012, 9:50:29 AM4/2/12
to tiddly...@googlegroups.com

Enter new problem.. Now we are converting all these stupid word documents to stupid pdf files. Does anyone sense a common stupid theme here. 15 years ago I worked for a computer company that had the right idea of everything to the internet. Make things easier not harder. I miss that job it was hard but at least I wasn't required to learn 5000 pages of ever changing procedures.

Tobias Beer

unread,
Apr 2, 2012, 5:32:16 PM4/2/12
to tiddly...@googlegroups.com
Some more questions...

1) Is it possible for you to use indexing software instead providing search within word documents or pdf's?
2) In your workflow... who generates those html exports for the word documents?
3) Are you actually required to review and manage those documents? If yes, what is the purpose of such constant reviews of word documents? If you need an official review process, you should use the tools already provided with Microsoft Office that are designed for this purpose.

Unless you can convert your team to use any wiki - other than sharepoint - to begin with, I would say you're pretty much doomed to live the Microsoft nightmare.

Tobias.

akira d ev

unread,
Apr 2, 2012, 6:05:45 PM4/2/12
to tiddly...@googlegroups.com

I did contract work writing tech pubs for the DoD and they do the same painstaking process! There are many different approaches but people don't seem comfortable with learning....

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywikidev/-/Py15WaHhQYUJ.

Bauwe Bijl

unread,
Apr 3, 2012, 3:59:54 AM4/3/12
to TiddlyWikiDev
You might use the AttachFilePlugin for this type if content (.doc):

AttachFilePlugin reads binary data from locally-stored files (e.g.,
images, PDFs, mp3's, etc.) and converts it to base64-encoded text that
is stored in tiddlers tagged withattachment.
AttachFilePluginFormatters allows you to use those tiddlers in place
of the external path/file references that are normally part of the
image and external links wiki syntax.

http://tiddlytools.com/#AttachFilePackage

I'm not sure about lazy loading. However when all docs are attached
and spread across more smaller tw's you can on-demand load the tw's
with the IncludePlugin.

Bauwe

akira d ev

unread,
Apr 2, 2012, 11:50:16 AM4/2/12
to tiddly...@googlegroups.com
Take a look at this setup. Its a mod i was testing to enhance the amount of open space avail to web pages. play the zoom in/out on your kyboard to see how  much reality is not utilized. this may help you find a path to solve your question.

My end goal for this is to make  3d structures with webpages as the building block. this would allow you to surf or browse with a touch screen and twist the object structures around and as each webpage in the sructure comes to the users focus its expanded then deflated and so on and on both fwd and reverse depending on the user action. The shear benifit or modeling a system like this is the ease in visual data analysis. The object structure in mind is the DHelix. The shape  structure lets  web pages have a front and back like paper. Pages can be viewed simultaneously because the Helix design. This example attached is far from the  design I want ant with new html5 css I am looking  for possible pieces that will assist. 

akira
TorchMod4.html
Reply all
Reply to author
Forward
0 new messages