codelibs / fess-ds-atlassian

DataStore Crawler for JIRA/Confluence
Apache License 2.0
7 stars 5 forks source link

Page not found on confluence #10

Open sbernhard opened 5 years ago

sbernhard commented 5 years ago

I have set url=content.view_url

The crawler works without an issue but it creates items like: https://confluence/spaces/SUPP/page/34803911

This page is unknown on our confluence as the URL is: https://confluence/pages/viewpage.action?pageId=34803911

Is it somehow possible to change the url format? Or do we need to configure something on the confluence server / install a plugin / ...

Thank you in advance.

marevol commented 5 years ago

You can use Groovy in Script. ex. url=content.view_url.replace('spaces/SUPP/page/', 'pages/viewpage.action?pageId=')

sbernhard commented 5 years ago

Thank you very much! works!