[Dspace-tech] (no subject)

2012-01-13 Thread Ladislav Kulhanek
Hello,

we had the same problem too. Most of dates was in  format, but some was
in -mm-dd format. We modify all dates to  format, ran dspace
index-init and sorting started to work.
We use DSpace 1.7.1, xmlui.

Ladislav Kulhanek

2011/10/27 James Bardin jbar...@bu.edu

 Hello,

 Attempting to sort search results by issue date results in the
 following error:
 ERROR org.dspace.search.DSQuery @ Unable to use speficied sort
 option: dateissued

 Checking DSQuery.java (line ~235) shows that this is catching a
 generic exception from lucene, which results in the sorting falling
 back to relevance. This is confusing to users, because there no
 indication from the xmlui that would indicate the sorting failed or is
 incorrect.

 Any ideas why sorting on dc.date.isssued is failing, or where to start
 for troubleshooting?


 Thanks,
 --
 James Bardin jbar...@bu.edu
 Systems Engineer
 Boston University IST


 --
 The demand for IT networking professionals continues to grow, and the
 demand for specialized networking skills is growing even more rapidly.
 Take a complimentary Learning@Cisco Self-Assessment and learn
 about Cisco certifications, training, and career opportunities.
 http://p.sf.net/sfu/cisco-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about statistics

2011-06-21 Thread Ladislav Kulhanek
Hi,
we have the same problem, I thint it is due to IPv6 trafic. It can not
identify the right location. Bud we have not solve it yet.

Ladislav

2011/6/21 Nemiz, Elvi S. esne...@seafdec.org.ph

 Dear all,

 I'm wondering why I am getting Uganda and Cold lake in top country and city
 views in our Dspace statistics while these two places does not appear in our
 google analytics page? How can I update our statistics utility so that we
 will get accurate country and city views? Thanks in advance and more power.


 Regards,
 Elvi S. Nemiz
 Information Assistant
 Library and Data Bank Services Section
 Training and Information Division
 SEAFDEC Aquaculture Department
 Tigbauan, Iloilo
 Philippines


 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] restrict public users

2011-06-16 Thread Ladislav Kulhanek
Hi,
use ldap.login.specialgroup property in dspace.cfg.

Lada

2011/6/16 Webshet, Sisay (ILRI) s.webs...@cgiar.org

  Hi,



 We have set up LDAP Authentication on our Dspace repository (1.7.1) and is
 configured correctly.



 BUT, we need to restrict public users to view (restrict download)only some 
 bit streams in a given collection



 Can someone assists me thanks

 sisay





 Cheers



 Kevin




 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Collection home page layout

2011-06-08 Thread Ladislav Kulhanek
Hello everybody.

I try to change home page of collection in xmlui. Standard layout is:

Title
Browse by
collection description
Submit a new item to this collection
Recent Submissions

I want Submit a new item to this collection before collection description.
I have not found xsl template, where to set up it. How to set up it? Thanks.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Access DSpace Through Custom Application

2011-05-27 Thread Ladislav Kulhanek
Hello Dhaivat,

Dspace uses cookie to identify user. Do you send cookie through your http
connection?

Ladislav

2011/5/27 dhaivat dave dhaiva...@gmail.com

 Hello everyone,

 I am new to Dspace . I have successfully installed Dspace on my computer.
 Now i have created one application using which i am trying to access Dspace
 functionality.. For accessing the functionality i have created the
 HttpConnection through java code. In a first step i tried to login into
 Dspace and it's successfully done.But when i am trying to create collection
 at that time it returns me login page though i have already logged in.. If
 any one have an idea regarding this thing than please let me know where i am
 going wrong.


 Thanks,
 Dhaivat


 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Access DSpace Through Custom Application

2011-05-27 Thread Ladislav Kulhanek
I have never done it. Principle is that the server sends cookie to client in
response, fi cookie was not in client request. In next request client add
cookie to its request, so server knows that the requests are from the same
client.

Try this tutorial to implement it:
http://www.hccp.org/java-net-cookie-how-to.html

Ladislav

2011/5/27 dhaivat dave dhaiva...@gmail.com


 Hi Ladislav,

 Thanks for the reply ... Actually i have not set cookies.But can you guide
 me little more how i can set the cookies through HttpURLConnection


 Dhaivat


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with ordering in browsing

2011-05-26 Thread Ladislav Kulhanek
I have solved a problem. It is hack but it works.
The problem was, then item browsing did not work correctly, when values in
bi_* tables was normalised (characters with diacritic split to two
characters - first character without diacritics and second diacritic itself)
and search results sorting did not works correctly when values in bi_* was
not normalised:)

I use my own class OrderLowerTrim.java for creating sort strings:

public class OrderLowerTrim extends AbstractTextFilterOFD {

{
filters = new TextFilter[] { new LowerCaseAndTrim() };
}

}

So strings are not normalized in db. And I modified
org.dspace.search.DSIndexer.java to ignore configuration and make sort
strings normalized. Change is on line 1166:

//String value = OrderFormat.makeSortString(dcv[0].value, dcv[0].language,
so.getType());
String value = (new OrderFormatTitle()).makeSortString(dcv[0].value,
dcv[0].language);

Sort strings are always made by OrderFormatTitle, which produce normalized
values.

Graham, thanks again for your response, it was very helpful. Can you
explain, why simply writing UTF-8 to the database tables results in very
random sorting for diacritics? I do it now in DSpace and it works.

2011/5/23 Ladislav Kulhanek ladislav.kulha...@vsb.cz

 Thanks for responses.

 I created class OrderFormatLocale:

  public class OrderFormatLocale extends AbstractTextFilterOFD {
{
filters = new TextFilter[] { new LowerCaseAndTrim(),
   new
 LocaleOrderingFilter() };
}
 }

 but sorting was then very queer. For example alphabet starts with B, A
 was after D and there was other queer things like this. So I modified
 class by removing LocaleOrderingFilter to this form:

 public class OrderFormatLocale extends AbstractTextFilterOFD {
{
filters = new TextFilter[] { new LowerCaseAndTrim()};
}
 }

 Then sorting was correct in browsing ( by title, author and subjects
 too) but started to be incorrect in search results. When search
 results are sorted by title or author, string with diacritics are
 sorted to the end after all letters without diacritics.

 2011/5/19 Graham Triggs grahamtri...@gmail.com:
  Please take a look at a previous post of mine on this subject:
 
 http://dspace.2283337.n4.nabble.com/Browse-UTF-8-and-sorting-in-1-5-tp3281449p3281450.html
  Regards,
  G
 
  On 19 May 2011 15:18, Peter Dietz pdiet...@gmail.com wrote:
 
  Hi Ladislav,
  I've noticed that our librarians here are happier with sorting when we
 use
  the collate of C as opposed to utf8/en_US.
 
  postgres=# create database dspace with owner = dspace encoding='utf8'
  tablespace=pg_default lc_collate = 'C' lc_ctype='en_US.UTF-8' template
  template0;
 
  I've add these three authors to a test collection that had some sample
  data in it, and it has the results you were expecting:
  == Author Name ==
  Cabanová, Zuzana
  Cablová, Barbora
  creatorlast, creatorfirst
  Čabla, Michael
 
 
 
  Peter Dietz
 
 
 
  On Thu, May 19, 2011 at 4:41 AM, Ladislav Kulhanek
  ladislav.kulha...@vsb.cz wrote:
 
  Hello everybody.
 
  We have data in our DSpace in czech language (code cs in accordance
  with ISO 639-1) and we have a problem with order in browsing by
  author, titles and subjects (order in search results is correct).
  There are letters with diacritic in czech alphabet, for example Č
  (0x010C code in unicode). This letter should be ordered between C
  and D, but in DSpace it is ordered to the same place as C. For
  example we have ordered list as
 
  Cabanová, Zuzana
  Čabla, Michael
  Cablová, Barbora
 
  and this list should be
 
  Cabanová, Zuzana
  Cablová, Barbora
  Čabla, Michael
 
  And czech alphabet contains letter Ch (it consists from two
  characters). This letter should be ordered between h and i. This
  letter is ordered in DSpace correctly. So it looks like DSpace order
  in accordance with czech alphabet, but ignore diacritics.
  We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
  Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
  URIEncoding=UTF-8. Any idea how to solve it? Thanks.
 
  Ladislav Kulhanek
 
 
 
 --
  What Every C/C++ and Fortran developer Should Know!
  Read this article and learn how Intel has extended the reach of its
  next-generation tools to help Windows* and Linux* C/C++ and Fortran
  developers boost performance applications - including clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 --
  What Every C/C++ and Fortran developer Should Know!
  Read this article and learn how Intel has extended the reach of its
  next-generation tools to help

Re: [Dspace-tech] Problem with ordering in browsing

2011-05-23 Thread Ladislav Kulhanek
Thanks for responses.

I created class OrderFormatLocale:

 public class OrderFormatLocale extends AbstractTextFilterOFD {
{
filters = new TextFilter[] { new LowerCaseAndTrim(),
   new LocaleOrderingFilter() };
}
}

but sorting was then very queer. For example alphabet starts with B, A
was after D and there was other queer things like this. So I modified
class by removing LocaleOrderingFilter to this form:

public class OrderFormatLocale extends AbstractTextFilterOFD {
{
filters = new TextFilter[] { new LowerCaseAndTrim()};
}
}

Then sorting was correct in browsing ( by title, author and subjects
too) but started to be incorrect in search results. When search
results are sorted by title or author, string with diacritics are
sorted to the end after all letters without diacritics.

2011/5/19 Graham Triggs grahamtri...@gmail.com:
 Please take a look at a previous post of mine on this subject:
 http://dspace.2283337.n4.nabble.com/Browse-UTF-8-and-sorting-in-1-5-tp3281449p3281450.html
 Regards,
 G

 On 19 May 2011 15:18, Peter Dietz pdiet...@gmail.com wrote:

 Hi Ladislav,
 I've noticed that our librarians here are happier with sorting when we use
 the collate of C as opposed to utf8/en_US.

 postgres=# create database dspace with owner = dspace encoding='utf8'
 tablespace=pg_default lc_collate = 'C' lc_ctype='en_US.UTF-8' template
 template0;

 I've add these three authors to a test collection that had some sample
 data in it, and it has the results you were expecting:
 == Author Name ==
 Cabanová, Zuzana
 Cablová, Barbora
 creatorlast, creatorfirst
 Čabla, Michael



 Peter Dietz



 On Thu, May 19, 2011 at 4:41 AM, Ladislav Kulhanek
 ladislav.kulha...@vsb.cz wrote:

 Hello everybody.

 We have data in our DSpace in czech language (code cs in accordance
 with ISO 639-1) and we have a problem with order in browsing by
 author, titles and subjects (order in search results is correct).
 There are letters with diacritic in czech alphabet, for example Č
 (0x010C code in unicode). This letter should be ordered between C
 and D, but in DSpace it is ordered to the same place as C. For
 example we have ordered list as

 Cabanová, Zuzana
 Čabla, Michael
 Cablová, Barbora

 and this list should be

 Cabanová, Zuzana
 Cablová, Barbora
 Čabla, Michael

 And czech alphabet contains letter Ch (it consists from two
 characters). This letter should be ordered between h and i. This
 letter is ordered in DSpace correctly. So it looks like DSpace order
 in accordance with czech alphabet, but ignore diacritics.
 We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
 Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
 URIEncoding=UTF-8. Any idea how to solve it? Thanks.

 Ladislav Kulhanek


 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with ordering in browsing

2011-05-19 Thread Ladislav Kulhanek
Hello everybody.

We have data in our DSpace in czech language (code cs in accordance
with ISO 639-1) and we have a problem with order in browsing by
author, titles and subjects (order in search results is correct).
There are letters with diacritic in czech alphabet, for example Č
(0x010C code in unicode). This letter should be ordered between C
and D, but in DSpace it is ordered to the same place as C. For
example we have ordered list as

Cabanová, Zuzana
Čabla, Michael
Cablová, Barbora

and this list should be

Cabanová, Zuzana
Cablová, Barbora
Čabla, Michael

And czech alphabet contains letter Ch (it consists from two
characters). This letter should be ordered between h and i. This
letter is ordered in DSpace correctly. So it looks like DSpace order
in accordance with czech alphabet, but ignore diacritics.
We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
URIEncoding=UTF-8. Any idea how to solve it? Thanks.

Ladislav Kulhanek

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech