On Thu, Sep 19, 2013 at 02:02:10PM -0300, Emiliano Gianetto wrote: > Helix,We are just two university partners so it should be a really > simple recommendation addon. We already have a repository with some > data, and the idea is that once you start looking into this items, the > addon should display some recommendations as a list in some GUI place > (we prefer the XMLUI interface). This recommendations will be based on > some algorithms (which could be a Social Information Filtering > Algorithm, an Item-Based Top-N Algorithm, etc).We are trying to make a > separated addon, and then use some dspace framework's hotspot to > connect it.
That sounds to me like an Aspect to compute the list and add it to the developing intermediate document, and some new XSL-T code in the theme(s) to pick up the list and lay it out on the page. It also takes a line or two of configuration to include a new class in the Aspect chain. May I suggest reading: https://wiki.duraspace.org/display/DSDOC3x/XMLUI+Configuration+and+Customization to start. The way DSpace is currently deployed is oriented strongly toward rebuilding DSpace to compile new features into an installation kit for installation/updating, rather than separate drop-in feature kits. You can just drop additional JARs into [dspace]/webapps/xmlui/WEB-INF/lib, but the next update ("ant update") will lose them (or, rather push them aside to [dspace]webapps.bak-NNNNNNNNNN/xmlui/WEB-INF/lib). Theme files are underneath webapps/xmlui, so they get moved with everything else, meaning that changes made outside of [dspace-source] will be pushed aside. Configuration edits have to be done by hand, but won't be disturbed by "ant update". The user may have to merge some changes by hand, though. See [DSpace-source]/dspace/target/dspace-VERSION-build/build.xml for the gory details. Note that "ant update -Doverwrite" changes the rules for what happens to your old configuration. All told, making a separate add-on for this kind of change involves a lot of re-customization after every DSpace update. -- Mark H. Wood, Lead System Programmer [email protected] Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
