Skip to content

confluence 4.0 not supported #5

@timesselens

Description

@timesselens

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\""
         ];
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions