AutoExport support for Confluence 5.5 (modify confluenceUri)

We use AutoExport forked by skeary-immt/confluence-autoexport-plugin which forked from atllassian labs since confluence 5.5 is not supported yet.

When will it be supported for Confluence 5.5 ?

In a former version we were able to provide a custom stylesheet tag with an relative uri which is now replaced by the confluenceUri.

Is it possible to change the confluence url via the provided template ?

I tried the following:

##
#set ($siteroot = "")
##

or

## #set ($confluenceUri= "") ##

but href attribute always gets overwritten with the confluence url, so our automatic export to the http server won't work again, because we will have to search replace the url.

Our template:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <HEAD>
    <META http-equiv="pragma" content="no-cache">
    <META http-equiv="cache-control" content="no-cache">
    <META http-equiv="expires" content="0">
    <LINK type="text/css" rel="stylesheet" href="resources/space.css">
    <title>$page.title</title>
  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
  <body>
    <div id="PageContent">
      <div class="pagecontent">
        <div class="wiki-content">
          $body
        </div>
      </div>
    </div>
    <DIV class="footer">
      copyright 2014 by curecomp Software Services GmbH
    </DIV>
  </body>
</html>

produces:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
  <HEAD>
    <META http-equiv="pragma" content="no-cache">
    <META http-equiv="cache-control" content="no-cache">
    <META http-equiv="expires" content="0">
    <LINK type="text/css" rel="stylesheet" href="http://confluence.clevercure.com/pages/resources/space.css">
    <TITLE>Ablaufüberwachung</TITLE>
  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
  <BODY>
    <DIV id="PageContent">
      <DIV class="pagecontent">
        <DIV class="wiki-content">
....
        </DIV>
      </DIV>
    </DIV>
    <DIV class="footer">
      copyright 2014 by curecomp Software Services GmbH
    </DIV>
  </BODY>
</HTML>

 

1 answer

Seems nobody is interested on this ?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,770 views 26 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you