Could you please provide me atlassian-bundled-plugins.zip. I need jar files for recent updates. I have to display the recent updates of confluence in my application. I tried various jar files but I could not find the relevant files containing the macros which will provide me the recent updates so that I can add them in my application. I downloaded following jar files:
confluence-dashboard-macros-4.2.6-m1
confluence-dashboard-macros-3.5.5
confluence-dashboard-macros-3.4.4
confluence-dashboard-macros-1.13.1
But I didnt find them of my use. Please provide me atlassian-bundled-plugins.zip for confluence 3.5.x version so that I can take the relevant jar to display the recent updates in my application.
Please open the below link:
I need all the files mentioned in this link i.e.
com.atlassian.confluence.plugins.macros.dashboard.recentupdates
Classes RecentlyUpdatedContentMacro RecentlyUpdatedContentService RecentlyUpdatedMacroParams RecentlyUpdatedMacroRequestParams RecentlyUpdatedMacroTabProvider RecentUpdate RecentUpdateGroup |
I have written a web method to get the recent feeds.
Thanks
Sonal
Finally. And how did you do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the Confluence Dashboard, there is an option named "Feed Builder"...There we can provide the options like type of content, spaces, sorted by etc. ...After providing these options, I clicked on create RSS Feed...It provides an URL providing all the recent feeds according to the specified options...This URL is used by us to read the data stream from it. And then we converted this data stream into a string and then a document object and retrieved the desired recent data from that .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah perfect. Nice one. Completely missed this option. Good Sonal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have taken the latest jar files but somehow the logic by which recent updates are coming is still not known...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sonal, are you listening to what we are saying? You need to download the source code of confluence to do it. I am still not able to figure out why you are talking about taking the class files from the jar files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it really needed for you to take class files and decompile them? Can't you use the source code? Anyway, if it is not working, can you explain what is the code that you are writing (paste the code) and what is the error you are getting.
Are you a writing a new plugin within confluence? I guess so, otherwise the code from Confluence is of no use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I am listening...thats why I mentioned that I have taken the jar files. I mentioned earlier as well that I need logic by which recent updates are coming on the confluence so that I can write my own method. By taking the class files, I decompiled them and tried to get the logic. But somehow it didnt help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No I m not writing a new plugin ..I am writing a new web method to display the recent updates...I am using the existing methods of confluence web service (https://portal.globallogic.com/confluence/rpc/soap-axis/confluenceservice-v1?wsdl) for this.
I take the various parameters like login token, space key, content type , modified etc. and then pass it to search method of this web service. But I am not getting the recent updates by this. I passed various search queries like :
(1){recently-updated:spaces=YOUR SPACE NAME|types=page,comment|width=100%}
(2){recently-updated:spaceKeys=INTR|contentTypes=page,blogpost,comment|width=100%|lastModified=emily.younger|contributor=sonal.aggarwal}
But I didnot get the results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sonal
As I can understand you are trying to use the SOAP methods of Confluence. It can only give the results that it is designed for (or coded for). if there are no existing SOAP interfaces of Confluence that gives this data, then you need to write a new SOAP method to give recent results,you have to do the following:
Btw, REST is recommended.
This is my understanding. Community can comment.
And on a side note, please post comments as 'comments' not as 'answers'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guess you are going slightly on the wrong path. If there are no exposed SOAP methods, you cannot just use the jar files from confluence to achieve this. Those plugins are supposed to be running inside the confluence, not outside.
If you were not able to find an existing SOAP interface, then you have to write a REST method yourself (in the form of a plugin) and expose this in Confluence and consume the same inside your application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ya I know that I need to write the method and use it. But still I need some logic which will be retrieving that recent updates data. As of now I dont know that logic. I tried the combination of various exposed web methods to get the recent data. But I could not. Thats why I was searching the existing macros/class files of confluence so that at least I can get the idea how they are retrieving or creating that recent updates data and I can use that logic to write my own method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, that makes sense. Why don't you download the Confluence source files itself by going to https://my.atlassian.com and check the code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for telling me. But I could not find atlassian-bundled-plugins.zip and following class files :
If you can help me, I will be thankful to you. Thanks Sonal Aggarwal |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Argh. They are in the download version, so you can extract them from there, and they're useless to you because they are compiled classes.
If you want to use them as example code, then you need to download the source, as Renjith suggests. When you compile that source, you end up with them amongst other things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is something wrong, your question has the labels for OnDemand and you are talking about jar files from bundled plugins? And also I am not sure what you are trying to achieve by opening up the bundled plugins zip file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Those are bundled in with the off-the-shelf distributions.
They aren't generally available separately because you should need them separately. You can just download the relevant versions of Confluence and find them inside there of course, but I'm curious to know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I am developing an application in which I have to display the recent updates data of confluence. I am using wsdl file "https://portal.globallogic.com/confluence-staging/rpc/soap-axis/confluenceservice-v1?wsdl" .But this wsdl file has not got any such web method exposed which can provide me the recent updates data. If you can help me know the way to get this data.
I was searching on internet there I came to know that we have got atlassian-bundled-plugins.zip file which contains "Update confluence-dashboard-macros-x.x.jar" which contains the mentioned class files to provide the recent updates data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's simply not going to help you. Whatever you're seeing in the wsdl is what is exposed by the SOAP interface. Trying to add classes from internal functions into your application is pointless because the functions are intended to be used inside Confluence. You still need to talk to the Confluence installation remotely.
If you want to display the recent updates in another application, then you need to get Confluence to expose them in a way the other application can understand, and if you can't find that in the SOAP, you probably need to write a plugin to do it. I'd forget SOAP though and do it with REST, as that's the direction Atlassian are taking. If you want to be really rough and do it without any coding, you could just scrape the html from the Confluence dashboard, but that really is a dirty fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.