Import html folder to Confluence

YouKnowWho November 6, 2014

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
Gorka Puente _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 6, 2014

You could try this

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

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

2 votes
Gorka Puente _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 6, 2014

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

Andy Brook
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2014

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.

0 votes
YouKnowWho November 11, 2014

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

Kimberly Giere April 27, 2022

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.

0 votes
YouKnowWho November 7, 2014

I don't know how can i run this project

Gorka Puente _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 7, 2014

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

0 votes
YouKnowWho November 6, 2014

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
AUG Leaders

Atlassian Community Events