Re: [Dspace-tech] DSpace Formatting Question : Superscripts in Abstract Field

2015-01-07 Thread euler
Which UI are you using? XMLUI or JSPUI? In xmlui, you can use
disable-output-escaping="yes" to allow HTML entities to render properly to
any fields that you desire. In your case, when filling up the form for the
abstract and to render the superscript properly, you can use
T3/T1. Please see this link:  A clickable URL in abstract or
description?

  



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-Formatting-Question-Superscripts-in-Abstract-Field-tp4676096p4676098.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] help on recent submissions

2015-01-07 Thread Hugo Agud
Hey it woked fine! thanks!!!

On the other hand we have the euskera language translated, how can we share
with the community.

On the other hand we have also developed a little solution for chnage
español into Español, if anybody needs it

thanks to all

2015-01-07 13:23 GMT+01:00 Hilton Gibson :

> Hi Hugo
>
> If using Ubuntu, then this should help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
>
> Cheers
>
> hg
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>
> On 7 January 2015 at 14:02, Hugo Agud  wrote:
>
>> Dear all
>>
>> We are strugeling with Dspace 4.2 with manaking , we wish that dspace
>> always gives the last 5 items.
>>
>> in the home page we have 5 last results, but when we click on any
>> communities we get the last 20
>>
>> Please how may we configure the *recent submission *always to 5?
>>
>>
>> we think it is configured here, but no change are visible on dpspace
>> after tomcat restart
>>
>>
>>
>> /srv/dspace/config/dspace.cfg
>> # how mamy items should be displayed per page in collection home
>> page
>>
>>
>> default = 5
>> webui.collectionhome.perpage = 0
>>
>> any help will be welcomed
>>
>>
>> --
>>
>> *Hugo Agud - Orex Digital *
>>
>> *www.orex.es *
>>
>>
>> Director
>>
>> Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
>>   ha...@orex.es · http://www.orex.es/
>>
>>
>>
>> No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
>> implica la tala de 15 árboles y el consumo de 250.000 litros de agua.
>>
>>
>>
>> Aviso de confidencialidad
>> Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
>> RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
>> está autorizado a recibirlo por el remitente), no está autorizado a
>> copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este
>> mensaje
>> por error, por favor, notifíquenoslo inmediatamente y bórrelo de su
>> sistema.
>>
>>
>>
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> ___
>> 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
>>
>
>


-- 

*Hugo Agud - Orex Digital *

*www.orex.es *


Director

Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
ha...@orex.es · http://www.orex.es/



No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar,
reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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

[Dspace-tech] DSpace Formatting Question : Superscripts in Abstract Field

2015-01-07 Thread Rosarie Coughlan
Hello,

Is there a simple solution to add Superscript characters to DSpace - abstract 
field?  I tried:

When I input the Unicode in the item metadata record, it appears to recognize 
it as a superscript. When I hit the update button, the record display refreshes 
and the Unicode displays correctly as a superscript. Here's a screenshot of the 
abstract field. You can see that the T3 at the end of the second line displays 
correctly.

[cid:image001.png@01D02A93.99219B60]


However, when I look at the record in regular mode, the Unicode does not 
display as superscript. Here's a screenshot of the same text as above. 
(Dreamweaver placed a semicolon at the end of the Unicode, but I tried it with 
and without.)


[cid:image002.png@01D02A93.99219B60]

Any suggestions?

Thanks,

Rosarie

Rosarie Coughlan, MA
Scholarly Publishing Librarian
Academic Services
Queen's University Library
Kingston, Ontario, K7L 2N9 Canada

Email: rosarie.cough...@queensu.ca
Tel: 1(613) 533 6000. Ext: 77529


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] Error when attempting to shard-solr-index

2015-01-07 Thread Bill Tantzen
My simple solution:

add

   
continent,isBot,submitter,statistics_type,previousWorkflowStep,

city,latitude,type,uid,owningItem,scopeType,countryCode,sortBy,id,longitude,

owningComm,owner,scopeId,workflowItemId,ip,query,dns,workflowStep,userAgent,actor,
referrer,rpp,sortOrder,bundleName,time,page,epersonid,owningColl
   
(that is, everything EXCEPT _version_)

to the defaults for the /select RequestHandler in statistics' solrconfig.xml

Seems to work!  Note: No java source code was harmed in the creation
of this work-around.

Thoughts?

Cheers,
Bill

On Wed, Jan 7, 2015 at 8:29 AM, helix84  wrote:
> On Wed, Jan 7, 2015 at 3:16 PM, Bill Tantzen  wrote:
>> I'm not sure what
>> this adds in terms of an insert-only index anyway.
>
> https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-SolrShardingByYear
>
> It's only supposed to increase performance if you have multiple years
> of usage data.
>
> You sound like you figured it out, but if you think something is
> wrong, try talking to @mire who developed the feature, they'll be able
> to help.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] Error when attempting to shard-solr-index

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 3:16 PM, Bill Tantzen  wrote:
> I'm not sure what
> this adds in terms of an insert-only index anyway.

