Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread f vernocchi

On 07/08/2012 20:22, helix84 wrote:

On Mon, Aug 6, 2012 at 11:41 AM, f vernocchi
francesco.vernoc...@datamanagementpa.it wrote:

can you give me an advice for an application of ChoiceAuthority plugin in
case I want to extract data from dc.contributor.author of my dspace
installation and not from an external source? or it already works like this?
Example shows an extraction from other repository, and from files
(input-form or vocabulary). Do I have to implement my own plugin and request
author from solr/oai service?

Hi Francesco,

I played with this only for a while, but I also wanted to only import
authority values manually (via Batch Metadata Editor in my case), but
not from an external source. It worked fine for me (so I think the
answer is it already works like this). Did you have something else
in mind?
My purpose is not a matter of imported values, I want to find values of 
authors that I inserted in my saved documents.
Like a vocabulary of authors of my DSpace always aligned with contents. 
In this way there is a consistency with names I've already inserted 
(obviously a negative feedback if new authors are written wrong).

So the example is:
 - if I insert no documents, choiceauthority plugin get me no values;
 - if I insert and save a document with an author (e.g. 'John Charles 
Fields'), then the next document whose author is 'Fields' I will have a 
suggest when I start typing/lookup 'fie'
In this way the set of choices grows up the more I insert new authors in 
my DSpace repository.


If there is a way, I prefer to extract the list of authors directly 
through a request to my DSpace DB within ChoiceAuthority plugin.

If you're using BME like me, you might be interested in this patch:
https://jira.duraspace.org/browse/DS-1084

Regards,
~~helix84

by now you know my purpose,
are you suggesting to execute a scheduled batch over night with BME?

Thanks again


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Browsing link lacks submit_browse

2012-08-20 Thread Joachim Bingel
Hi,

I've set up an installation of DSpace 1.8.2 in German (i.e. a 
non-default locale). In the browse bar on the left of the JSPUI all 
browse items appear as they should and they work fine, except for the 
subject browse.

The URL that is looked up by the browse function is 
mydspace.de/browse?type=subject, but no page is found. The relevant 
page, however, can be found under 
mydspace.de/browse?type=subjectsubmit_browse=Schlagwort (where 
Schlagwort is German for keyword and the browse link text). Also, it 
works fine when browsing single collections by subject (the 
submit_browse=Schlagwort is appended to the URL).

So how do I tell DSpace that it should append the 
submit_browse=Schlagwort part in the URL, or how can I bypass that 
necessity? Note also that for all other browse fields (author, title 
etc.) it works fine without the submit_browse variable.

Thanks in advance,
Joachim

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)6221-1581-456 | http://www.ids-mannheim.de 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browsing link lacks submit_browse

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 10:52 AM, Joachim Bingel bin...@ids-mannheim.de wrote:
 The URL that is looked up by the browse function is
 mydspace.de/browse?type=subject, but no page is found. The

Are you getting a 404 page? You can also send the link or a screenshot.

Can you compare your instance to the demo instance at
http://demo.dspace.org/jspui/ and tell us if there's a difference? If
there's no difference, the behaviour is expected. If not, one more
thing to try is to rebuild your browse indices by shutting down
Tomcat, running [dspace]/bin/dspace index-init and restarting
Tomcat.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace backup on Ubuntu 10.04

2012-08-20 Thread helix84
On Sat, Aug 18, 2012 at 10:13 AM, thandu venkat narayana
thandu_ven...@yahoo.com wrote:
 Dear Sir,

 Thank you for your kind reply,

 I am able to take backup of Dspace folder where our files are storing, but
 I am facing difficulty for taking backup of PG_dump.

 This is very important to me to maintain Dspace.

 kindly provide some steps to take backup  restoration of Dspace.

 Regards,
 Venkat

Can you be more specific? What kind of difficulty? Does it throw any
error? If so, send the output.

Please, always keep dspace-tech in CC.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Editing API code

