プロジェクト

全般

プロフィール

Vote #62547

未完了

Function to export whole wiki

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Reopend
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
550
author_id:
112
assigned_to_id:
0
comments:
13
status_id:
8
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Reopend]

説明

Hi,

Exporting wiki pages (html ou pdf format) is great but a greater function would be to be able to export a whole wiki
(in html with links or even pdf with summary) or part of the wiki in one step.

For example, I find the wiki usefull for documentation purpose and I'd love to be able to generate a whole documentation
for offline reading in one step from my wiki.

Thanks.


journals

> I go on the first wiki page

You have to go the page index, not on the first page.
The link is located is the right sidebar ('Index by title' in
english). And then click export to html.
--------------------------------------------------------------------------------
It's not working, I go on the first wiki page, click on export
HTML and I get only the first page and not the others, links
are good (they are relative to pages at the same level of the
file) but the others pages are not exported
--------------------------------------------------------------------------------
Even if it's not perfect, it's already possible.
Go to the page index of your wiki, and click 'export to html'
at the very end of the index. You will get all of the pages of
the wiki in one html file. Wiki links are preserved and point
to the right place in the html file.
If you have any problem with this, please post a bug report.
--------------------------------------------------------------------------------
The described function works well, but only for the _whole_ wiki.

Lets assume we have some wiki pages that describe a system's functionality, some internal project pages, installation instructions and so on. Furthermore we have a wiki page as entry point for each of this _sections_. Each of this wiki pages containing a table of content.

Now we need to ship the specification of the functionality to our customer. How can i extract that specific pages only?

I think a new functionality to extract wiki pages depth first from a startpage (the displayed page) would be very helpful.

Additionally a pdf export as described in feature #401 would be great to perform this task. There would be no more need to convert files from html to pdf before shipping them off.

--------------------------------------------------------------------------------
I have an image attached to a wiki and displayed inside the wiki that does not export. Bummer.
--------------------------------------------------------------------------------
We added image support to the export functionality. All images are added as base64 encoded images in the exported html file, so no external image resources are needed.

The patch solves this problem.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I see the patch to export images was submitted about 2 years ago but when I just tried to export my wiki as an HTML file it is missing the images still. What that patch never accepted? Or do the images need to be a specific format. Mine are PNG files.

I also agree that an option to export into PDF would be excellent. as per #401

Cheers

D
--------------------------------------------------------------------------------
When I click on the index by title or index by date to go to the index page, there is NO 'export to HTML' link or option! Has that functionality actually been removed?
--------------------------------------------------------------------------------
Stephen Heidt wrote:
> When I click on the index by title or index by date to go to the index page, there is NO 'export to HTML' link or option! Has that functionality actually been removed?

Not that I remember. Are you sure the user's role actually has the required @Export wiki pages@ [[RedmineRoles#Permissions|permission]] on the specific project?
--------------------------------------------------------------------------------
Mischa The Evil wrote:
> Not that I remember. Are you sure the user's role actually has the required @Export wiki pages@ [[RedmineRoles#Permissions|permission]] on the specific project?

Sorry for the confusion. It was a permission issue. I thought the user rights were set up, but they weren't set to allow the export. Thanks for the quick response!
--------------------------------------------------------------------------------
This is the original patch, but adapted to Redmine 2.5.6 release. I'm testing it right now, and it seems working ok:
* in inline Wiki pages, image attachments are normal links
* on exported Wiki pages, they are base64 data embedded

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,13051,Support any macro in (pdf) export for wiki's and issues
relates,Closed,20910,Hierarchy in TOC is not preserved when Wiki index is exported to HTML

Admin Redmine さんがほぼ2年前に更新

  • カテゴリWiki_1 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0