[Dspace-tech] Listing articles of a given collection in a Departmental webpage

2012-07-17 Thread amutsikiwa
Hi

 

We are running DSpace 1.8.2. Our DSpace instance http://ir.uz.ac.zw is
organized along department community/collection. I would like to list
articles available in a given  departmental collection on their  webpage on
our University website. I would appreciate any help in  to this end.

 

Regards,

 

Admire Mutsikiwa

University of Zimbabwe Library

--
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] Listing articles of a given collection in a Departmental webpage

2012-07-17 Thread helix84
On Tue, Jul 17, 2012 at 8:34 AM, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:
 We are running DSpace 1.8.2. Our DSpace instance http://ir.uz.ac.zw is
 organized along department community/collection. I would like to list
 articles available in a given  departmental collection on their  webpage on
 our University website. I would appreciate any help in  to this end.

Hi Admire,

I already answered your question. Was the answer not satisfactory?
What did you try that did not work?

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

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] DOIs Integration with DSpace

2012-07-17 Thread Lighton Phiri
Ryan, Mark,

Thank you very much for your insightful input.

Lighton Phiri
http://lightonphiri.org


On 16 July 2012 00:02, Ryan Scherle re...@duke.edu wrote:

 Lighton,

 Here are a few more things to consider. First a few brief words about
 cost, and then my technology rant

 == About Cost  ==

 Yes, DOIs cost more than handles. The actual cost structure depends on
 which RA you choose, so it's hard to say how much it will cost you, but
 DOIs will definitely cost more. See EZID fees at
 http://n2t.net/ezid/home/pricing and CrossRef fees at
 http://www.crossref.org/02publishers/20pub_fees.html

 Mark mentioned several benefits that you receive for the cost of DOIs -- I
 agree with all of those. Essentially, DOIs and the metadata associated with
 the DOIs are visible/usable by a broader audience than Handles. There are
 many external services that read data from the DOI system. There are many
 tools that know how to use DOIs. New tools created in the future are likely
 to support DOIs. They are somewhat less likely to support Handles.

 Personally, I think you should consider the cost of starting out with
 Handles and then later switching to DOIs. Or vice versa. Once your
 identifiers are publicly available, you'll need to support them forever. It
 is better if you make the right decision up front. Otherwise, you may end
 up supporting both systems.

 == About Technology ==

 Here, I completely disagree with Mark. Yes, DOIs *are* technically
 superior to Handles. Although the core technologies were the same, the DOI
 system has evolved and is still getting better, while the Handle system has
 stayed nearly the same for many years. A few issues to consider:

 1) In my experience, new users of DSpace always require a full day to
 register an Handle prefix and properly configure a Handle server -- hardly
 out of the box. The process for registering a Handle server involves
 generating a binary file and sending this binary file to a human, who will
 then decode the binary file and configure the central Handle system. Why
 can't the DSpace administrator do this configuration directly with an
 online tool? Simply because the Handle system hasn't been updated in a very
 long time. Contrast this with DOIs: Assuming the DSpace code supports your
 RA, the only setup required will be editing a few fields in a configuration
 file.

 2) The Handle system requires you to run a Handle server on your DSpace
 machine. The Handle server is a separate process, which is one more piece
 of technology to manage. It requires the sysadmin to open a separate port
 to the outside world. It requires maintenance like any other process:
 ensuring the process starts correctly when a machine is rebooted,
 monitoring the process to ensure it is working correctly, managing log
 files, etc. Although all of these are small issues, they add just a little
 more to the hidden cost of running the system. DOIs don't require an extra
 process running on your server; they can use the existing DSpace processes.

 3) The Handle system only recognizes machines by IP address, not by DNS
 name. Our production server moved a few weeks ago, and a change of IP
 address was required. The DOIs continued to work correctly, because they
 followed the DNS name to the new machine. The Handles broke, because I
 forgot to send the new IP address to CNRI. And due to the poor
 implementation discussed above, even though I know what I'm doing and I
 have good documentation, fixing this problem took about 2 hours.

 Some of these problems are documented by CNRI:
 http://www.handle.net/support.html

 I think many people in the DSpace community have come to accept the pain
 of the Handle technology as part of the cost of running a repository,
 which is sad.

 --- Ryan Scherle
 --- Data Repository Architect
 --- Dryad Digital Repository

 On Jul 15, 2012, at 8:32 PM, Mark Diggory wrote:

 Lighton,

 We are working on a contribution to DSpace 3.0 that includes functionality
 to assign external identifiers such as DOI in DSpace.  This is based on
 work at @mire did with NESCent on Dryad,  but also on some funded
 contribution work that is also happening this summer with WHOI to improve
 the contribution.  Our current situation with DOI integration is that you
 will need to be registered with an RA.  For Dryad, that provider was
 originally Datacite, but now is EZID. The API used in this situation is
 novel and unstandardized, each situation we've encountered required custom
 coding in DSpace, thus what is being contributed is specifically designed
 to support customizable ID providers on the backend.

 You will find that the Handle RA is significantly more cost effective than
 any of the existing DOI RA, this is one of the original intents of using
 the Handle platform for repositories, where costs are a significant
 concern.  What you are getting with those additional DOI costs are
 additional services being matketed by those various RA providers, 1.
 someone else's 