2012-08-20 Thread helix84
On Thu, Aug 9, 2012 at 6:24 PM, Darren Arsenault
arse...@algonquincollege.com wrote:
 I am having trouble determining the best way to alter the API code. When 
 making alterations to the JSPs I simply place the modified JSP files in 
 [dspace-source]/modules/jspui. Then I run  mvn clean package to re-package 
 the target, and ant update from the target to update [dspace]/webapps. Is 
 there a similar process for making changes to the API code?

Hi Darren,

I see nobody replied to your question yet. I don't have the answer,
but I can tell you that you're using the right procedure and it should
work (both for modules and for any other source changes including
dspace-api).

One thing I can think of is that there are several ways to set up how
Tomcat finds the webapps and one of them (well, the default) is that
Tomcat doesn't look in [dspace]/webapps, but in its own webapps
directory, so you might have to copy the .war files over manually (ant
update reminds you of this). But if you're using Context elements in
server.xml or in context fragment files, it looks in the path
specified by the docBase attribute, which you should have pointed to
[dspace]/webapps/... I also faintly remember that symlinking the
Tomcat's webapps directory to [dspace]/webapps didn't work for me.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browsing link lacks submit_browse

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 11:08 AM, Joachim Bingel bin...@ids-mannheim.de wrote:
 Thanks for the very quick reply!


 On 08/20/2012 11:00 AM, helix84 wrote:

 On Mon, Aug 20, 2012 at 10:52 AM, Joachim Bingelbin...@ids-mannheim.de
 wrote:

 The URL that is looked up by the browse function is
 mydspace.de/browse?type=subject, but no page is found. The

 Are you getting a 404 page? You can also send the link or a screenshot.

 No, the page just won't load (if I append the submit_browse part manually,
 though, it does). Cannot post a link unfortunately since the site can only
 be reached locally at the moment.


 Can you compare your instance to the demo instance at
 http://demo.dspace.org/jspui/ and tell us if there's a difference? If
 there's no difference, the behaviour is expected. If not, one more
 thing to try is to rebuild your browse indices by shutting down
 Tomcat, running [dspace]/bin/dspace index-init and restarting
 Tomcat.

 The only two differences are that my DSpace instance is in German (don't
 know if that really has anything to do with the submit_browse=*Schlagwort*
 being required) and that I have added another browse item Ressourcen
 (resources), which is a fully functioning metadata field in my instance.

 Rebuild (of indices only and of the complete DSpace instance) did not change
 anything...

 Best,
 Joachim

Please, always CC dspace-tech when replying.

OK, so the problem really is that the page is not loading. Can you
look at the dspace and tomcat logs and send the relevant output (tail
-f dspace.log is useful)? If there's nothing there, try to turn up
the debug level [1], restart tomcat, reload the page and look at the
logs. Don't forget to turn the debug level back down when you're done
(debug logs can quickly fill your disk) and restart tomcat.

[1] 
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-TurningonDebugging%28optional%29

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 11:12 AM, Jacob Andersson
jacob.anders...@mah.se wrote:
 Hi,

 Ivan, could you please show me an example of an XOAI XSLT-transformation that 
 changes the contents of the XML-output's item-header? I haven't been able to 
 figure it out, looking at the XOAI addon files (which is now installed on out 
 test server).

 Thanks,

 Jacob

Please, always keep dspace-tech in CC.

The relevant XSLT files are in
[dspace]/config/modules/oai/metadataFormats (the directory is xoai
in case of the addon). Don't change the standard formats, create a new
one instead (by copying one of the formats and using it as a
template).

Important: when you change the XSLT file, the change won't show up
because of caching. You have to clear the cache ([dspace]/bin/dspace
oai clean-cache resp. [dspace]/bin/dspace xoai clean-cache) after
every change. This has been reported and will be fixed in a later
version [1].

[1] https://github.com/lyncode/DSpace/issues/35

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] jQuery Auto complete

