Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import from Confluence #22038

Closed
ivptr opened this issue Dec 5, 2022 · 4 comments
Closed

Import from Confluence #22038

ivptr opened this issue Dec 5, 2022 · 4 comments
Labels
issue/workaround it is or has a workaround proposal/rejected We have reviewed the proposal but disagree in that it should not be implemented into Gitea. type/feature Completely new functionality. Can only be merged if feature freeze is not active.

Comments

@ivptr
Copy link

ivptr commented Dec 5, 2022

Feature Description

It would be nice to be able to import content from Confluence to Gitea Wiki.

@ivptr ivptr added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Dec 5, 2022
@lafriks
Copy link
Member

lafriks commented Dec 5, 2022

This should definitely be done using external tool. Our wiki uses markdown while confluence uses html with special tags for components

@silverwind
Copy link
Member

silverwind commented Dec 6, 2022

AFAIK, Confluence does support Markdown input but still converts everything to its homebrew HTML format when saving, so it's definitely not going to be easy to parse that.

@lafriks
Copy link
Member

lafriks commented Dec 6, 2022

I will close this as this should be done outside gitea and if there is no already available Golang library to convert confluence html to markdown I don't see this implemented

@lafriks lafriks added proposal/rejected We have reviewed the proposal but disagree in that it should not be implemented into Gitea. and removed type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Dec 6, 2022
@lafriks lafriks closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2022
@ivptr
Copy link
Author

ivptr commented Dec 22, 2022

Found PHP script to convert Confluence to Markdown and it seems to be working nice:
https://gist.github.com/grugnog/2e6ee420707a8196951956cf4dbf6e91

It creates Git repo having .md files in root directory and "files" directory containing images.

Those could be committed directly to repo.wiki.git.

Just need to be able to add images to Wiki first.

@lunny lunny added the issue/workaround it is or has a workaround label Dec 22, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/workaround it is or has a workaround proposal/rejected We have reviewed the proposal but disagree in that it should not be implemented into Gitea. type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

No branches or pull requests

4 participants