DITA structure is not the same as indicated in DITA Map

Issue #1 new
Roy Lu created an issue

Hi,

We are currently using Confluence 5.8.4. We tried to use this plugin to import your sample file and found out the pages were not organized as indicated in the DITA Map. Instead, the pages are organized alphabetically.

Do you have a timeline to fix this issue?

Thanks, Roy

Comments (5)

  1. TakashiI repo owner

    Thanks for using it. If DITA Map not exists, dita files are imported by folder structure.

    For example, Files in DITAFILES.ZIP like below will be imported.

    DITAFILES.ZIP
    ┣ a.dita
    ┣ b.dita
    ┣ c.dita
    ┣ d.dita
    ┗ e.dita
    

    But if a folder is exists as a layer, nothing will be imported.

    DITAFILES.ZIP
    ┗DITAFILES
      ┣ a.dita
      ┣ b.dita
      ┣ c.dita
      ┣ d.dita
      ┗ e.dita
    

    However, if dita file with the same name as folder exists, DITAFILES.dita and a-e.dita files will be imported.

    DITAFILES.ZIP
    ┣DITAFILES.dita
    ┗DITAFILES
      ┣ a.dita
      ┣ b.dita
      ┣ c.dita
      ┣ d.dita
      ┗ e.dita
    

    Sorry for confusing. Importing with DITA map is better way.

  2. Roy Lu reporter

    We did import with DITA map. However, after the import, the page order is different than the order in the DITA map. Could you please check?

  3. TakashiI repo owner

    Sorry to misunderstand. your mentioned bug is about order of pages.

    I check the method DitaFileset.importToPage()

    Certainly, in this method the position of the page is not explicitly specified.

    I will fix them with compatibility to Confluence 5.8.6.

  4. Log in to comment