A user uploads an attachment to a page. I intercept the event, extract the contents of the attachment and do stuff with the text.
I dont want to implement the whole attachment type recognition and text extraction by myself, as confluence does this already.
Is there a possibility to get the extracted text from the confluence api? I mean, if you click on an attachment, confluence shows you the contents. There must be an api to retrieve the text.
Does anyone know how?
@OfficeConnector Team: please provide a Service that lets plugin developers get the extracted text of uploaded attachments. You have implemented this, you have the text in your hands, but then let it disappear in the depth of confluence.
I implemented a similar function on my own. See this post on how to use Apache POI to extract plain text of uploaded Attachments: https://answers.atlassian.com/questions/156739/how-to-get-apache-tika-poi-to-work-in-confluence-plugin
Please have a look at the images that I sent.
1st Image shows how the doc displays on a page.
2nd is the edit mode.
Also you can find some more info at https://confluence.atlassian.com/display/CONF41/Displaying+Office+Files+in+Confluence
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...
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!
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