public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Confluence storage format
@ 2020-10-21 17:46 'Jerome' via pandoc-discuss
       [not found] ` <45a1b8ce-e545-407e-9f9f-ffbb71303b6dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: 'Jerome' via pandoc-discuss @ 2020-10-21 17:46 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 984 bytes --]

The Confluence cloud REST API uses a different format from the wiki markup 
(which is already supported using `-f jira` and `-t jira`). The format used 
internally and in the API is the "Confluence Storage Format", documented 
here: 
https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html. 
This isn't quite HTML, though somewhat close.

How difficult would it be to add support for this format for reading & 
writing? I can see that someone already put together a custom writer here:
https://github.com/jpbarrette/pandoc-confluence-writer

- Jerome

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/45a1b8ce-e545-407e-9f9f-ffbb71303b6dn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1355 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Confluence storage format
       [not found] ` <45a1b8ce-e545-407e-9f9f-ffbb71303b6dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-21 19:46   ` Albert Krewinkel
  0 siblings, 0 replies; 2+ messages in thread
From: Albert Krewinkel @ 2020-10-21 19:46 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

'Jerome' via pandoc-discuss writes:

> How difficult would it be to add support for this format for reading &
> writing? I can see that someone already put together a custom writer here:
> https://github.com/jpbarrette/pandoc-confluence-writer

I don't appreciate the intricacies of the format, so I find that
difficult to estimate. A rewrite of the existing Lua writer in Haskell
would be fairly easy in most parts, but I'm far less confident when it
comes to images and links.

The main difficulty thought is testing. Atlassian's systems seem to
change drastically between versions; in order to maintain such a writer,
one would need access to a Confluence version supporting this feature.

A custom writer seems like a fine solution for this format.

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-21 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 17:46 Confluence storage format 'Jerome' via pandoc-discuss
     [not found] ` <45a1b8ce-e545-407e-9f9f-ffbb71303b6dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-21 19:46   ` Albert Krewinkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).