Re: [Dspace-tech] Mobile interface for DSpace

2012-08-02 Thread Tzoc Caniz, Elias
Hi all,

A 'first' mobile theme seems to be working on a local instance, I've added a
comment with some links in https://jira.duraspace.org/browse/DS-1017

We're in the process of testing it on a production machine, but we're having
some issues in deploying the 'mobile' folder -which is a copy of the 'xmlui'
webapps.

Anyway, feel free to test it on your mobile devices ... and feedback will be
more than needed :-)

Elias 


On 5/30/12 1:42 PM, "Tim Donohue"  wrote:

> 
> Hi Elias,
> 
> A few other tips to add to helix84's good references..
> 
> On 5/30/2012 11:43 AM, helix84 wrote:
>> On Wed, May 30, 2012 at 5:54 PM, Tzoc Caniz, Elias  wrote:
>>> This summer, I'm interested in working on a 'basic' mobile prototype for
>>> DSpace and got two questions:
>>> 1. is anyone working on a mobile interface already? -I've seen some
>>> questions in the list, but so far no examples.
> 
> I'd agree that you might want to get in touch with Jonathon Scott to see
> if he's still working on this, or if he's been unable to get back to
> this work. You could always just add a comment to the already open JIRA
> ticket:  https://jira.duraspace.org/browse/DS-1017
> 
> In general though, I think it'd be great for DSpace to have a mobile
> interface. So, I'd also encourage you to submit your work back to the
> community via a JIRA ticket (or by sending us a Pull Request via GitHub,
> if you are using GitHub: https://github.com/DSpace/DSpace/)
> 
> More on sending a Pull Request and/or using DSpace + GitHub is at:
> https://wiki.duraspace.org/display/DSPACE/Development+with+Git
> 
> But, if you don't want to dig into using GitHub, you are more than
> welcome to submit any contribution via JIRA. Feel free to use whatever
> is easiest for you.
> 
>> 
>> Hi Elias,
>> 
>> you may want to contact Jonathon to coordinate with him:
>> 
>> https://jira.duraspace.org/browse/DS-1017
>> 
>>> 2. is there a way to have 2 themes (regular and mobile) working concurrently
>>> for the same instance? -the current XMLUI setup seems to only allow one
>>> theme at a time.
>> 
>> One way is to specify theme per-request:
>> https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakintheme
>> tutorial-Dynamicallyswitchingoutthemes
>> 
>> Another way would be to create a copy of the XMLUI webapp configured
>> with a different theme.
> 
> 
> In terms of implementation, it may also be worth investigating whether
> it'd be possible to just apply a different CSS for mobile devices (i.e.
> maybe it could be the same theme, just a different CSS).  The various
> Theme specific 'sitemap.xmap' files allow you to actually configure
> which CSS file(s) to load based on the type of web browser. For,
> example, see this section of the main "Reference" theme's sitemap.xmap:
> 
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/
> src/main/webapp/themes/Reference/sitemap.xmap#L104
> 
> If you look closely, it loads different CSS files based on whether the
> browser is IE6, a different version of IE, or some other (non-IE) browser.
> 
> Plus, it is possible to define new "types" of browsers (based on the
> User Agent that the browser reports) in the primary XMLUI sitemap here:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/
> src/main/webapp/sitemap.xmap#L145
> 
> I'll admit, I'm not sure if it'd be as easy as a new set of mobile CSS
> files. But, it's worth investigating whether you can make DSpace more
> mobile friendly just by tweaking CSS, rather than creating an entirely
> separate theme.
> 
> If it does take an entirely separate theme, it may be possible to do
> some sort of automated redirect for mobile browsers to that new mobile
> theme. As helix84 linked to, there's a debugging flag
> (xmlui.theme.allowoverrides flag in dspace.cfg) that could potentially
> be used to dynamically change the theme.
> 
> Or, it may be possible to build a new config (named something like
> "xmlui.theme.mobile = mobile-theme-name"), which when enabled will cause
> DSpace to apply the configured mobile theme for any request coming from
> a mobile-browser.
> 
> These are all just brainstorms. :) I think the first step would be to
> start creating a mobile theme (obviously), and then we can help work on
> ways to enable it for mobile browsers.
> 
> Good luck! Feel free to ask more questions or brainstorm ideas as you
> proceed -- either on this list or on the dspace-devel list.
> 
> - Tim


--
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

Re: [Dspace-tech] About dynamic special group

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 8:38 PM, Sergio Belkin  wrote:
> I've found that 1.5.2 has the ldap.login.specialgroup feature that I
> think does what I'm looking for: whenever a ldap user is
> automatically. Could anyone confirm this? I've never used xmlui, is
> hard migrating from jspui to xmlui?

Please, always CC dspace-tech.

Yes, it adds all users who log via LDAP into one specified group. Its
effect is dynamic - the group membership isn't stored permanently,
instead it's assigned during each login. You can verify group
membership in your profile when logged in. Additionally, there's a
patch that allows assigning users to multiple such user groups based
on LDAP attributes and it should make it into DSpace 3.0.

