Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page not found on confluence #10

Open
sbernhard opened this issue Jan 15, 2019 · 2 comments
Open

Page not found on confluence #10

sbernhard opened this issue Jan 15, 2019 · 2 comments
Labels
question Further information is requested

Comments

@sbernhard
Copy link

sbernhard commented Jan 15, 2019

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
Copy link
Contributor

marevol commented Jan 15, 2019

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

@marevol marevol added the question Further information is requested label Jan 15, 2019
@sbernhard
Copy link
Author

Thank you very much! works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants