vimfluence
vimfluence copied to clipboard
confluence 4.0 not supported
vimfluence seemingly does not support confluence 4.0
I tried replacing the externals dir with 'confluence-cli-2.3.0-SNAPSHOT-distribution.zip', making a few path changes here and there.
https://bitbucket.org/bob_swift/confluence-cli/downloads/confluence-cli-2.3.0-SNAPSHOT-distribution.zip
It seems the getPage/getPageSource returns the HTML instead of text in confluence 4
anything I can test?
diff:
@@ -130,7 +131,7 @@ sub run_cmd { my ($params) = @;
my $cmd = "java -jar ""
- . confluence_path . "/release/confluence-cli-1.5.0.jar" "
- . confluence_path . "/lib/confluence-cli-2.3.0-SNAPSHOT.jar" " . join(" ", @$params); open my $fh, $cmd . "|" or die "Couldn't execute confluence cli script: '$cmd'\n"; @@ -149,7 +150,7 @@ sub fetch_page { my ($space, $title) = @_;
my $cmd = [ @{$self->{common_params}}
-
, '-a' => 'getSource'
-
, '-a' => 'getPageSource' , '--space' => $space , '--title' => "\"$title\"" ];
I believe in Confluence 4.0 Atlassian removed direct access to the wiki markup pages forcing to use their rich text editor (which isn't as good IMO). To my knowledge there's not much we can about this.
:-(