I need to export a large number of pages from our Confluence wiki to HTML.
I've tried the Export to HTML option and this works fine .
I've even edited the Page Export Layout footer to add the company name etc.
My problem is I want to remove the 'Created by' and 'Last Modified' just below the page title.
Does anyone have any suggestions ?
If you are planning to import the exported pages to some other space, try changing it in the database straightaway after you import the html pages to that space. I think the CONTENT table has columns called CREATOR and LASTMODDATE, which you can set it to whatever you like (make it empty in your case) .
Even if you dont plan to import those pages to another space, you can still create a temporary space first, then do the database update like mentioned above and then export the pages back. Later on, you can delete the temporaray space if you want.
Thanks for the suggestion Yagnesh.
I couldn't find a way of doing what I wanted using the page templates in Confluence. I generated the HTML pages and then went through them in Notepad++ and manually removed the text I didn't want, not the best way to do it but it worked (and I must say the HTML is nicely formatted which made it easy)
If I have to do this on a regular basis I will probably write a PowerShell script to add/remove sections of the pages.
I know the templates are produced using Velocity but its a little complex for the occasional user to hack , maybe a simpler method of controlling the output format would be a good idea.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs