Re: [Dspace-tech] Σχετ: url redirection on view/ open for an item

2013-07-18 Thread helix84
-tech dspace-tech@lists.sourceforge.net Στάλθηκε: 6:15 π.μ. Τετάρτη, 17 Ιουλίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/ open for an item On Wed, Jul 17, 2013 at 3:01 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: You are right . I am using it in multiple places . What i

Re: [Dspace-tech] Σχετ: url redirection on view/ open for an item

2013-07-18 Thread helix84
Απο: helix84 heli...@centrum.sk Προς: Μάριος Πετρόπουλος acid...@yahoo.gr Κοιν.: dspace-tech dspace-tech@lists.sourceforge.net Στάλθηκε: 1:14 π.μ. Πέμπτη, 18 Ιουλίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/ open for an item Isn't that what I did in the last example

Re: [Dspace-tech] Σχετ: url redirection on view/ open for an item

2013-07-17 Thread helix84
On Wed, Jul 17, 2013 at 1:48 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: Well , Thank you so much !! It worked fine !! I have 2 more questions though. 1) Is it possible to pass (in our example) the : http://yourapp.com/path/ as a parameter into a variable ,so to run instantly, when

Re: [Dspace-tech] Σχετ: url redirection on view/ open for an item

2013-07-17 Thread helix84
On Wed, Jul 17, 2013 at 3:01 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: You are right . I am using it in multiple places . What i meant was to store each time the servers url to a variable and then place it to the actual link command line . For example xsl:value-of

Re: [Dspace-tech] Σχετ: url redirection on view/open for an item

2013-06-25 Thread helix84
Thanks, it's clear now. Instead of the xsl:template match=mets:fileGrp[@USE='CONTENT'] template, you should override the xsl:template match=mets:file template. The only thing you need to change in that template is the value of href attribute as you can see below. For clarity, I added the $baseurl

Re: [Dspace-tech] Σχετ: url redirection on view/open for an item

2013-06-25 Thread helix84
By the way, once you get that working, you may want to urlencode the bitstream URL before you add it as parameter to the URL, for two reasons 1) if the filename itself contains non-ascii characters and 2) to prevent the ?sequence=1 parameter from causing problems. Here is one suggested solution:

Re: [Dspace-tech] Σχετ: url redirection on view/open for an item

2013-06-24 Thread helix84
Hi Marios, I don't really understand your question. What do you mean by application? Do you mean a desktop application from which you're trying to access the DSpace data? Or a web application? Or just a XMLUI theme? Please, provide as much detail as you can. Regards, ~~helix84 Compulsory

[Dspace-tech] Σχετ: url redirection on view/open for an item

2012-04-23 Thread Μάριος Πετρόπουλος
Thank you very much for your answer but still it seems that it doesn't work for me. although i made these steps, i get an error (java.io.FileNotFoundException:). Furthermore, i tried to modify the templates in one of the excisting themes ( basically i did the customization step in the kubrick

Re: [Dspace-tech] Σχετ: url redirection on view/open for an item

2012-04-23 Thread helix84
2012/4/24 Μάριος Πετρόπουλος acid...@yahoo.gr: Thank you very much for your answer but still it seems that it doesn't work for me. although i made these steps, i get an error (java.io.FileNotFoundException:). There's more information in the stack trace - you'll see which file exactly is