dokuwiki-plugin-siteexport icon indicating copy to clipboard operation
dokuwiki-plugin-siteexport copied to clipboard

Linked pages are not exported

Open mairastorch opened this issue 10 years ago • 6 comments

I'm trying to export a full namespace. The pages in it, including its headpage, contain links to pages located outside the namespace, but they are not exported.

I've tried both namespace export options: all subnamespaces and specified depth, with the option Export Linked Pages enabled.

mairastorch avatar Jan 14 '15 18:01 mairastorch

You say the pages that are not exported are in a namespace in parallel or above the current one? These pages won't be exported. You could create a TOC that links all pages and export with the TOC file option.

gamma avatar Jan 15 '15 06:01 gamma

The pages are in a namespace above the current one.

Have I misunderstood the 'Export Linked Pages' option explanation in the readme file?

"Will export linked pages outside or even deeper of the defined namespace as well"

mairastorch avatar Jan 15 '15 12:01 mairastorch

Oh, there :) I'll check on that. Might be a regression.

gamma avatar Jan 15 '15 12:01 gamma

Hey there, some changes have been made. Can you please check if the problems still exist?

gamma avatar Aug 30 '16 08:08 gamma

Hey, @gamma. Unfortunately, I haven't used DokuWiki in a while, and I no longer have access to that instance...

mairastorch avatar Oct 08 '16 02:10 mairastorch

Hi @gamma and @mairastorch . I'm using for the first time this plugin with my dokuwiki documentation website. My goal is to export an HTML version of it in order to be able to provide a static "snapshot" (ie: no edition allowed) to my users.

All seems to be going fine and it's exporting the >1000 pages with the pictures and stuffs.

That said, when I open one of the html files in a browser (firefox here), the page displays correctly with the right CSS and stuffs, but the internal (meaning "a link to another page of my documentation") links are not working properly since when clicking on it, it does send me to the other page but sort of "refresh" the current page.

If I look into the HTML code of the exported page, all the internal links are pointing to the same page, ie: if I open the page "faq.html", any link to another page of my documentation are pointing to the very same page "faq.html".

Notes:

  • that it isn't the case for the link pointing to external pages which point correctly,
  • I'm using all the default options as far as I know,
  • it does look to be the same as reported here: https://www.dokuwiki.org/plugin:siteexport#missing_links

Infos:

  • Plugin version: 2016-08-30
  • Dokuwiki version: Release 2015-08-10a "Detritus"

Any hint ?

trebmuh avatar Oct 18 '16 09:10 trebmuh