Modify ↓
Opened 21 months ago
Closed 20 months ago
#9199 closed enhancement (fixed)
enable footer with wiki page version and datestamp in ODT export
| Reported by: | dkgdkg | Owned by: | abompard |
|---|---|---|---|
| Priority: | normal | Component: | OdtExportPlugin |
| Severity: | normal | Keywords: | patch |
| Cc: | Trac Release: | 0.11 |
Description
Thanks for the OdtExportPlugin! It would be really useful to be able to automatically include a footer which has the wiki page name, version and a timestamp in it.
So if i'm visiting http://trac.example/wiki/SomePage, and there are 4 entries in the page history, there would be a footer on each page that says something like:
SomePage v.4 2011-09-22 22:03-0400
Attachments (1)
Change History (5)
comment:1 Changed 21 months ago by dkgdkg
- Keywords patch added
comment:2 Changed 20 months ago by dkgdkg
any thoughts about this patch?
comment:3 Changed 20 months ago by abompard
- Status changed from new to assigned
Patch merged in r10787, sorry for the long delay. Can you please test that it still works for you ?
Thanks for your contribution and your patience.
comment:4 Changed 20 months ago by dkgdkg
- Resolution set to fixed
- Status changed from assigned to closed
Yep, it appears to work for me. thanks for the merge, this is great!
Note: See
TracTickets for help on using
tickets.


Alternately, i can imagine adding three new keywords:
and then leave it to the site administrator to decide how/where to place them. I'll attach a patch that takes this approach. I offer it under the same license as the rest of the module, if you want it. I'm currently using it and it works well.
I applied these keywords to styles.xml as well as to content.xml because page footers are in styles (at least in the ODT generated by libreoffice 3.4.3 that i'm working with).