garlik-gag / dokuwiki-plugin-odt2dw

Import odt file in dokuwiki page
10 stars 10 forks source link

Is it possible to keep entries from the structured-data-plugin? #10

Open wytchmaster opened 9 years ago

wytchmaster commented 9 years ago

Normaly all content is replaced when importing a page. It would be nice to keep the content from the structured-data-plugin (https://www.dokuwiki.org/plugin:data). You just have to put all the content after the first line containing only four dashes (----). Is that possible?

garlik-gag commented 9 years ago

hi, when I code odt2dw, I need to create new page with odt, so I choose to replace, but it could be set as a choice (replace or append). I will take a look to add this feature.

It will be something to change on action.php => function _apply_result. Perhaps, first upload the page content (I need to see how), append the file content, than store.