Ticket #25 (new enhancement)
Opened 10 months ago
Ignore some content
|Reported by:||Matt||Owned by:|
It would be exceedingly useful to be able to tell the odt plugin to ignore some page content when rendering an ODT file.
The specific case I've hit on is that:
with the include plugin quite helpfully includes a "Read more..." link after the included text. This is entirely desirable when viewing the resulting page in a browser, but not at all what you want to see in a generated word processor document.
plugin:include does mark this with a CSS class, so in principle that should be a straightforward thing to look for and ignore when producing the ODT. And I suppose -- if and when I figure out enough about PHP, DokuWiki?, and plugin:odt -- I could special-case this in my own forked copy of plugin:odt.
But it seems like something that may be more generally useful, even if the only interface to it is by tweaking a data structure in a config file.
(I can probably arrange a modest bounty, if that would help this happen sooner. Setting priority to "major" as it's quite important to us, even if not to anyone else.)