Menu

#598 Dynamic loading and wikitext project-files.

workingwiki
open
nobody
None
5
2014-09-12
2014-09-07
Anonymous
No

Hi Lee,

I have a small inconvenience. When I use a wikitext project-file on my page then all inner project-files would not be loaded unless the rest of the page is completely loaded. For example, when I have a part of my manuscript, then all figures inside the wikitext project-file will be loaded at latest.

Another thing, when I use your wrap-up "all-pngs" for my presentation, it creates a lot of dynamic view small windows like that: http://yushan.mcmaster.ca/theobio/akhmetzhanov/index.php/Taiwan14

Would it be Ok to try either to change the priority in dynamic loading or to make the internal part of the wikitext-files as static viewable?

Discussion

  • Andrei Akhmetzhanov

    Thank you in advance, Andrei

     
  • Lee Worden

    Lee Worden - 2014-09-09

    On 09/07/2014 03:58 AM, Ticket 598 wrote:

    Hi Lee,

    I have a small inconvenience. When I use a wikitext project-file on my
    page then all inner project-files would not be loaded unless the rest of
    the page is completely loaded. For example, when I have a part of my
    manuscript, then all figures inside the wikitext project-file will be
    loaded at latest.

    OK - I might be open to changing the order. There's an implicit
    expectation that make targets are done in order, from beginning to end
    of the page. When exactly should files within files be done? It's not
    entirely clear to me. But I think it's important to keep the same order
    when doing in dynamically as when doing it the older way. The older
    ways does files within files all together, after all the files in the
    page are done. Changing that would be kind of hard, and I'm not sure
    what I think is best. Would you like to say more about what you think
    would be best?

    Another thing, when I use your wrap-up "all-pngs" for my presentation,
    it creates a lot of dynamic view small windows like that:
    http://yushan.mcmaster.ca/theobio/akhmetzhanov/index.php/Taiwan14

    Would it be Ok to try either to change the priority in dynamic loading
    or to make the internal part of the wikitext-files as static viewable?

    Yes, the %.all-pngs.wikitext rule is pretty simplistic and could be
    improved. It just writes a .wikitext file full of project-file tags,
    which make and display the different pages of the document. We could
    write, maybe, a %.all-pngs.html rule that would actually make the .png
    files and produce html code with img tags displaying the png files.
    That would display them directly once the .html file is loaded.

     
  • Jonathan Dushoff

    I think that part of the problem is that this feels worse in the new (dynamic) version, although I'm not convinced that it is. I do kind of think that it makes sense to do "depth first"; more consistent with the logic of going straight down the page. That is, recurse within the files as you get to them.

     
    • Lee Worden

      Lee Worden - 2014-09-12

      On 09/11/2014 08:31 PM, Jonathan Dushoff wrote:

      I think that part of the problem is that this /feels/ worse in the new
      (dynamic) version, although I'm not convinced that it is. I do kind of
      think that it makes sense to do "depth first"; more consistent with the
      logic of going straight down the page. That is, recurse within the files
      as you get to them.

      I do think it seems reasonable in the dynamic loading - I'm concerned
      that it'll be hard to do in the non-dynamic code. But I should look and
      find out.

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.