https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-SolrShardingByYear

It's only supposed to increase performance if you have multiple years
of usage data.

You sound like you figured it out, but if you think something is
wrong, try talking to @mire who developed the feature, they'll be able
to help.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] Error when attempting to shard-solr-index

2015-01-07 Thread Bill Tantzen
This article on optimistic concurrency:

  http://heliosearch.org/solr/optimistic-concurrency/

explains (I believe) exactly what's going on...

In SolrLogger.java, the .csv files created for insertion into the new
shared indexes are composed using ALL fields -- including _version_.
Any NEW document with a _version_ field will fail on update.

Or am I misunderstanding something?

If this is the case, I think one solution may be to specify a field
list (excluding version) when querying solr by date during the
creation of the filesToUpload List.  The other solution would be to
drop the _version_ field from schema.xml (and turn off the update log
in solrconfig.xml), and optimize to drop the field.  I'm not sure what
this adds in terms of an insert-only index anyway.

Thoughts?

Cheers!
Bill

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] free configurable url

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 11:55 AM, Stefanie Behnke
 wrote:
> is it possible to create a html page with an url, that is free configurable 
> in Dspace?
> For instance:
> http:///

XMLUI or JSPUI? Please, read
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:56 PM, helix84  wrote:
> On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson  wrote:
>> Is it possible to map an LDAP filter to a group in DSpace?
>
> Yes, both a filter and an attribute:
> https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace/config/modules/authentication-ldap.cfg#L150-168

Eh, sorry, that wasn't correct. Not a filter in the LDAP sense.
Filters are an expression on a set of attributes, you can't do that
with the code currently available. But you can match either a part of
the DN or an attribute.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson  wrote:
> Is it possible to map an LDAP filter to a group in DSpace?

Yes, both a filter and an attribute:
https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace/config/modules/authentication-ldap.cfg#L150-168

> Assuming you only have one LDAP server to refer to, not a separate staff and
> student LDAP server, just one.

Correct, that's how it works.

But as I understood Nada's request, they want to allow only students
to log in. Not just put students to a DSpace group. That's why I
suggested the solution which changes provider_url.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Hilton Gibson
Hi Helix

So this all depends on the quality of the metadata in the LDAP tree/server.
Is it possible to map an LDAP filter to a group in DSpace?
Assuming you only have one LDAP server to refer to, not a separate staff
and student LDAP server, just one.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 7 January 2015 at 13:28, helix84  wrote:

> The way it works is anyone who can log in to LDAP can log into DSpace
> and then is assigned the specialgroup.
>
> If you want only those who are students in LDAP to be able to log into
> DSpace, that's a different matter. There are two ways how your group
> information may be stored in LDAP: if your DN is something like
> "uid=username,o=org,dc=Students" then the group information is stored
> in DN. You can limit logins only for this group using:
> provider_url = ldap://ldap.example.com/o=org,dc=Students
> If, OTOH, your user group is stored in an attribute (e.g.
> group=Students), then you can apply a filter:
> provider_url = ldap://ldap.example.com/???(group=Students)
> (I haven't tested this second example).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> 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
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] help on recent submissions

2015-01-07 Thread Hilton Gibson
Hi Hugo

If using Ubuntu, then this should help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 7 January 2015 at 14:02, Hugo Agud  wrote:

> Dear all
>
> We are strugeling with Dspace 4.2 with manaking , we wish that dspace
> always gives the last 5 items.
>
> in the home page we have 5 last results, but when we click on any
> communities we get the last 20
>
> Please how may we configure the *recent submission *always to 5?
>
>
> we think it is configured here, but no change are visible on dpspace after
> tomcat restart
>
>
>
> /srv/dspace/config/dspace.cfg
> # how mamy items should be displayed per page in collection home
> page
>
>
> default = 5
> webui.collectionhome.perpage = 0
>
> any help will be welcomed
>
>
> --
>
> *Hugo Agud - Orex Digital *
>
> *www.orex.es *
>
>
> Director
>
> Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
> ha...@orex.es · http://www.orex.es/
>
>
>
> No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
> implica la tala de 15 árboles y el consumo de 250.000 litros de agua.
>
>
>
> Aviso de confidencialidad
> Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
> RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
> está autorizado a recibirlo por el remitente), no está autorizado a
> copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este
> mensaje
> por error, por favor, notifíquenoslo inmediatamente y bórrelo de su
> sistema.
>
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> 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
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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

[Dspace-tech] help on recent submissions

2015-01-07 Thread Hugo Agud
Dear all

We are strugeling with Dspace 4.2 with manaking , we wish that dspace
always gives the last 5 items.

in the home page we have 5 last results, but when we click on any
communities we get the last 20

Please how may we configure the *recent submission *always to 5?


we think it is configured here, but no change are visible on dpspace after
tomcat restart



/srv/dspace/config/dspace.cfg
# how mamy items should be displayed per page in collection home
page


default = 5
webui.collectionhome.perpage = 0

any help will be welcomed


-- 

*Hugo Agud - Orex Digital *

*www.orex.es *


Director

Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
ha...@orex.es · http://www.orex.es/



No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar,
reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
The way it works is anyone who can log in to LDAP can log into DSpace
and then is assigned the specialgroup.

If you want only those who are students in LDAP to be able to log into
DSpace, that's a different matter. There are two ways how your group
information may be stored in LDAP: if your DN is something like
"uid=username,o=org,dc=Students" then the group information is stored
in DN. You can limit logins only for this group using:
provider_url = ldap://ldap.example.com/o=org,dc=Students
If, OTOH, your user group is stored in an attribute (e.g.
group=Students), then you can apply a filter:
provider_url = ldap://ldap.example.com/???(group=Students)
(I haven't tested this second example).


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Hilton Gibson
Hi All

When using LDAP auth, does membership rely on the "auto-register" config
setting?

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 7 January 2015 at 13:06, Nada Abo-Eita  wrote:

> Hi helix,
>
> I did exactly what you mentioned here
>
> http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html
>
> Based on my changes if any user log in to dspace then they should become a
> member of the specified group in login.specialgroup property in my case
> (students group).   [ This is how it should be ]
>
> But what happened with me, the user log in to dspace fine* but without*
> being a member of the students group [ My problem ].
>
> I hope its clear now.
>
>
> Regards,
>
> Nada Abo-Eita
>
>
>
> On Wed, Jan 7, 2015 at 1:34 PM, helix84  wrote:
>
>> I already answered your question here:
>>
>>
>> http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html
>>
>> Can you specify what exactly doesn't seem to work?
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> 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
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Hi helix,

I did exactly what you mentioned here
http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html

Based on my changes if any user log in to dspace then they should become a
member of the specified group in login.specialgroup property in my case
(students group).   [ This is how it should be ]

But what happened with me, the user log in to dspace fine* but without*
being a member of the students group [ My problem ].

I hope its clear now.


Regards,

Nada Abo-Eita



On Wed, Jan 7, 2015 at 1:34 PM, helix84  wrote:

> I already answered your question here:
>
>
> http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html
>
> Can you specify what exactly doesn't seem to work?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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

[Dspace-tech] free configurable url

2015-01-07 Thread Stefanie Behnke
Dear all,

is it possible to create a html page with an url, that is free configurable in 
Dspace?
For instance:
http:///

Thanking you in advance
Stefanie


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] add metadata to collection or community

2015-01-07 Thread Stefanie Behnke
Thanks, Helix, for your answer,
I think I will wait on Dspace 5.

Best regards
Stefanie

-Ursprüngliche Nachricht-
Von: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von helix84
Gesendet: Mittwoch, 7. Januar 2015 11:31
An: Stefanie Behnke
Cc: dspace-tech
Betreff: Re: [Dspace-tech] add metadata to collection or community

Hi Stefanie,

this is not easily doable in DSpace 3 (though you could add a new property to 
the Collection/Community class and corresponding columns to their tables). It 
is possible since DSpace 5, which allows custom metadata on these objects, 
although it doesn't have any UI to edit them yet.


Regards,
~~helix84

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


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
I already answered your question here:

http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html

Can you specify what exactly doesn't seem to work?


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] add metadata to collection or community

2015-01-07 Thread helix84
Hi Stefanie,

this is not easily doable in DSpace 3 (though you could add a new
property to the Collection/Community class and corresponding columns
to their tables). It is possible since DSpace 5, which allows custom
metadata on these objects, although it doesn't have any UI to edit
them yet.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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


[Dspace-tech] add metadata to collection or community

2015-01-07 Thread Stefanie Behnke
Dear all,

 

a happy New Year!

 

Is it possible to add metadata also to collections or to communities?

For instance to give a DOI-Url to a collection?

 

(We are using Dspace 3.1)

 

Thanking you in advance

Stefanie

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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

[Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Dear DSpace community,

I want any user log in to dspace to be member of the students group (Note
that this group is already created on dspace). So to do that, I changed the
login.specialgroup to "Students" in authentication-ldap.cfg and then
restart tomcat. But it doesn't work with me.

Can someone help me figuring out Whats missing here?

Regards,

Nada Abo-Eita
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] Query to get ID of thumbnail of primary bitstream

2015-01-07 Thread helix84
Hi Mark, Jacob,

you're both correct. bundle.name was used in DSpace up to version 4.
DSpace 5 and later moves metadata of DSpace objects to the
metadatavalue table. The code in ItemDAOPostgres is clearly wrong, but
has been missed, probably because it rarely triggers. I filed a bug
report [1] which also has the new query to get bundle name.

[1] https://jira.duraspace.org/browse/DS-2395

Regards,
~~helix84

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


On Tue, Jan 6, 2015 at 7:54 PM, Brown, Jacob  wrote:
> Sorry, I should have clarified that this was for a DSpace 4.1 setup…
>
>
>
> I don’t know anything about the database tables for 5.x, but I just looked
> at:
>
>
>
> https://github.com/DSpace/DSpace/blob/dspace-5.0-rc2/dspace-api/src/main/java/org/dspace/content/dao/ItemDAOPostgres.java
>
>
>
> which still references a `bundle.name`, which doesn’t make sense unless a)
> the `bundle` table still has a name field, or b) ItemDAO is deprecated.
>
>
>
> Jacob
>
>
>
> From: Mark Ehle [mailto:marke...@gmail.com]
> Sent: Tuesday, January 06, 2015 12:42 PM
> To: Brown, Jacob
> Cc: DSpace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream
>
>
>
> OK, Guys, just call me dense, but I can't make sense of Jacob's query -
> where it says, bundle.name='THUMBNAIL' - the bundle table does not have a
> name field. What am I missing?
>
> (This is on a DSpace 5.0-rc2 box)
>
> Thanks -
>
> Mark
>
>
>
> On Thu, Dec 11, 2014 at 7:08 AM, Mark Ehle  wrote:
>
> Thanks, guys! That gives me something to chew on. What I need the query for
> is to generate a media rss feed from Dspace.
>
>
>
> On Wed, Dec 10, 2014 at 5:16 PM, Brown, Jacob  wrote:
>
> Hi Mark,
>
>
>
> Not sure if what you are using the query for, but if you are using it inside
> a Java application, DSpace provides a
> [service](https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/service/ItemService.java)
> to get the primary bitstream’s thumbnail for an item. It’s used like, e.g.:
>
>
>
> org.dspace.content.service.ItemService.getThumbnail(context, item.id, false)
>
>
>
> If you need it outside Java, try the following (sorry for the CTEs, I’m
> using SQL snippets from helix84 and the ItemService code and didn’t want to
> rewrite everything). It could use some re-writing, but should get you
> started.
>
>
>
> with itemHolder as (
>
>   SELECT item_id as id FROM item, handle
>
>   WHERE handle.resource_id = item.item_id
>
>   AND handle.handle = 'dspace/handle'
>
> ),
>
> primaryBitstream as (
>
>   SELECT bundle.primary_bitstream_id as id FROM item2bundle, bundle
>
>   WHERE item2bundle.item_id in (SELECT id FROM itemHolder) AND
> item2bundle.bundle_id=bundle.bundle_id AND bundle.name='ORIGINAL' LIMIT 1
>
> ),
>
> nameHolder as (
>
>   SELECT name || '.jpg' as name
>
>   FROM bitstream
>
>   WHERE bitstream_id IN (SELECT id FROM PrimaryBitstream)
>
> ),
>
> namedBitstream as (
>
>   SELECT bitstream.bitstream_id as id FROM item2bundle, bundle,
> bundle2bitstream, bitstream
>
>   WHERE item2bundle.item_id IN (SELECT id FROM itemHolder) AND
> item2bundle.bundle_id=bundle.bundle_id AND bundle.name='THUMBNAIL'
>
>   AND bundle.bundle_id=bundle2bitstream.bundle_id AND
> bundle2bitstream.bitstream_id=bitstream.bitstream_id AND bitstream.name IN
> (SELECT name from nameHolder)
>
> ) SELECT id FROM namedBitstream;
>
>
>
> Jacob
>
>
>
> From: Mark Ehle [mailto:marke...@gmail.com]
> Sent: Wednesday, December 10, 2014 11:12 AM
> To: DSpace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] Query to get ID of thumbnail of primary bitstream
>
>
>
> Folks -
>
> I am in need of a way to query postgres in Dspace to give me the ID of the
> primary bitstream's thumbnail ID. I am able to get the primary bitstream ID
> from the handle (thanks to helix84,
> http://dspace.2283337.n4.nabble.com/Get-item-id-from-bitstream-handle-td4662208.html)
> but I don't know where to match up the thumbnail to it.
>
> Thanks!
>
> Mark Ehle
>
> Computer Support Librarian
>
> Willard Library
>
> Battle Creek, MI
>
>
>
>
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> 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

--
Dive into the World of Parallel Programming! The