[Dspace-tech] Need help regarding OpenURL and Dspace Options section customization

2013-01-14 Thread Lohit Valleru
Hello Everyone,

a) I need to modify Dspace options section to : involve a dropdown menu.

I have tried modifying the collections and communities list inside the body
- into a dropdown menu and it works perfectly. I wish to know, if i can
move the same division to Options sections ( instead of Body ).

In order to do the above : I have 2 options.

1. I can select the DRI community browser id from xsl and show it in
options sections, but I do not think that is possible, since the DRI
community browser division:  is generated within body in DRI. I do not
know, how can i move that division to options sections.

2. I have tried adding a separate java class file, which generates division
inside options( i took care of the xmap for the added java class file).
However, i could not generate a division. I could generate a list , a link
and others inside options ( with the above java file), but a division does
not seem to work inside options.

I wish I could generate the community browser division inside options,
instead of body - as this would drastically simplify the dropdown
generation.

Please do let me know, if there is anything that i need to do to make the
above implementation possible.

b ) Also, I have got a requirement to enable OpenURL with Dspace.

From the documentation, I understand that Dspace supports OpenURL, but I do
not have any idea about how to integrate OpenURL with Dspace.

I understand that we need a SFX server, but how do we link Dspace to the
SFX server? Please do let me know if anyone has worked on OpenURL
integration with Dspace.


Thank you

Lohit
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Need help regarding OpenURL and Dspace Options section customization

2013-01-14 Thread helix84
On Mon, Jan 14, 2013 at 6:05 PM, Lohit Valleru lohi...@gmail.com wrote:
 Hello Everyone,

 a) I need to modify Dspace options section to : involve a dropdown menu.

 I have tried modifying the collections and communities list inside the body
 - into a dropdown menu and it works perfectly. I wish to know, if i can move
 the same division to Options sections ( instead of Body ).

 In order to do the above : I have 2 options.

 1. I can select the DRI community browser id from xsl and show it in options
 sections, but I do not think that is possible, since the DRI community
 browser division:  is generated within body in DRI. I do not know, how can i
 move that division to options sections.

 2. I have tried adding a separate java class file, which generates division
 inside options( i took care of the xmap for the added java class file).
 However, i could not generate a division. I could generate a list , a link
 and others inside options ( with the above java file), but a division does
 not seem to work inside options.

 I wish I could generate the community browser division inside options,
 instead of body - as this would drastically simplify the dropdown
 generation.

 Please do let me know, if there is anything that i need to do to make the
 above implementation possible.

Before we start with more difficult stuff, let me suggest a simple
solution first. Why not generate the content in body, where you
already have it working, but wrap it within a xsl:variable. Then you
can simply render that variable in one of the templates processing the
options section.

It should be that simple. But should you require more help, don't
forget to include your DSpace version, XMLUI theme and whether you
have Discovery enabled.

 b ) Also, I have got a requirement to enable OpenURL with Dspace.

 From the documentation, I understand that Dspace supports OpenURL, but I do
 not have any idea about how to integrate OpenURL with Dspace.

 I understand that we need a SFX server, but how do we link Dspace to the SFX
 server? Please do let me know if anyone has worked on OpenURL integration
 with Dspace.

Simply set sfx.server.url in dspace.cfg to the base url of your
OpenURL resolver (link server), e.g. SFX.

DSpace will then generate a ContextObject [1] on each item's page from
its metadata and include an OpenURL link to the link server, whose URL
parameters contain the item's metadata. That way the link server can
provide services (e.g. find the full text) for each such set of
metadata.

[1] http://ocoins.info/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette