Re: [Dspace-tech] 4.x - Is it possible to generate RSS feeds based on browse, discovery facets, or search terms?

2014-02-28 Thread Peter Warrington
Hi Charlene,

Here's a url to produce a feed based on a query:
http://impactsurvey.org/ccn/open-search/discover?query=title:%22Test%20item%22

There's some parameters listed here that you could also use:
https://jira.duraspace.org/secure/attachment/10740/opensearch.txt

Regards, Pete

From: Charlene Chinda Barina [cbar...@uw.edu]
Sent: 27 February 2014 22:40
To: dspace-tech
Subject: Re: [Dspace-tech] 4.x - Is it possible to generate RSS feeds based on 
browse, discovery facets, or search terms?

Ok, I think I halfway figured this out via enabling opensearch (using this 
documentation: 
https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-OpenSearchSupport),
 but I'm not quite sure what URL will actually produce the feed. I don't see 
any links set up, and different combinations of terms and paths haven't gotten 
me very far. Suggestions?

Site is http://impactsurvey.org/ccn/


On Thu, Feb 27, 2014 at 2:17 PM, Charlene Chinda Barina 
cbar...@uw.edumailto:cbar...@uw.edu wrote:
I found a reference to a code contribution to do so, I think 
(http://sourceforge.net/p/dspace/mailman/message/28572892/) but I can't find it 
on the site I've just set up.

Anyone else have experience with this?

Thanks!
Charlene

--
Charlene Barina, MPH
Research Analyst 2, U.S. IMPACT Study
The Information School
303-359-6347tel:303-359-6347 | Skype: cbarina
facebook.com/ImpactSurveyhttp://facebook.com/ImpactSurvey | 
twitter.com/impactsurveyhttp://twitter.com/impactsurvey



--
Charlene Barina, MPH
Research Analyst 2, U.S. IMPACT Study
The Information School
303-359-6347 | Skype: cbarina
facebook.com/ImpactSurveyhttp://facebook.com/ImpactSurvey | 
twitter.com/impactsurveyhttp://twitter.com/impactsurvey
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
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] XOAI and broken bitstream links in v3.1?

2013-11-04 Thread Peter Warrington
Hi Mike,

Here's where you can find the patch for 3.1:
https://jira.duraspace.org/browse/DS-1537

Regards, Pete

From: Michael White [michael.wh...@stir.ac.uk]
Sent: 01 November 2013 16:00
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] XOAI and broken bitstream links in v3.1?

Hi,

Whilst working on an XSLT crosswalk for generating uketd_dc OAI-PMH metadata I 
noticed a problem with the Bitstream links - I have been told that this is a 
bug in v3.0 and v3.1, and that it was fixed in v3.2, but, despite a search of 
the mailing list archives, I've not been able to find any info or discussion on 
this.

The issue is, in my v1.6.1 PROD repository I see this in the uketd_dc OAI-PMH 
metadata:

dc:identifier 
xsi:type=dcterms:URIhttps://dspace.stir.ac.uk/bitstream/1893/21/1/Marques_Thesis_Complete.pdf/dc:identifier

- which is correct - however, in my v3.1 DEV system, I see this:

dc:identifier 
xsi:type=dcterms:URIhttp://dspace3dev.stir.ac.uk:8080/bitstream/1893%2F22/1/bitstream/dc:identifier

- and looking at this data in xoai format, I see this:

element name=bitstream
field name=nameMarques_Thesis_Complete.pdf/field
field 
name=originalNameMarques_Thesis_Complete.pdf/field
field name=formatapplication/pdf/field
field name=size1414144/field
field 
name=urlhttp://dspace3dev.stir.ac.uk:8080/bitstream/1893%2F21/1/bitstream/field
field 
name=checksum3d48300aa3c6b10a2813882525a9125f/field
field name=checksumAlgorithmMD5/field
field name=sid1/field
 /element

- which suggests the error is happening in the code that is generating the 
source xoai data?

Can anyone provide any insights into this, or point me in the direction of any 
discussion on this issue.

I appreciate that this issue is reported to have been fixed in v3.2 but I'm 
stuck with v3.1 just now due to the amount of local customisation, so I would 
ideally like to patch my 3.1 instance to resolve this issue if at all possible.

Any suggestions, pointers or insights welcome :-)

Cheers,

Mike

Michael White
eLearning Liaison and Development (eLD)
Information Services
S8, Library
University of Stirling
Stirling SCOTLAND
FK9 4LA
Email: michael.wh...@stir.ac.uk
Tel: +44 (0) 1786 466877
Fax: +44 (0) 1786 466880
http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld



--
The University of Stirling has been ranked in the top 12 of UK universities for 
graduate employment*.
94% of our 2012 graduates were in work and/or further study within six months 
of graduation.
*The Telegraph
The University of Stirling is a charity registered in Scotland, number SC 
011159.


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
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

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
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] search can't sort by date issued

2012-02-23 Thread Peter Warrington
Hi Peter,

Do you know if this been fixed in the latest version?  We are currently running 
1.7.2 and have this problem with date issued metadata values in the multiple 
formats you have mentioned.  In the latest version (1.8.1) it looks like as 
part of the lucene upgrade (DS-980) the sort fields are now explicitly 
specified as STRING types:

http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.1/dspace-api/src/main/java/org/dspace/search/DSQuery.java
 (~line 225)

new SortField(sort_ + args.getSortOption().getName(), SortField.STRING, 
SortOption.DESCENDING.equals(args.getSortOrder())), SortField.FIELD_SCORE

The second parameter (SortField.STRING) is not used in 1.7.2 but could be and 
editing this line seems to resolve the issue.  

I'm not that familiar with the indexing - could this be a temporary fix until 
we upgrade or have I missed something?

Regards Pete


From: Peter Dietz [mailto:pdiet...@gmail.com] 
Sent: 03 February 2012 20:01
To: Thornton, Susan M. (LARC-B702)[LITES]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] search can't sort by date issued

I'll also add that we have two repositories, and one of them can you can 
search, and it will sort properly. And the other has the problems identified in 
this thread. I'm sure both repositories has equally screwy metadata for dates. 
So I'm not entirely sure this is going to be the end of it.

Peter Dietz


On Fri, Feb 3, 2012 at 2:51 PM, Peter Dietz pdiet...@gmail.com wrote:
Hi Sue,

I've been diagnosing this issue in Luke (a Java GUI that allows you browse your 
lucene index). And while digging around, it looked like the sort_dateissued 
field is having trouble with certain date metadata.

In our repository, we have our date metadata values scattered all about.
1981-12-07T16:56:12Z
1981-12-07
1981-12
1981

Each one of them is a valid ISO8601 date. However, that doesn't mean each of 
them is a valid date in Lucene (your search and browse index). A metadata 
person might see 1981-12 as meaning some type of range or approximation. 
However, when you are searching and sorting, it must be able to sort the values 
precisely. So is 1981-12 before or after 1981-12-07? Is 1981-12 before, after, 
or equal to 1981-12-01?

I'll ask my metadata people if we can flatten our metadata for dates, and stuff 
them to have a day (of the first of the month).

And I'll dig further into the DSpace reindexing code to see if when we are 
processing DSpace metadata dates, that might be valid iso8601, that we convert 
them to an appropriate lucene date.


Peter Dietz



On Thu, Feb 2, 2012 at 11:55 PM, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.gov wrote:
Thanks Peter.  I've spent several hours researching this issue, especially why 
we have it in one DSpace instance and not another (running same versions).  
Although I'm not 100% sure, I suspect the issue is caused by invalid data in 
the date.issued field(s) in the respository.  The solution for this, of 
course, would be to clean up the bad dates we have and then put some edits on 
the date fields that end up in DSpace so we do not allow bad dates to get IN 
our repository.  But again, I'm not 100% sure of this and I won't be able to 
get back to looking into this for awhile.
Best regards,
Sue
 
Sue Walker-Thornton
Software Developer|Database Administrator
NASA Langley Research Center
SGT, Inc.|LITES Contract
130 Research Drive
Hampton, VA  23666
Office: (757) 864-2368|Fax: (757) 224-4001|Mobile: (757) 506-9903
Email:  susan.m.thorn...@nasa.gov

From: Peter Dietz [pdiet...@gmail.com]
Sent: Wednesday, February 01, 2012 12:29 PM
To: Cristian Romanescu
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] search can't sort by date issued
Hi All, 

I've just started digging into this as well. Its really unfortunate to only get 
relevance results for searches.

In digging in, I've spit out the stack trace, and its telling me a few things. 
1) Do we have bad metadata for dc.date.issued? 
-- (I've already harassed my content folks to have them review all our 
metadata) ;)

2) Are we doing the comparison of dates incorrectly. The error below says is 
the value of dateissued an INT.
-- I've been reading this thread, which is very 
similar: http://www.gossamer-threads.com/lists/lucene/java-user/109530


2012-01-31 17:47:02,475 ERROR org.dspace.search.DSQuery @ Unable to use 
speficied sort option: dateissued
2012-01-31 17:47:02,475 ERROR org.dspace.search.DSQuery @ Invalid shift value 
in prefixCoded string (is encoded value really an INT?)
2012-01-31 17:47:02,476 ERROR org.dspace.search.DSQuery @ 
java.lang.NumberFormatException: Invalid shift value in prefixCoded string (is 
encoded value really an INT?)
at org.apache.lucene.util.NumericUtils.prefixCodedToInt(NumericUtils.java:233)
at org.apache.lucene.search.FieldCache$7.parseInt(FieldCache.java:237)
at 

[Dspace-tech] search can't sort by date issued

2011-12-20 Thread Peter Warrington
Hello,

We have also encountered this problem (1.7.2/xmlui) - did anyone find a
solution or could offer any advice?

Thanks Pete

-Original Message-
From:   Thornton, Susan M. (LARC-B702)[LITES]
susan.m.thorn...@nasa.gov
Subject:Re: [Dspace-tech] search can't sort by date issued
Date:   Mon, 31 Oct 2011 14:27:07 -0500 (31/10/11 19:27:07)

I have been struggling with this same problem for the past 2 weeks and
have been unable to resolve it as of yet.  I would appreciate anyone's
help!!  We actually had a user report this with the DSpace feedback
feature on our site.
Thanks a bunch,
Sue


Sue Walker-Thornton
(757) 864-2368


-Original Message-
From: James Bardin [mailto:jbar...@bu.edu] 
Sent: Thursday, October 27, 2011 1:12 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] search can't sort by date issued

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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] search can't sort by date issued

2011-12-20 Thread Peter Warrington
For us, this occurs with the regular search.

 

Pete

 

From: bluy...@gmail.com [mailto:bluy...@gmail.com] On Behalf Of Bram
Luyten
Sent: 20 December 2011 13:16
To: Peter Warrington
Cc: dspace-tech@lists.sourceforge.net; susan.m.thorn...@nasa.gov
Subject: Re: [Dspace-tech] search can't sort by date issued

 

Apologies if this has been asked before, but is this occurring with the
regular search or with Discovery enabled?

Bram

-- 

 logohttp://atmire.com/images/@mire_web_2.jpg  

Bram Luyten @mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
  http://www.atmire.com/ www.atmire.com http://www.atmire.com/ 





On Tue, Dec 20, 2011 at 11:30 AM, Peter Warrington
pwarring...@dmu.ac.uk wrote:

Hello,

We have also encountered this problem (1.7.2/xmlui) - did anyone find a
solution or could offer any advice?

Thanks Pete

-Original Message-
From:   Thornton, Susan M. (LARC-B702)[LITES]
susan.m.thorn...@nasa.gov
Subject:Re: [Dspace-tech] search can't sort by date issued
Date:   Mon, 31 Oct 2011 14:27:07 -0500 (31/10/11 19:27:07)

I have been struggling with this same problem for the past 2 weeks and
have been unable to resolve it as of yet.  I would appreciate anyone's
help!!  We actually had a user report this with the DSpace feedback
feature on our site.
Thanks a bunch,
Sue


Sue Walker-Thornton
(757) 864-2368 tel:%28757%29%20864-2368 


-Original Message-
From: James Bardin [mailto:jbar...@bu.edu]
Sent: Thursday, October 27, 2011 1:12 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] search can't sort by date issued

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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

 

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Using item update to add only bitstreams.

2011-05-13 Thread Peter Warrington
Hi David,

Had to do this myself recently - used the following in dublin_core.xml:

dublin_core schema=dc
  dcvalue element=identifier
qualifier=urihttp://example.org/handle/123456789/32/dcvalue
/dublin_core

With the command:

/dspace171/bin/dspace itemupdate -e p...@example.org -s
archive_directory -A

Regards Pete

On Thu, 2011-05-12 at 16:05 +, Isaak, David C wrote:
 Greetings,
 
 I am a repository manager currently running version 1.7.1.  I have 
 successfully used the Item Importer feature before with my files in DSpace's 
 simple archive format, but now for the first time I would like to use the 
 Item Update feature to just add bitstreams to my metadata only records.  It 
 is not entirely clear to me from the manual (section 9.5) what needs to be 
 included in the dublin_core.xml file in this scenario.  Since I am not adding 
 new metadata, is all that is needed the id and collection tags?  
 
 Thanks in advance,
 David
 
 David Isaak
 Digital Projects Librarian
 Center for Health Research
 Kaiser Permanente
 3800 N. Interstate Ave.
 Portland Oregon, 97227
 503.335.2437 (tie-line 60-2437)
 david.is...@kp.org 
 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding 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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding 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