Does content in an iFrame get indexed by Confluence so that the contained text is searchable?

Jake Arenberg September 20, 2023

Hi,

I am working to move several hundred html files from two other platforms into Confluence. I know that I can just input the raw html into an HTML macro from the marketplace, but I'm not sure if the content of the HTML in an iFrame is indexed, and is therefore searchable from outside of that particular page. Currently, I have a convoluted process of using pandoc to convert all the HTML files into docx files, which I am then uploading one at a time to a recreated hierarchy in various Confluence spaces. Being able to upload the raw HTML will save some headaches on formatting issues that come up during the file conversion process, and would make the process easier for the hundreds of HTML files left to go. Being able to search for these uploaded pages is a required part of my project, and I cannot use an option that does not allow for the content of the HTML pages to be searched for.

Bonus points if anyone can confirm that WebDAV is an option! That would be much easier, as I could import the files in bulk instead of going one at a time.

This article in the KB seems to indicate that it is possible with Confluence Cloud. However, this article declares right at the top that it is not. I have not yet been able to successfully create a WebDAV using Windows or Cyberduck.

Thank you!

 

1 answer

1 accepted

1 vote
Answer accepted
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2023

Hi @Jake Arenberg ,

Indeed, content in iframes is NOT indexed for search in Confluence Cloud.

And WebDAV is also not supported.

You might be able to use the Confluence API to create the pages, as described here: https://medium.com/@abhishek67parmar/creating-a-confluence-page-with-rest-api-c2a8efc6f546

Jake Arenberg September 21, 2023

Hi Marc,

Thanks for the quick reply and straightforward answer on the indexing and WebDAV questions. Would you be able to point me towards more robust documentation around the Confluence cloud API? I think I will need a guide to the authentication part of the process as well as the page creation sample code in your linked article.

Thank you!

marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2023

I assume the process you want to execute is only run by you, and more or less once only.

For authentication you can generate an API token, and use it in all API calls.  That means all pages generated will have you as an author (see https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/ ).

API information with code examples is available here: https://developer.atlassian.com/cloud/confluence/rest/v1/intro/#about

Like Jake Arenberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events