I'm a complete newbie to the world of alfresco and am trying to write a web script that would communicate with mediaWiki via SOAP so that there would be a list of last 10 documents added on alfresco on wiki. Couls someone help me with some advice as to how to do this? Not looking for code, just for pointers
You'd probably have to create a new webservice in Alfresco - Create a javascript file that contains a lucene query that searches for documents by a date range….
You can specify what form the data gets returned in, but we just use xml and use freemarker to iterate over the lucene results set…
If you create the webservice as a 'get', then you should be able to just call the webservice from a URL from Mediawiki..
I'd suggest reading the wiki on webscripts, and then learning about Lucene searches - you can call lucene searches directly in the Alfresco GUI as admin, but the syntax for escaping quotes/slashes is a bit different so its a little fun