Yinjin, When you add ?XML to the end of a url you adding an extra URL parameter this works when there are no other parameters in the url string (i.e. there already exists an ? in the url string). In this case you need to add &XML to the end of the parameter. The ? character says starts a set of parameters and the & character separates each name value pair.
Thus, If you want to pass P1, P2, and P3 in a url string you encode it as: "?P1=value&P2=value&P3=value". To add an additional parameter you just add "&P4=value". Scott-- On Jan 17, 2008, at 11:23 AM, yinjin wrote: > Hi Dorothea, > > Thanks for the quick response. > > >>> 1. I want to put a PDF link in the itemSummaryList page for quick >>> access. >>> In >>> DIM-Handler.xsl, I simply copied the lines from itemSummaryView to >>> itemSummaryList: >> >> You may have to do some fairly extensive XSLT work to make this >> happen, but it should be possible. The full METS information for the >> item is in the DRI. To get an idea of what you need to pull out for >> display, go to one of the browse pages and append ?XML to the URL. I >> do believe that the structure is quite a bit different for browse >> pages and item-display pages. > > This is where I get the problem. When I append ?XML for a browse > page, it > will throw an error: > org.dspace.browse.BrowseException: There is no browse index of the > type: > dateissued?XML. > > Seems like before cocoon catches the ?XML pattern, the URL has been > interpreted as "browsed by dateissued?XML" > For the search result page, instead of providing the mets > information for > each item displayed, the DRI gives the information as if I'm > searching for > "XML". > > All I need to find out is what METS looks like for browse pages. > >> >> Off the top of my head, what you'll have to do instead of copying >> over >> the code you copied is look for the template with the >> "itemSummaryList-DIM" mode, and alter that to do what you want. I >> haven't yet looked for it, so I don't know how much work that will >> be. >> >> What are you planning to do for items that have more than one >> bitstream? Does that not happen in the collection you're designing >> for? > > Yes. I have one PDF for each submission. > > Thanks again for the help, > Ying > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