2012-08-20 Thread helix84
Hi Jose,

sorry that I didn't respond, I didn't have time to dig into the
details (and still don't). Hopefully someone else will take a look,
but this is a bad time for dspace devs because of the code
contribution deadline. So you may want to try some generic webmaster
forums or jQuery-specific ones.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread f vernocchi


My purpose is not a matter of imported values, I want to find values of
authors that I inserted in my saved documents.


You mean in the CSV file?

I mean DSpace documents, the ones I can save through submission form.

Fields'), then the next document whose author is 'Fields' I will have a
suggest when I start typing/lookup 'fie'

Where do you want that suggestion to show up? In the submission form?
(I don't use that so I can't give you advice on that)
Yeah I thought it was clear, sorry. In submission form, when I want to 
look for an author I use the ChoiceAuthority as described in 
https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values 
, in section '/Automatic Choice Authority from Configurable Submission 
value-pairs/'.
(activation of config: 
|plugin.named.org.dspace.content.authority.ChoiceAuthority|)

If there is a way, I prefer to extract the list of authors directly through
a request to my DSpace DB within ChoiceAuthority plugin.
It is easy to extract the list of authors. I can write the SQL if you
want. I can't give you advice on ChoiceUthority plugin, however.
At first I was trying to write sql, in a plugin similar to 
LCNameAuthority, and invoke a solr request in order to retrieve the list 
(from my DSpace, not from external).

But I'm searching for an existing one, I think it is a expoited feature.

Thanks for replies,

I'm waiting if someone get me an advice or at last some indication to 
build my own plugin.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI output item header

2012-08-20 Thread Jacob Andersson
Hi,

Thanks. I've looked at all the included files in both the metadataFormats and 
transformers folders, but I can't find any code that changes the item header. 
The XSLT-files in the metadataFormats folder make no mention of the item 
header, so I'm assuming it is generated elsewhere?

Yours,
Jacob
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question?

2012-08-20 Thread Lewatle Phaladi
Hi All

I would like to ask if there is anyone who integrated DSpace with Web of 
knowledge or soapUI, I am just starting finding information on web of knowledge 
sharing contents with dspace.

This is just a question please feel free to give any idea you may have.

Regards,
Lewatle

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 12:22 PM, Jacob Andersson
jacob.anders...@mah.se wrote:
 Thanks. I've looked at all the included files in both the metadataFormats and 
 transformers folders, but I can't find any code that changes the item header. 
 The XSLT-files in the metadataFormats folder make no mention of the item 
 header, so I'm assuming it is generated elsewhere?

OK, my mistake. I actually tried it now. It seems the metadataFormats
templates simply do not get the header at their input, only metadata.
I'm sure Lyncode will be able to advise you what you should do
instead.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 12:05 PM, f vernocchi
francesco.vernoc...@datamanagementpa.it wrote:

 My purpose is not a matter of imported values, I want to find values of
 authors that I inserted in my saved documents.

 You mean in the CSV file?

 I mean DSpace documents, the ones I can save through submission form.

Sorry, I'm getting lost more and more. You mean authors in metadata
within the bitstreams? Like PDF metadata?

 Fields'), then the next document whose author is 'Fields' I will have a
 suggest when I start typing/lookup 'fie'

 Where do you want that suggestion to show up? In the submission form?
 (I don't use that so I can't give you advice on that)

 Yeah I thought it was clear, sorry. In submission form, when I want to look
 for an author I use the ChoiceAuthority as described in
 https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values
 , in section 'Automatic Choice Authority from Configurable Submission
 value-pairs'.
 (activation of config:
 plugin.named.org.dspace.content.authority.ChoiceAuthority)

 If there is a way, I prefer to extract the list of authors directly through
 a request to my DSpace DB within ChoiceAuthority plugin.

 It is easy to extract the list of authors. I can write the SQL if you
 want. I can't give you advice on ChoiceUthority plugin, however.

 At first I was trying to write sql, in a plugin similar to LCNameAuthority,
 and invoke a solr request in order to retrieve the list (from my DSpace, not
 from external).

I don't think Solr contains the authority information at all. I just
looked again and didn't see it. Do you need me to give you the SQL?

 But I'm searching for an existing one, I think it is a expoited feature.

Pardon?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question?

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 2:30 PM, Lewatle Phaladi
lewatle.phal...@wits.ac.za wrote:
 I would like to ask if there is anyone who integrated DSpace with Web of
 knowledge or soapUI, I am just starting finding information on web of
 knowledge sharing contents with dspace.

I used the WoK API to dynamically retrieve the citation counts, but it
can be also used for document lookups by various criteria and perhaps
other things. Don't forget to register for an API key, otherwise it
won't work. This post got me started [1] and the official information
seems to be here [2]. Just do a Google search on Web of Science API
and you'll find enough examples.

[1] http://bibwild.wordpress.com/2009/03/24/isi-web-of-scienceknowledge-apis/
[2] http://wokinfo.com/products_tools/products/related/amr/

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] jQuery Auto complete

