Hi All,
Can we get the page content as plain text using CLI or by other means .
I tried below commands,
./confluence.sh --action renderPage --space "spacename" --title "This is title 1" --> this page as html
./confluence.sh -a getPageSource --space spacename --title "This is title 1"
Both does not not suffice the requirements.
Any suggestions will be apprecieated.
Thanks,
Aravind
Confluence 4.x and above no longer has plain text source. Data is stored as XHTML. So, no, there is no way to retrieve plain text using the CLI. If you really need wiki back, you can use the wikifier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, there is not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was trying to export the spaces as html , XML using below commands
./confluence.sh --action exportSpace --space "zconfluencecliTarget" --file "target/output/confluencecli/export.html" --exportType "HTML"
./confluence.sh --action exportSpace --space "zconfluencecliTarget" --file "target/output/confluencecli/export.xml"
but the output html, XML has unicode charecters instead of text, Any idea why it happens
Also this is not seen when i try exporting this as pdf .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was trying to use below commands to export the spaces as html, XML , but output generated has some encoding issues , the charecters are not displayed properly ,
./confluence.sh --action exportSpace --space "zconfluencecliTarget" --file "target/output/confluencecli/export.html" --exportType "HTML"
./confluence.sh --action exportSpace --space "zconfluencecliTarget" --file "target/output/confluencecli/export.xml"
any idea why it happens ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may need to open an issue so you can provide more details. You may need to specify the encoding parameter to match your Confluence setting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For instance, if your Confluence is UTF8, then try --encoding UTF8
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.