Re: [Dspace-tech] Listing articles of a given collection in a Departmental webpage

2012-07-17 Thread helix84
On Tue, Jul 17, 2012 at 9:42 AM, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:
 Hi Helix,

  I managed to get something by going to 
 http://ir.uz.ac.zw/xmlui/DRI/handle/10646/4 . However, I am at a loss at how 
 to use the resultant XML file and incorporate it into another website.

 Regards,

 Admire Mutsikiwa

Please, always CC dspace-tech when replying.

That depends on what application you use to generate your webpages.
From what I can see you use PHP. So you can read the XML file from the
PHP script which generates your page, extract the data you want and
display it. I recommend you use SimpleXML [1], it's really simple and
will be sufficient for the job.

In other words, DSpace gave you the data, what you do with it is up to you.

[1] http://www.php.net/manual/en/book.simplexml.php

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] Listing articles of a given collection in a Departmental webpage

2012-07-17 Thread Steve Swinsburg
Hi

You could use one of the feeds for a collection and then just transform that 
into HTML. We were looking at enhancing the RSS feed for this purpose.

Cheers
Steve

Sent from my iPhone

On 17/07/2012, at 16:58, amutsikiwa 
amutsik...@uzlib.uz.ac.zwmailto:amutsik...@uzlib.uz.ac.zw wrote:

Hi

We are running DSpace 1.8.2. Our DSpace instance http://ir.uz.ac.zw is 
organized along department community/collection. I would like to list articles 
available in a given  departmental collection on their  webpage on our 
University website. I would appreciate any help in  to this end.

Regards,

Admire Mutsikiwa
University of Zimbabwe Library


--
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.netmailto: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] DSpace REST API

2012-07-17 Thread Hayden Young

Hi Gary

Good to hear you got it working.

Hi Peter

Yes, there should be separate count endpoints for endpoints such as 
/items and /communities (E.g. /items/count and /communities/count). I'm 
working on a CMS-based UI for DSpace but haven't had time to revisit the 
Github-based API; I'm hoping to revisit in the next 4 - 6 weeks when 
things quieten down and will test these endpoints thoroughly. I will 
also update the documentation (it is currently missing docs for sort 
parameters from the various list endpoints).


Cheers


Hayden

On 17/07/12 08:51, Gary Browne wrote:


Hi Peter,

Somehow I missed that reply -- great, that did the trick!

Thanks a lot,

Gary

*From:*Peter Dietz [mailto:pdiet...@gmail.com]
*Sent:* Tuesday, 17 July 2012 12:56 AM
*To:* Gary Browne
*Cc:* dspace-tech Tech
*Subject:* Re: [Dspace-tech] DSpace REST API

Hi Gary,

Regarding fixing your 500 error, see my previous response for how to 
fix it. Either my catalina.log or dspace.log (I forget which) was 
saying that I had my database config settings wrong instead of my 
/dspace/config/dspace.cfg, it was looking for a 
/devel/dspace/config/dspace.cfg.


Also, I think you are supposed to run create_integration_test_db.sh 
https://github.com/hedtek/dspace-rest/blob/master/create_integration_test_db.sh


==

I did spend a little bit of time trying to build some type of client 
user interface based off of REST. I couldn't decide if there was a 
best language/framework for doing this easily, so I just started 
playing with Play! Framework to make some HTTP requests to the API. It 
was fairly easy to get started, and it has pre-included support for 
parsing JSON.


A few bugs perhaps... ?

The documentation says there is a method to get the count of the 
number of total collections. 
https://jspace.atlassian.net/wiki/display/DSPACEAPI/GET_collections_count


However, accessing that endpoint didn't seem to do anything, except 
for error out that it didn't exist.


http://localhost:8080/rest/collections/count.xml

Same with communities/count.xml

When trying to dig deeper, and get the count number of items in a 
collection, I also ran into issues.


collections/:id:/items/count.format

just gave me the same data as

collections/:id:/items.format

If anyone has any app they've written to help test the REST API then 
I'd be interested in it. (I'm thinking more an app the resembles a 
DSpace user interface, then a Unit test). I started to look at the 
GSOC 2011 Rest Client, so I suppose that could be something to look at.


Peter Dietz


On Mon, Jul 16, 2012 at 12:58 AM, Gary Browne 
gary.bro...@sydney.edu.au mailto:gary.bro...@sydney.edu.au wrote:


Hi Hayden,

Yes, like helix84 said, I can get a .war output that way which unpacks 
ok under Tomcat. But I'm new to REST and need some pointers on how to 
test it.


What I started with was issuing URIs to a browser (just manually 
entering them):


http://$dev-server/rest/

This results in a describe page being displayed. Promising, I 
thought. Let's try one of the entities. When I clicked on communities 
or communities (xml), once again I get describe pages displaying in 
the browser. Great.


Now if I try something like:

http://$dev-server/rest/communities

I get a blank page. The catalina log is attached. Would you have any 
idea what's going on here?


I even tried a simple curl script in PHP and didn't get any errors, 
but also produced a blank page output.



Thanks a lot,
Gary



 -Original Message-
 From: Hayden Young [mailto:haydenyo...@wijiti.com 
mailto:haydenyo...@wijiti.com]


 Sent: Wednesday, 11 July 2012 4:17 PM
 To: dspace-tech@lists.sourceforge.net 
mailto:dspace-tech@lists.sourceforge.net

 Subject: Re: [Dspace-tech] DSpace REST API


 Hi Gary

 Please try changing the following line in your pom.xml from:

 version1.8.1/version

 to:

 version1.8.2/version

 and see if that solves your issue.

 Cheers


 Hayden

 On 10/07/12 09:55, Gary Browne wrote:
  Hi Hayden,
 
  I'm keen to try this out, however I am unable to install it - 
should it run ok

 on 1.8.2?
 
  On building (mvn package), I get the following error:
 
  [INFO] Unable to find resource 'org.dspace:dspace-rest:war:1.0' in
  repository central (http://repo1.maven.org/maven2) [INFO]
  --
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  --
  [INFO] Failed to resolve artifact.
 
  Missing:
  --
  1) org.dspace:dspace-rest:war:1.0
 
 Try downloading the file manually from the project website.
 
 Then, install it using the command:
 mvn install:install-file -DgroupId=org.dspace
  -DartifactId=dspace-rest -Dversion=1.0 -Dpackaging=war
  -Dfile=/path/to/file
 
 Alternatively, if you host your own repository you can deploy 
the file

 there:
 mvn deploy:deploy-file -DgroupId=org.dspace
  -DartifactId=dspace-rest -Dversion=1.0 -Dpackaging=war
  

Re: [Dspace-tech] Pseudo flash streaming with seeking in Mirage

2012-07-17 Thread Evelthon Prodromou
Hi Tom,


Haven't tried it, You would need to alter the xsl file and somehow use a
for-each statement.


All the best,


Evelthon


On 07/16/2012 06:15 PM, Thomas Misilo wrote:

 Hi Evelthon,

  

 I was wondering if this supports having more than 1 video file per item?

  

 Thanks,

  

 Tom

  

 *From:*Evelthon Prodromou [mailto:prodromou.evelt...@ucy.ac.cy]
 *Sent:* Monday, July 16, 2012 7:57 AM
 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] Pseudo flash streaming with seeking in Mirage

  

 Hello everyone,

 I 've written a small how-to on pseudo flash streaming with seeking
 http://prodromou.eu/2012/07/flash-streaming-in-dspace/, on Mirage
 theme. It's quite easy, and you should be able to reproduce it
 yourselves. What's nice in this case is the ability to move to parts
 of the video that were not downloaded.

 Not sure if this was described before, but i thought of sharing in
 case anyone else is interested.


 All the best,

 Evelthon


--
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] Uploading and Displaying the Author's passport sized photo

2012-07-17 Thread helix84
On Mon, Jul 16, 2012 at 12:00 PM, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:
 I am interested in uploading and displaying the Author's passport sized
 photo together with an article.  I will appreciate any help.

Hi Admire,

in current versions of DSpace, you could enable thumbnails in
dspace.cfg (webui.browse.thumbnail.show = true and/or
webui.item.thumbnail.show = true) and upload that picture as a
thumbnail in the THUMBNAIL bundle of each item.

Of course, that has the disadvantage of duplicated images. This might
be resolved in the next DSpace version if this code [1] makes it in -
it will allow you to have metadata on authors, not just items. So you
could store the photos just once (inside or outside DSpace) and then
add the link as metadata to the author, which would be then be easy to
display. This is the approach I would take unless you need it right
away.

And there's also a third option - you could store the pictures
somewhere (again, inside or outside DSpace) and then associate them
with the authors by name. The easiest thing would be to store the
picture as file with the author's name and then render the link like
this: img src=/someplace/Author's Name.jpg /. On the item/search
result's page, you could simply take the author's name and put it into
the URL. Of course, this makes it almost impossible (i.e. unless you
use auhtorities) to distinguish between two distinct authors with the
same name.

[1] https://github.com/DSpace/DSpace/pull/12

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