Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,412
Community Members
 
Community Events
165
Community Groups

Import html folder to Confluence

Hello!

I generated sql table documentation using Red Gate SQL DOC and i save documentation as HTML.

How can i import this documentation in HTML to Confluence? Whether there are any plugin to importing HTML?

You know any idea, how can i resolve this problem?

PS: I can't save my documentation as WORD or PDF in SQL DOC, because description of my tables is generating as column name, but this is not true

5 answers

2 votes

You could try this

http://sourceforge.net/projects/h2c/

and let us know how it works (I've not tried it)

2 votes

Hi,

I'm not sure if you can automatically import (without programming) html, but you can create content from html (HTML for Confluence by @Bob Swift [Bob Swift Atlassian Add-ons]) or you can include html (HTML Include and replace macro by @Andy Brook [The Plugin People]).

Gorka

HTMLIR would only work if the files you have generated were exposed on a webserver, any relative urls etc to images would get rewritten to point to the server, so no copying needed.

Thanks for the commitment and willingness to help, but unfortunately it also does not solve my problem

I am also experiencing a problem launching htm documentation in Confluence.  Single static html pages are not formatted correctly but otherwise will launch from Confluence.  However, documentation that has several pages and and index.html as well as associated css will not launch.  Confluence doesn't seem to have a way for the attached index.html to see the other attached pages.  I have tried Bob Swift but that only supports single web pages too; not complex multi-page htm documentation as far as I can tell.

I don't know how can i run this project

If you download the project, you can see the following in the README file Install Python 2.6: Grab python-2.6.msi from 3rd party and install. Install lxml: Grab lxml-2.3.win32-py2.6.exe from 3rdParty and install it. Install libxml2: Grab libxml2-python-2.7.7.win32-py2.6.exe from 3rdParty and install. Install setuptools: Download http://peak.telecommunity.com/dist/ez_setup.py run ez_setup.py Install python-ntlm from 3rdParty: gzip -d python-ntlm.tar.gz tar xvf python-ntlm.tar cd python-ntlm sudo python setup.py install Install PyDAV from 3rdParty: gzip -d pydavclient-0.2.tar.gz tar xvf pydavclient-0.2.tar cd pydavclient-0.2 sudo python setup.py install How to use H2C: $ ./h2c.py Usage: h2c.py [action] [https://servername.com] [login] [password] [confluence-space] [action specific options...] Where [action] can be one of the following: * import - import content to confluence specify additional parameters: [confluence-space] [local-source] [working-directory] * export - export content from webdav/sharepoint specify additional parameters: [confluence-space] [remote-path] [exported-data] Example: ./htc.py import https://server.com user test spacename /source /converted Example: ./htc.py export https://server.com:8443 user test spacename /remote/directory

I saw this plugin, but the contents are placed pictures and I am afraid that the pictures would have to be added manually.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

738 views 5 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you