XMLUI is a completely separate webapp, both can live in parallel on a
different URL (e.g. JSPUI in the root URL "/" and XMLUI in "/xmlui").
They both have similar basic features, but largely differ internally.
You can find additional details in the documentation.

You don't need to migrate to XMLUI to use the specialgroups feature,
it works in both interfaces. The wildcard policy admin is only in
XMLUI, but like I said, you can have XMLUI deployed alongside JSPUI
and only use it occasionally when you need the tool.

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] Howto on Using DSpace Modules (overlays)

2012-08-02 Thread Hilton Gibson
Hi Tom

Try this: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Presentation

Cheers

hg

On 2 August 2012 19:55, Thomas Misilo  wrote:

>  Hi,
>
> ** **
>
> I found a powerpoint that talked about Customizing DSpace 1.5 with Basic
> Overlays, and I had some questions about it. The powerpoint seems to talk
> using a release version, however I am using the 1.8.2-src version and was
> wondering would I follow it the same way and if there was any newer
> documentation on using modules with xmlui and 1.8.2?
>
> ** **
>
> Thanks in advance!
>
> ** **
>
> Tom
>
> ** **
>
>
> --
> 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
>
>


-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
--
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] Howto on Using DSpace Modules (overlays)

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 7:55 PM, Thomas  Misilo  wrote:
> I found a powerpoint that talked about Customizing DSpace 1.5 with Basic
> Overlays, and I had some questions about it. The powerpoint seems to talk
> using a release version, however I am using the 1.8.2-src version and was
> wondering would I follow it the same way and if there was any newer
> documentation on using modules with xmlui and 1.8.2?

Hi Thomas,

yes, you found Tim's document which is still pretty much the best
description. Any questions - ask away, this is the right place.

Using -src shouldn't be any different in this respect.

In fact I recently tried to create a non-trivial code overlay myself
and wanted to document my experiences, but I surely won't get around
to do it until after the freeze.

Regards,
~~helix84

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


[Dspace-tech] Howto on Using DSpace Modules (overlays)

2012-08-02 Thread Thomas Misilo
Hi,

I found a powerpoint that talked about Customizing DSpace 1.5 with Basic 
Overlays, and I had some questions about it. The powerpoint seems to talk using 
a release version, however I am using the 1.8.2-src version and was wondering 
would I follow it the same way and if there was any newer documentation on 
using modules with xmlui and 1.8.2?

Thanks in advance!

Tom

--
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] size matters

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 7:39 PM, Mark Ludwig  wrote:
> Yes, Thanks for your reply.
> I agree that theoretically it should work.
> However, on a practical level,
> if the large files were simply on items in DSpace,
> we would have users hosing their PCs and workstations because no one has
> terabytes sitting around free. And the downloads would take some time and
> sneak up on them. If you click out of DSpace, the downloads can continue
> until
> your disk is full.
>
> I have also run into Java size limits. For example, I cannot upload a
> zip file over about 1.3 Gbytes. It says it cannot do a multi-part file of
> that size.
> So if the system cannot always handle gbytes of upload, we may likely see
> new
> problems with tbytes of download.

Oh, uploads are a different beast, I wasn't talking about HTTP uploads
at all. It's only wise to avoid them and use command-line importers,
there are several to choose from.

What you're referring to is probably DS-1124 [1], which was fixed in 1.8.2.

> What I am kicking around is DSpace cataloging of these files
> where the uploaded file on the item is actually a script to
> fire up a background sftp. These will supposedly be public files,
> so yes, it's an anon ftp. But the script could have explicit warnings about
> the size and
> contact info for help, etc. Of course DSpace can do that also.

I see, OK. I also think it's wise to include the warnings and
instructions. But what would such script look like for a platform
which doesn't have OpenSSH installed by default, like Windows?

P.S. Please, always CC dspace-tech.

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

Regards,
~~helix84

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


[Dspace-tech] Configuring curation task in worwflow

2012-08-02 Thread emilio lorenzo


The environment is DSPACE 1.8 + xmlui + curation system. Any invocation 
of curation tasks from the UI goes OK and logs are OK, so I assume 
curation configuration is right.


But, I cant get working the curation task activation via the workflow 
system


Following the documentation,  I ´m using the configuration file 
workflow-curation.xml,  to wire vscan  (or any other declared task)  to 
step1  in a workflow.   Something like:



   


  

  ...

I´ve tested the above configuration with the new xml-workflow system (changing 
the name of one step to match Step1) as

 






but with no results... In the logs files doesnt appear any invocation to 
org.dspace.curate.Curator class or any other error, just normal messages from 
org.dspace.xmlworkflow. classes
The main questions is the reference to step1  (  in 
workflow-curation.xml)...

In which way the relation between steps and taskset-map is defined? anything I 
missed out?

any help would be appreciated

Emilio

--

--
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] Theses count is 0 in stats

2012-08-02 Thread emilio lorenzo
In the "old· statistics setttings, probably   Kirti   is referring to 
the parameters in dstat.cfg

# The item types in the archive that you need number breakdowns on
item.type=Thesis or Dissertation
item.type=Preprint
item.type=Research Paper

That setting breakdowns the statistics in above categories. I ignore how 
dc.types are matched against those report categories

Emilio



El 02/08/2012 18:37, helix84 escribió:
> On Thu, Aug 2, 2012 at 6:29 PM, Kirti Bodhmage  wrote:
>> We have quite a lot of theses in our repository.  They are submitted as
>> dc.type = Thesis in repository.
>> But statistics page that display all the statistic of the repository does
>> not show any theses count.
> If you're referring to community and collection "strengths" - the
> numbers in brackets, then you have to run
> [dspace]/bin/dspace itemcounter to update these counts.
>
> If you're referring to something else, perhaps you need to run
> [dspace]/bin/dspace index-update and if you're using discovery, also
> [dspace]/bin/dspace update-discovery-index
>
> Where exactly do you see these counts?
>
> Regards,
> ~~helix84
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

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


Re: [Dspace-tech] Theses count is 0 in stats

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 6:29 PM, Kirti Bodhmage  wrote:
> We have quite a lot of theses in our repository.  They are submitted as
> dc.type = Thesis in repository.
> But statistics page that display all the statistic of the repository does
> not show any theses count.

If you're referring to community and collection "strengths" - the
numbers in brackets, then you have to run
[dspace]/bin/dspace itemcounter to update these counts.

If you're referring to something else, perhaps you need to run
[dspace]/bin/dspace index-update and if you're using discovery, also
[dspace]/bin/dspace update-discovery-index

Where exactly do you see these counts?

Regards,
~~helix84

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


[Dspace-tech] Theses count is 0 in stats

2012-08-02 Thread Kirti Bodhmage

Hi,

We have quite a lot of theses in our repository.  They are submitted as 
dc.type = Thesis in repository.
But statistics page that display all the statistic of the repository 
does not show any theses count.


Do we need to any tweaking any of the config file?

thanks
Kirti

--
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] size matters

2012-08-02 Thread helix84
Hi Mark,

I don't have the experience, just theoretizing here:

DSpace shouldn't be any different from any other web server in respect
to serving large files. Storage depends on the filesystem you use,
HTTP technically doesn't care about size and Tomcat just passes on the
data stream. So the issue boils down to whether it's practical to
transport large files via HTTP and what are the alternatives.

IMHO the problem is only with HTTP clients which don't have the
capability to resume download. Users who don't know how large the
files may be would be surprised, but users who expect that would use a
download manager (including curl/wget under this umbrella) anyway. So
maybe it would make sense to detect the user agent and warn users
somehow.

> However, I suppose we could have some sort of sftp script linked from some 
> items with meta data for the files.

I didn't understand what you're proposing here. Do you mean that in
item metadata you could have a download link to some script? That's
definitely possible. But what would the purpose be? And do you intend
to have an anonymous SFTP server for the items in addition to HTTP?

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] Log into DSpace with curl

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 5:12 PM, Brown, Simon Contractor, Digital
Consulting Services  wrote:
> Have you successfully used the 'content searching' part of the API?  Didn’t 
> work for me -- very basic queries would fail to return any results.  It also 
> lacks any specificity -- how do you do an advanced query with the API?  Can 
> you search by author and then limit to a certain publication year??? Probably 
> not, but I can do that with screen scraping.  I would love it if the API 
> could do a /search?author=Simon+Brown&pubyear=2012 but I don't think it does 
> that?

I haven't tested this aspect of the REST API, so I really don't know.
The documentation is also very silent on this point [1] - doesn't say
anything on what query parameter should look like.

However, Solr should be perfect for your purpose. Any query you can
express in Discovery you can ask Solr directly.

You may be also interested in these developments: [2] [3]
[2] Doesn't have the code published yet, but it's coming. It would be
very helpful if you could review and comment on [3].

[1] https://wiki.duraspace.org/display/DSPACE/REST+API#RESTAPI-Contentsearching
[2] https://jira.duraspace.org/browse/DS-1217
[3] https://jira.duraspace.org/browse/DS-1224

Regards,
~~helix84

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


[Dspace-tech] size matters

2012-08-02 Thread Mark Ludwig
We have a potential project to preserve and share some
very large data files. I am told these would be data files of
2-20 Terabytes each file. I am not sure I believe this, but I am
wondering if any of you have dealt with anything like this.
Supposedly the collection would amount to hundreds of
Tbytes over a number of years.

I don't see this as a good DSpace application.
No one is rationally going to click on a multi-terabyte file and
casually download it. (at least in 2012).
However, I suppose we could have
some sort of sftp script linked from some items with meta data
for the files.

Please drop me an email if you've dealt with
multi-Tbyte files and collections. I will summarize for the list.

Thanks,
Mark


-- 
Mark Ludwig
Director of Research Systems Development
University Libraries
SUNY at Buffalo
Buffalo, NY 14260
716 645 5952
--
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] Log into DSpace with curl

2012-08-02 Thread Pottinger, Hardy J.
Aha, you may be interested in the SkylighUI project:

https://github.com/skylightui/skylight

It's a CodeIgnitor (a simple PHP framework) interface which relies upon
the DSpace Discovery Solr index. You could just query Solr directly, but I
think you might like to borrow some of the heavy lifting in SkylightUI.
Kim Shepherd would be able to provide you with more info on the project.

--
HARDY POTTINGER 
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"I am always doing that which I cannot do, in order that I may learn how
to do it." --Pablo Picasso





On 8/2/12 10:25 AM, "Brown, Simon Contractor, Digital Consulting Services"
 wrote:

>My use for this is making a tool for generating/extracting metadata
>reports (e.g. a bibliography based on a advanced search query) into a
>useable data format (.csv) for the staff at my library.  DSpace lacks
>functions that allow saving lists and exporting citations so this is kind
>of a work around.  Also, you can extract metadata by collection for batch
>editing and mapping, but not by query.  What if you want to map an
>author's publications to a new collection for that author but the
>author's publications are spread across many different collections?  I
>should be able to generate the metadata spreadsheet for batch editing not
>just based on collection, but based on any query that I can think of
>doing based on the metadata and full text.  I already have a good start
>to doing this with screen scraping, but I'm just lacking the item IDs --
>hence the login with RCurl.  This tool is for library staff (and anyone
>else who is willing), not for the administrator of the website who can do
>SQL queries if they wanted.  People who need to access the data, not just
>the documents.  This is what I have so far (also contains some scripts
>for making SIPs from a spreadsheet):
>https://wiki.nps.edu/display/CIR/CalhounTools+--+An+R+Package+for+Common+R
>epository+Tasks
>
>
>
>-Original Message-
>From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu]
>Sent: Thursday, August 02, 2012 7:27 AM
>To: Bram Luyten; Brown, Simon Contractor, Digital Consulting Services
>Cc: dspace-tech@lists.sourceforge.net
>Subject: Re: [Dspace-tech] Log into DSpace with curl
>
>Hi, Simon, I know that I would be interested in hearing more about what
>it is you're up to. :-) What's your use case for the item ID once you
>scrape it? Is this something that the REST-API module might be able to do
>for you?
>--
>HARDY POTTINGER  University of Missouri Library
>Systems http://lso.umsystem.edu/~pottingerhj/
>https://MOspace.umsystem.edu/
>"And remember, also" added the Princesss of Sweet Rhyme, "that many
>places you would like to see are just off the Map and many things you
>want to know are just out of sight or a little beyond your reach. But
>someday you'll reach them after all, for what you learn today, for no
>reason at all, will help you discover all the wonderful secrets of
>tomorrow."
>
>--Norton Juster, The Phantom Tollbooth
>
>
>
>
>
>
>On 8/2/12 3:37 AM, "Bram Luyten"  wrote:
>
>>
>>
>>
>>Hi Simon,
>>
>>this is new to me as well, I got it to work using:
>>
>>curl --data "login_email=myname%40gmail.com
>>&login_password=password&submit=Sign+in"
>>http://www.mydspace.com/password-login
>>
>>I had some issues first using the --data-urlencode parameter instead of
>>--data. This also encoded the ampersands which shouldn't have happened
>>to make it work.
>>
>>If you debug your query, following bit in the return html is interesting:
>>
>>>class="ds-text-field error" name="login_email" type="text"
>>value="contents of your query" title="The email address and/or password
>>supplied were not valid." /> * The email address
>>and/or password supplied were not valid.
>>
>>because I saw that all my parameters ended up in that field, I realized
>>there was something wrong with the ampersand encoding.
>>
>>On a sidenote, if you play around with forms, encoding and parameters,
>>Tamper Data is a nice little firefox add-on that allows you to see and
>>tamper with the requests you make & responses you get.
>>
>>https://addons.mozilla.org/en-us/firefox/addon/tamper-data/
>>
>>cheers,
>>
>>Bram
>>
>>--
>> 
>>Bram Luyten@mire
>>2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4,
>>Heverlee 3001, Belgium
>>  www.atmire.com
>>>m=e
>>mail&utm_campaign=braml>
>>
>>
>>On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital
>>Consulting Services  wrote:
>>
>>We are using DSpace 1.8.2 with the JSPUI admin interface.   I would like
>>to log into DSpace using curl (or more precisely RCurl) because I want
>>to be able to scrape item IDs (not the handles, but the actual IDs).
>>My code looks something  like this:
>> 
>>postForm(³dspace/Š./password-login², login_email=²user²,
>>login_password=²password²)
>> 
>>It basic

Re: [Dspace-tech] Log into DSpace with curl

2012-08-02 Thread Brown, Simon Contractor, Digital Consulting Services
My use for this is making a tool for generating/extracting metadata reports 
(e.g. a bibliography based on a advanced search query) into a useable data 
format (.csv) for the staff at my library.  DSpace lacks functions that allow 
saving lists and exporting citations so this is kind of a work around.  Also, 
you can extract metadata by collection for batch editing and mapping, but not 
by query.  What if you want to map an author's publications to a new collection 
for that author but the author's publications are spread across many different 
collections?  I should be able to generate the metadata spreadsheet for batch 
editing not just based on collection, but based on any query that I can think 
of doing based on the metadata and full text.  I already have a good start to 
doing this with screen scraping, but I'm just lacking the item IDs -- hence the 
login with RCurl.  This tool is for library staff (and anyone else who is 
willing), not for the administrator of the website who can do SQL queries if 
they wanted.  People who need to access the data, not just the documents.  This 
is what I have so far (also contains some scripts for making SIPs from a 
spreadsheet):  
https://wiki.nps.edu/display/CIR/CalhounTools+--+An+R+Package+for+Common+Repository+Tasks



-Original Message-
From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
Sent: Thursday, August 02, 2012 7:27 AM
To: Bram Luyten; Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Log into DSpace with curl

Hi, Simon, I know that I would be interested in hearing more about what it is 
you're up to. :-) What's your use case for the item ID once you scrape it? Is 
this something that the REST-API module might be able to do for you?
--
HARDY POTTINGER  University of Missouri Library 
Systems http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"And remember, also" added the Princesss of Sweet Rhyme, "that many places you 
would like to see are just off the Map and many things you want to know are 
just out of sight or a little beyond your reach. But someday you'll reach them 
after all, for what you learn today, for no reason at all, will help you 
discover all the wonderful secrets of tomorrow."

--Norton Juster, The Phantom Tollbooth






On 8/2/12 3:37 AM, "Bram Luyten"  wrote:

>
>
>
>Hi Simon,
>
>this is new to me as well, I got it to work using:
>
>curl --data "login_email=myname%40gmail.com 
>&login_password=password&submit=Sign+in"
>http://www.mydspace.com/password-login
>
>I had some issues first using the --data-urlencode parameter instead of 
>--data. This also encoded the ampersands which shouldn't have happened 
>to make it work.
>
>If you debug your query, following bit in the return html is interesting:
>
>class="ds-text-field error" name="login_email" type="text"
>value="contents of your query" title="The email address and/or password 
>supplied were not valid." /> * The email address 
>and/or password supplied were not valid.
>
>because I saw that all my parameters ended up in that field, I realized 
>there was something wrong with the ampersand encoding.
>
>On a sidenote, if you play around with forms, encoding and parameters, 
>Tamper Data is a nice little firefox add-on that allows you to see and 
>tamper with the requests you make & responses you get.
>
>https://addons.mozilla.org/en-us/firefox/addon/tamper-data/
>
>cheers,
>
>Bram
>
>--
> 
>Bram Luyten@mire
>2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4, 
>Heverlee 3001, Belgium
>  www.atmire.com
>m=e
>mail&utm_campaign=braml>
>
>
>On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital 
>Consulting Services  wrote:
>
>We are using DSpace 1.8.2 with the JSPUI admin interface.   I would like
>to log into DSpace using curl (or more precisely RCurl) because I want 
>to be able to scrape item IDs (not the handles, but the actual IDs).  
>My code looks something  like this:
> 
>postForm(³dspace/Š./password-login², login_email=²user²,
>login_password=²password²)
> 
>It basically always returns ³The e-mail address and password you 
>supplied were not valid²
> 
>Is it not possible to log in using curl?  If it is possible I¹ll figure 
>it out eventually, but if it¹s not I would rather not spend the time on 
>it.
> 
>Simon Brown
>Digital Consulting Services
>Supporting the Dudley Knox Library, Naval postgraduate School 
>scbr...@nps.edu
>831.656.3574 Phone
>831.656.3238 Fax
> 
>
>
>
>---
>---
>
>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.accel

Re: [Dspace-tech] Log into DSpace with curl

2012-08-02 Thread Brown, Simon Contractor, Digital Consulting Services
Have you successfully used the 'content searching' part of the API?  Didn’t 
work for me -- very basic queries would fail to return any results.  It also 
lacks any specificity -- how do you do an advanced query with the API?  Can you 
search by author and then limit to a certain publication year??? Probably not, 
but I can do that with screen scraping.  I would love it if the API could do a 
/search?author=Simon+Brown&pubyear=2012 but I don't think it does that?


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, August 02, 2012 2:41 AM
To: Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Log into DSpace with curl

Hi Simon,

as an alternative to screen scraping, you may want to take a look at the REST 
API [1] which is made exactly for tasks like this one.

Another alternative is a simple SQL query [2].

Just ask if you need more details.

[1] https://wiki.duraspace.org/display/DSPACE/REST+API
[2] 
https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

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] "Unfinished Submissions" problem

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 4:20 PM, Carlos Walter Blandon Alvarez
 wrote:
> I offer my apologies for the translation, but I do not know what happened to
> the previous post, I had corrected the English texts are in DSPACE.

I'm sorry, I didn't understand what you just said.

> 2012-08-02 09:06:08,936 ERROR org.dspace.submit.step.CompleteStep @ Caught
> exception in submission step:
> java.sql.SQLException: bad_dublin_core schema=dc, description provenance

This are the relevant source lines:
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/content/Item.java#L1564

It looks like you don't have the dc.description.provenance field
defined for some reason. This is a standard field used by DSpace to
store provenance data and should not be remove. Perhaps you removed it
accidentally?

1) Check if it's really missing:

SELECT * FROM metadatafieldregistry WHERE qualifier = 'provenance'

2) If it's missing, re-create it:

INSERT INTO "metadatafieldregistry" ("metadata_field_id",
"metadata_schema_id", "element", "qualifier", "scope_note") VALUES
(28,1,  'description',  'provenance',   'The history of custody of the
item since its creation, including any changes successive custodians
made to it.');


Let us know whether it helped.

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] Log into DSpace with curl

2012-08-02 Thread Pottinger, Hardy J.
Hi, Simon, I know that I would be interested in hearing more about what it
is you're up to. :-) What's your use case for the item ID once you scrape
it? Is this something that the REST-API module might be able to do for you?
--
HARDY POTTINGER 
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"And remember, also" added the Princesss of Sweet Rhyme, "that many places
you would like to see are just off the Map and many things you want to
know are just out of sight or a little beyond your reach. But someday
you'll reach them after all, for what you learn today, for no reason at
all, will help you discover all the wonderful secrets of tomorrow."

--Norton Juster, The Phantom Tollbooth






On 8/2/12 3:37 AM, "Bram Luyten"  wrote:

>
>
>
>Hi Simon,
>
>this is new to me as well, I got it to work using:
>
>curl --data "login_email=myname%40gmail.com
>&login_password=password&submit=Sign+in"
>http://www.mydspace.com/password-login
>
>I had some issues first using the --data-urlencode parameter instead of
>--data. This also encoded the ampersands which shouldn't have happened to
>make it work.
>
>If you debug your query, following bit in the return html is interesting:
>
>class="ds-text-field error" name="login_email" type="text"
>value="contents of your query" title="The email address and/or password
>supplied were not valid." />
>* The email address and/or password supplied were not
>valid.
>
>because I saw that all my parameters ended up in that field, I realized
>there was something wrong with the ampersand encoding.
>
>On a sidenote, if you play around with forms, encoding and parameters,
>Tamper Data is a nice little firefox add-on that allows you to see and
>tamper with the requests you make & responses you get.
>
>https://addons.mozilla.org/en-us/firefox/addon/tamper-data/
>
>cheers,
>
>Bram
>
>-- 
> 
>Bram Luyten@mire
>2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
>Esperantolaan 4, Heverlee 3001, Belgium
>  www.atmire.com
>mail&utm_campaign=braml>
>
>
>On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital
>Consulting Services
> wrote:
>
>We are using DSpace 1.8.2 with the JSPUI admin interface.   I would like
>to log into DSpace using curl (or more precisely RCurl) because I want to
>be able to scrape item IDs (not the handles, but the actual IDs).  My
>code looks something
> like this:
> 
>postForm(³dspace/Š./password-login², login_email=²user²,
>login_password=²password²)
> 
>It basically always returns ³The e-mail address and password you supplied
>were not valid²
> 
>Is it not possible to log in using curl?  If it is possible I¹ll figure
>it out eventually, but if it¹s not I would rather not spend the time on
>it.
> 
>Simon Brown
>Digital Consulting Services
>Supporting the Dudley Knox Library, Naval postgraduate School
>scbr...@nps.edu
>831.656.3574 Phone
>831.656.3238 Fax
> 
>
>
>
>--
>
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. 
>http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
>


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


Re: [Dspace-tech] "Unfinished Submissions" problem

2012-08-02 Thread Carlos Walter Blandon Alvarez
Hi helix.I offer my apologies for the translation, but I do not know what happened to the previous post, I had corrected the English texts are in DSPACE.It is the error in DSPACE/log:2012-08-02 09:06:08,936 ERROR org.dspace.submit.step.CompleteStep @ Caught exception in submission step:java.sql.SQLException: bad_dublin_core schema=dc, description provenance    at org.dspace.content.Item.update(Item.java:1580)    at org.dspace.workflow.WorkflowManager.recordStart(WorkflowManager.java:1140)    at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:158)    at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:96)    at org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)    at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)    at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)    at org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionController.java:452)    at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:398)    at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:318)    at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)    at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)    at java.lang.Thread.run(Thread.java:662)2012-08-02 09:06:08,938 ERROR org.dspace.app.webui.servlet.SubmissionController @ Error loading step class'org.dspace.submit.step.CompleteStep':javax.servlet.ServletException: java.sql.SQLException: bad_dublin_core schema=dc, description provenance    at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:103)    at org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)    at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)    at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)    at org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionController.java:452)    at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:398)    at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:318)    at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)    at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)    at org.apache.catalina.c