2012-08-20 Thread Jose Blanco
No problems.  I had a typo in my javascript and have it going now.



On Mon, Aug 20, 2012 at 5:27 AM, helix84 heli...@centrum.sk wrote:

 Hi Jose,

 sorry that I didn't respond, I didn't have time to dig into the
 details (and still don't). Hopefully someone else will take a look,
 but this is a bad time for dspace devs because of the code
 contribution deadline. So you may want to try some generic webmaster
 forums or jQuery-specific ones.

 Regards,
 ~~helix84


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI output item header

2012-08-20 Thread DSpace @ Lyncode
Hi Jacob,

in order to have control over the list of sets you will need to override
the default XOAI behaviour.

https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/data/AbstractItemIdentifier.java


I think you need a virtual set, listed on top the the list. So basically,
you'll need to change the order of the list of sets, populating it firstly
with virtual sets (also called static sets) leaving the dynamic sets
(DSpace sets at the end).

Then you'll need to change the dspace-oai/dspace-oai-api/pom.xml in order
to use your overridden implementation. You can also propose a change(pull
request) to the official library (https://github.com/lyncode/xoai), it
could support a Sortable list of sets, by default it would do nothing, but
each data source implementation could provide a sortable implementation.

Another solution would be a XSL proxy.

On 20 August 2012 14:16, helix84 heli...@centrum.sk wrote:

 On Mon, Aug 20, 2012 at 12:22 PM, Jacob Andersson
 jacob.anders...@mah.se wrote:
  Thanks. I've looked at all the included files in both the
 metadataFormats and transformers folders, but I can't find any code that
 changes the item header. The XSLT-files in the metadataFormats folder make
 no mention of the item header, so I'm assuming it is generated elsewhere?

 OK, my mistake. I actually tried it now. It seems the metadataFormats
 templates simply do not get the header at their input, only metadata.
 I'm sure Lyncode will be able to advise you what you should do
 instead.

 Regards,
 ~~helix84




-- 
Thanks,
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ

[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question?

2012-08-20 Thread Lewatle Phaladi
Thanks a lot Helix for sharing. 

-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 20 August 2012 03:31 PM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question?

On Mon, Aug 20, 2012 at 2:30 PM, Lewatle Phaladi lewatle.phal...@wits.ac.za 
wrote:
 I would like to ask if there is anyone who integrated DSpace with Web 
 of knowledge or soapUI, I am just starting finding information on web 
 of knowledge sharing contents with dspace.

I used the WoK API to dynamically retrieve the citation counts, but it can be 
also used for document lookups by various criteria and perhaps other things. 
Don't forget to register for an API key, otherwise it won't work. This post got 
me started [1] and the official information seems to be here [2]. Just do a 
Google search on Web of Science API and you'll find enough examples.

[1] http://bibwild.wordpress.com/2009/03/24/isi-web-of-scienceknowledge-apis/
[2] http://wokinfo.com/products_tools/products/related/amr/

Regards,
~~helix84

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread f vernocchi



Sorry, I'm getting lost more and more. You mean authors in metadata
within the bitstreams? Like PDF metadata?
the author i'm referring to is the metadata dc field: 
'dc.contributor.author'
When I insert new item in a collection in the submission form, I have to 
compile dc.contributor.author.
cit: ... /When collecting a value for an authority-controlled field, 
the interactive submission UI has to help the user choose a value from 
the authority set. Typically the user enters a clue or partial value and 
is then presented with a list of /matches/ from which to choose .../ 
(https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-Behavior)


/... To declare a field as authority-controlled, just add a property 
like this, /in addition to/ its Choices plugin declaration: ../. 
(https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-AuthorityControlconfiguration)


   authority.controlled.dc.contributor.author = true

After the activation and restart, the field dc.contributor.author (in 
submission form) come with the possibility of choosing an author from a 
list.
Looking at plugins like org.dspace.content.authority.LCNameAuthority I 
see that it makes a request to a servlet of an external repository, so i 
think that maybe it exists a way to request a list from my DSpace 
repository, just index author with solr or make a direct SQL select.

I don't think Solr contains the authority information at all. I just
looked again and didn't see it. Do you need me to give you the SQL?


Or maybe there is a misunderstanding over the concept of authority.
Besides, give me a pseudo SQL and let's see what you mean about it.

At last, only question I really want to know is: '_can I choose 
dc.contributor.author from a list of authors that I recently added 
within the items in my collection?'_


thanks, you are so polite

But I'm searching for an existing one, I think it is a exploited feature.

Pardon?
if the customization of plugin is the response to my question I wonder 
if there is an implementation:

cit: ./.. Adding ChoiceAuthority Plugin
You'll probably want to implement or adapt your own version of a 
ChoiceAuthority plugin. See the API description for more details, and 
consult the sample implementations in the org.dspace.content.authority 
package. .../ 
(https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-Customization) 



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 4:28 PM, f vernocchi
francesco.vernoc...@datamanagementpa.it wrote:
 I don't think Solr contains the authority information at all. I just
 looked again and didn't see it. Do you need me to give you the SQL?


 Or maybe there is a misunderstanding over the concept of authority.
 Besides, give me a pseudo SQL and let's see what you mean about it.

To clear it up, the authority information consists of an authority
identifier and a confidence value. You can find these stored for each
record in the authority and confidence columns of the metadatavalue
table (if you're not using authorities, they will be NULL and -1,
respectively). So it is in SQL. But the authority information
(identifier, confidence) isn't stored in Solr, only the author names
are in Solr.

 At last, only question I really want to know is: 'can I choose
 dc.contributor.author from a list of authors that I recently added within
 the items in my collection?'

Here's the basic query. Of course, you may want to modify it to select
only the text_value, authority and confidence columns, raise the
limit, sort in descending order by item_id to get the last items,
group by text_value or authority to get distinct authors, filter out
authority = NULL etc.

SELECT *
FROM metadatavalue
WHERE metadata_field_id = 3
LIMIT 30

 if the customization of plugin is the response to my question I wonder if
 there is an implementation:

I'm not sure if you need to write a plugin it to get just the
autosuggestions (I don't use the submission workflow).

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] About Authority control in DSpace

2012-08-20 Thread f vernocchi



At last, only question I really want to know is: 'can I choose
dc.contributor.author from a list of authors that I recently added within
the items in my collection?'

Here's the basic query. Of course, you may want to modify it to select
only the text_value, authority and confidence columns, raise the
limit, sort in descending order by item_id to get the last items,
group by text_value or authority to get distinct authors, filter out
authority = NULL etc.

SELECT *
FROM metadatavalue
WHERE metadata_field_id = 3
LIMIT 30


if the customization of plugin is the response to my question I wonder if
there is an implementation:

I'm not sure if you need to write a plugin it to get just the
autosuggestions (I don't use the submission workflow).


You right, can't retrieve authority confidence with solr! only names.
I'll try to implement a plugin class with that query. But still 
wondering about nobody ask for this kind of implementation..

thank you again
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] changing the short display using Mirage

2012-08-20 Thread Jose Blanco
Where is the documentation for changing the short display in Mirage?  I
have one collection for which I want to display certain dc fields and use
labels different than the ones I do in the others in the short display.

Thanks!
Jose
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] changing the short display using Mirage

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 6:40 PM, Jose Blanco blan...@umich.edu wrote:
 Where is the documentation for changing the short display in Mirage?  I have
 one collection for which I want to display certain dc fields and use labels
 different than the ones I do in the others in the short display.

Hi Jose,

I should put this into FAQs. You can find the answer here:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg15576.html

Let us know if something is unclear.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] changing the short display using Mirage

2012-08-20 Thread Jose Blanco
But if I override this template it will affect all the item displays.  I
just want the display of the items in one of the collections.

Thank you!
Jose

On Mon, Aug 20, 2012 at 1:10 PM, helix84 heli...@centrum.sk wrote:

 On Mon, Aug 20, 2012 at 6:40 PM, Jose Blanco blan...@umich.edu wrote:
  Where is the documentation for changing the short display in Mirage?  I
 have
  one collection for which I want to display certain dc fields and use
 labels
  different than the ones I do in the others in the short display.

 Hi Jose,

 I should put this into FAQs. You can find the answer here:

 http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg15576.html

 Let us know if something is unclear.

 Regards,
 ~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] changing the short display using Mirage

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 7:15 PM, Jose Blanco blan...@umich.edu wrote:
 But if I override this template it will affect all the item displays.  I
 just want the display of the items in one of the collections.

Oh, right. Copy the template itemSummaryView-DIM-fields to
itemSummaryView-DIM-fields-custom, modify it as you need and then
choose which one to apply based on current container handle:

xsl:template match=dim:dim mode=itemSummaryView-DIM
...
xsl:choose
xsl:when
test=/dri:document/dri:meta/dri:pageMeta/dri:trail[@target='/handle/12345678/123']
xsl:call-template name=itemSummaryView-DIM-fields-custom /
/xsl:when
xsl:otherwise
xsl:call-template name=itemSummaryView-DIM-fields /
/xsl:otherwise
/xsl:choose

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Lightbox effect without head, option and footer

2012-08-20 Thread Nemiz, Elvi S.
Hello,

How can I render the dri:body in a lightbox effect without the head, option
and footer? I have succeeded in creating the lightbox effect but I just
want the body to show, without the header, navigation and footers.

Thanks in advance and regards.

-- 
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Lightbox effect without head, option and footer

2012-08-20 Thread helix84
On Tue, Aug 21, 2012 at 4:11 AM, Nemiz, Elvi S. esne...@seafdec.org.ph wrote:
 How can I render the dri:body in a lightbox effect without the head, option
 and footer? I have succeeded in creating the lightbox effect but I just want
 the body to show, without the header, navigation and footers.

Hi Elvi,

override these templates in your theme. Copy them over as they appear
in your parent theme and wrap their contents in the xsl:if clause.

xsl:template name=buildHeader
xsl:if
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'
and @qualifier='queryString'] = 'content-only'
!-- put the original contents of this template here --
/xsl:if
/xsl:template

xsl:template name=buildFooter
xsl:if
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'
and @qualifier='queryString'] = 'content-only'
!-- put the original contents of this template here --
/xsl:if
/xsl:template

xsl:template match=dri:options
xsl:if
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'
and @qualifier='queryString'] = 'content-only'
!-- put the original contents of this template here --
/xsl:if
/xsl:template

Now you should be able to access the modified page by calling:

http://example.com/handle/123456789/123?content-only

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech