• Community
  • Products
  • Confluence
  • Questions
  • Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

I am using confluence wsdl "https://portal.globallogic.com/confluence-staging/rpc/soap-axis/confluenceservice-v1?wsdl " to use its various methods in my application.

I need to display the recent updates which are shown in confluence. But unfortunately I am not able to see the web method for it.

Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

Thanks

Sonal

1 answer

1 accepted

Confluence renders the Recently Updated Macro to display that information, but it does not have an exposed stub in the WSDL.

In order to get the content, you would need to put the macro on a page and retrieve the rendered content of the page with the renderContent method. This will give you the raw HTML with the macro rendered that you can parse to retrieve the recently updated div. In Confluence 4.3.x, the default class for the div is recently-updated recently-updated-concise. If you are using another version, I recommend inspecting the div element in Confluence to double check.

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 Friday 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...

246 views 11 9
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