Re: [Dspace-tech] mapping metadata via sword

2012-08-02 Thread Titus, Gene W
Opps forgot… I'm running dspace 1.7.2

Thanks,
Gene

---
Gene Titus
Senior Systems Administrator
Texas Digital Libraries
The University of Texas at Austin

From: Gene Titus mailto:g.ti...@austin.utexas.edu>>
Date: Thu, 2 Aug 2012 13:14:03 +
To: dspace-tech 
mailto:dspace-tech@lists.sourceforge.net>>
Subject: [Dspace-tech] mapping metadata via sword

I'm fairly new to dspace and not quit sure where to look for this feature.

We have an ETD system (Vireo) that sets a metadata entry for 
thesis.degree.name. We then sword the package into dspace. Is it possible to 
automatically map the incoming thesis.degree.name to dc.degree.name?

I have several others I need to map as well.

Thanks,
Gene Titus

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


[Dspace-tech] mapping metadata via sword

2012-08-02 Thread Titus, Gene W
I'm fairly new to dspace and not quit sure where to look for this feature.

We have an ETD system (Vireo) that sets a metadata entry for 
thesis.degree.name. We then sword the package into dspace. Is it possible to 
automatically map the incoming thesis.degree.name to dc.degree.name?

I have several others I need to map as well.

Thanks,
Gene Titus

---
Gene Titus
Senior Systems Administrator
Texas Digital Libraries
The University of Texas at Austin
--
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] Help with embargo

2012-08-02 Thread helix84
On Wed, Jul 25, 2012 at 8:33 PM, Mark Ehle  wrote:
> Now what? I understand I have to run 'dspace embargo-lifter' from cron on a
> daily basis. What do I put in the fields to make it work? Not only would I
> like the papers to be date limited, but I also need to limit by network -
> all the papers (any date) need to all be available to my staff network, but
> need to be date limited to any other network.

Hi Mark,
I'll try to answer but it's been a while since I looked at this
functionality, so sorry if I make a mistake.

The thing with current (1.6 - 1.8) embargo implementation is that you
must write one or two pieces of java code - the embargo setter and
lifter. However, there's an improvement to embargo scheduled for
inclusion in 3.0 that removes the need to run embargo lifter because
it encodes the embargo term directly into the authorization policy.
You can find the details here:
https://wiki.duraspace.org/display/DSPACE/Advanced+Embargo+Support
https://github.com/DSpace/DSpace/pull/43

I'm not sure at the moment if you can have embargo for one group of
users, but ignore it for another (I don't think so), but of course
administrators will be able to access the items regardless of embargo
terms.

> And - is it correct that embargo cannot be changed on an item once it's been
> submitted? I thought that's how I read the documentation. I have over 65,000
> newspapers in the system now, and it took weeks of batch importing to put
> them there. Please don't tell me I have to start over from scratch! What
> postgre table/field holds the embargo data?

That's not true, you can change it at any time using embargo setter.
Where did you read it so that I may correct it?

> Can embargo even do what I want it to?

Yes, it can, with the possible exception of bypassing embargo for a
specified group of users.

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] sword setup

2012-08-02 Thread Domingo Iglesias
Confirmed: it is a problem related to how weblogic handles
authorization by default.

The solution is to add the stanza:
false
in the config.xml of the domain.


2012/8/2 helix84 :
> On Wed, Aug 1, 2012 at 1:26 PM, Domingo Iglesias  wrote:
>> Thanks for the suggestion. I have checked web.xml and it's correct.
>
> I'm glad it worked.
>
>> authenticating with BASIC 'weblogic'@dipositint9.ub.edu:8
>
> Sorry, no idea. But this line looks wrong - 1) there are apotrophes
> around "weblogic" and 2) port number is 8?
>
> Regards,
> ~~helix84
>
>
> Aquest correu electrònic i els annexos poden contenir informació confidencial 
> o protegida legalment i està adreçat exclusivament a la persona o entitat 
> destinatària. Si no sou el destinatari final o la persona encarregada de 
> rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, 
> distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest 
> correu electrònic per error, us preguem que n’informeu al remitent i que 
> elimineu del sistema el missatge i el material annex que pugui contenir. 
> Gràcies per la vostra col·laboració.
>
> Este correo electrónico y sus anexos pueden contener información confidencial 
> o legalmente protegida y está exclusivamente dirigido a la persona o entidad 
> destinataria. Si usted no es el destinatario final o la persona encargada de 
> recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, 
> copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico 
> por error, le rogamos que informe al remitente y elimine del sistema el 
> mensaje y el material anexo que pueda contener. Gracias por su colaboración.
>
> This email message and any documents attached to it may contain confidential 
> or legally protected material and are intended solely for the use of the 
> individual or organization to whom they are addressed. We remind you that if 
> you are not the intended recipient of this email message or the person 
> responsible for processing it, then you are not authorized to read, save, 
> modify, send, copy or disclose any of its contents. If you have received this 
> email message by mistake, we kindly ask you to inform the sender of this and 
> to eliminate both the message and any attachments it carries from your 
> account. Thank you for your collaboration.



-- 

---
Domingo Iglesias
Universitat de Barcelona
Area de Tecnologies

--
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] sword setup

2012-08-02 Thread helix84
On Wed, Aug 1, 2012 at 1:26 PM, Domingo Iglesias  wrote:
> Thanks for the suggestion. I have checked web.xml and it's correct.

I'm glad it worked.

> authenticating with BASIC 'weblogic'@dipositint9.ub.edu:8

Sorry, no idea. But this line looks wrong - 1) there are apotrophes
around "weblogic" and 2) port number is 8?

Regards,
~~helix84

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


Re: [Dspace-tech] About dynamic special group

2012-08-02 Thread helix84
You don't have to add/remove permissions manually. You can do this in
1.5.1 XMLUI using Advanced Policy Manager (wildcard policy admin
tool):

Log in as an administrator, in the Administrative menu, click
Authorizations (under Access Control.) Then in the main pane, under
the search box, there's a link to the tool (Advanced authorizations
tool: Click here to go to the item wildcard policy admin tool).

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] Advise on Upgrade of DSpace Versions and Problems with Data Migration

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 6:12 AM, Nitin Paliwal
 wrote:
> Now the problem is That Dspace is Not Showing any item in it Though it shows
> all the collection in it.

Your steps look fine. You probably just need to run
[dspace]/bin/dspace index-init. Let us know whether it helps.

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] "Unfinished Submissions" problem

2012-08-02 Thread helix84
On Thu, Aug 2, 2012 at 12:34 AM, Carlos Walter Blandon Alvarez
 wrote:
> button, get a message that says "The system has experienced an internal
> error. Please try again, and if the problem persists, please contact with us
> to fix it.".

Hi Carlos,

this is a generic error message, we'll need the details from your log files.

This guide helps you locate errors in log files:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Send any errors detailed in the log files to this list (along with the
full error stack trace). They may help us to figure out what the issue
may be.

> If I go to "My DSpace", the item previously sent is, with its own file, but
> says it's as "Shipping without end"
> DSPACE version 1.8.2. It's a new instalation

This seems like a reverse translation from your language to English.
Please, configure your browser to prefer English and send us the
actual English message. (something like "Unfinished submissions"?)

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] Log into DSpace with curl

2012-08-02 Thread helix84
Yet another alternative could be using Solr directly. Info on how to
access Solr is here:
https://wiki.duraspace.org/display/DSPACE/Solr

The key you'd use is search.resourceid.

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] Log into DSpace with curl

2012-08-02 Thread helix84
Hi Simon,

as an alternative to screen scraping, you may want to take a look at
the REST API [1] which is made exactly for tasks like this one.

Another alternative is a simple SQL query [2].

Just ask if you need more details.

[1] https://wiki.duraspace.org/display/DSPACE/REST+API
[2] 
https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

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] Log into DSpace with curl

2012-08-02 Thread Bram Luyten
Hi Simon,

this is new to me as well, I got it to work using:

curl --data 
"login_email=myname%40gmail.com&login_password=password&submit=Sign+in"
http://www.mydspace.com/password-login

I had some issues first using the --data-urlencode parameter instead of
--data. This also encoded the ampersands which shouldn't have happened to
make it work.

If you debug your query, following bit in the return html is interesting:


* The email address and/or password supplied were not
valid.

because I saw that all my parameters ended up in that field, I realized
there was something wrong with the ampersand encoding.

On a sidenote, if you play around with forms, encoding and parameters,
Tamper Data is a nice little firefox add-on that allows you to see and
tamper with the requests you make & responses you get.

https://addons.mozilla.org/en-us/firefox/addon/tamper-data/

cheers,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
  
www.atmire.com


On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital Consulting
Services  wrote:

>  We are using DSpace 1.8.2 with the JSPUI admin interface.   I would like
> to log into DSpace using curl (or more precisely RCurl) because I want to
> be able to scrape item IDs (not the handles, but the actual IDs).  My code
> looks something like this:
>
> ** **
>
> postForm(“dspace/…./password-login”, login_email=”user”,
> login_password=”password”)
>
> ** **
>
> It basically always returns “The e-mail address and password you supplied
> were not valid”
>
> ** **
>
> Is it not possible to log in using curl?  If it is possible I’ll figure it
> out eventually, but if it’s not I would rather not spend the time on it.**
> **
>
> ** **
>
> Simon Brown
>
> Digital Consulting Services
>
> Supporting the Dudley Knox Library, Naval postgraduate School
>
> scbr...@nps.edu
>
> 831.656.3574 Phone
>
> 831.656.3238 Fax
>
> ** **
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech