Re: [Dspace-tech] Mobile theme on DSpace 1.8.2

2013-06-11 Thread lewatle
Hi Helix,

I was looking for the mobile theme directory in my dspace1.8.2 installation
directory I don't see it, any idea of where the file is located, I would
like to follow online steps, but I am paused since I cant find the necessary
files. I really want to start something 

regards,
Lewatle 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Mobile-theme-on-DSpace-1-8-2-tp4664754p4664786.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread helix84
On Tue, Jun 11, 2013 at 11:08 AM, lewatle  wrote:
> I was looking for the mobile theme directory in my dspace1.8.2 installation
> directory I don't see it, any idea of where the file is located, I would
> like to follow online steps, but I am paused since I cant find the necessary
> files. I really want to start something

Hi Lewatle,

the theme was added in DSpace 3. What I was saying is that you can
copy the theme over from DSpace 3 to your DSpace 1.8 installation and
it should work just the same, AFAICT.


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread Lewatle Phaladi
Dear Helix, 

Thank you I understood very well now and I will do just that and follow online 
docs only when it becomes too unclear I will report on errors messages I am 
getting.

Thanks a lot,
Lewatle  

-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 11 June 2013 11:49 AM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Mobile theme on DSpace 1.8.2

On Tue, Jun 11, 2013 at 11:08 AM, lewatle  wrote:
> I was looking for the mobile theme directory in my dspace1.8.2 
> installation directory I don't see it, any idea of where the file is 
> located, I would like to follow online steps, but I am paused since I 
> cant find the necessary files. I really want to start something

Hi Lewatle,

the theme was added in DSpace 3. What I was saying is that you can copy the 
theme over from DSpace 3 to your DSpace 1.8 installation and it should work 
just the same, AFAICT.


Regards,
~~helix84

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

 

This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. 

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Moving community failure

2013-06-11 Thread Webshet, Sisay (ILRI)
Hello everybody,

Dsapce 3.1 debian(xmlui).I can move collections through psql but I couldn't 
move community through community facilitor.
I haven't seen any error while running the following command .
sudo/home/xxx/bin/dspace community-filiator --remove --parent=10568/101 
--child=10568/178

sudo/home/xxx/bin/dspace community-filiator --set --parent=10568/27866 
--child=10568/178

Thanks

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] dspace reindex problem

2013-06-11 Thread Webshet, Sisay (ILRI)
Dsapce 3.1/xmlui debian 6

While I try to index, the following errors were ocuured,can anybody has some 
idea on this

Thanks

dspace index-init
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=14b8e3a8-c149-4d0c-9b85-eb5db72571c4,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/home/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading: 
/home/dspace/config/log4j.properties

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] dspace reindex problem

2013-06-11 Thread helix84
These are no errors (as the INFO level shows), these are normal
diagnostic messages showing where DSpace looks for its configuration
file. If there is no other message, index-init finished successfully.


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] 1 to N MediaFilter

2013-06-11 Thread David

This is a great suggestion! I was wandering about the performance as
well but with this I can probably make the conversion with a crontab
when the server is not very busy.

Thank you very much Peter and helix84 you have been of great help. I'll
be back with my solution once I finish implementing it.

Cheers!

On Mon, 2013-06-10 at 21:17 +0200, helix84 wrote: 
> On Mon, Jun 10, 2013 at 6:26 PM, David  wrote:
> > I agree with you, making a new bundle to store the previews is tricky
> > and very likely unnecessary I was just following (or trying to follow)
> > the media filter's patterns.
> 
> Hi David,
> 
> Peter's suggestion looks straightforward, but I'm wondering if you
> really want  to generate the images on the fly instead of storing
> them. I'd say storing them is still preferable for performance reasons
> - only, as you said, media filter isn't the right tool for the job. If
> you wish to look at a more flexible alternative, there are curation
> tools [1] which let you to any operation on any item, community,
> collection or the whole site. These could be used to generate the
> thumbnails and store it into your own bundle. The curation tasks are
> not even required to be Java classes, they can be in Jython [2],
> Groovy or JRuby.
> 
> [1] https://wiki.duraspace.org/display/DSDOC3x/Curation+System
> [2] https://wiki.duraspace.org/display/DSDOC3x/Curation+tasks+in+Jython
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



signature.asc
Description: This is a digitally signed message part
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] dspace reindex problem

2013-06-11 Thread Konstantinos Stamatis
As helix mentioned, no errors  seem to appear in the script output.

However, normal index-init run outputs the total time browse and search
indexing needed to run.

Seems that the procedure stuck or you did not let it finish. Does it totally
finished by outputting the command prompt again, or the last message you
show was the one you sent and then you pressed something like ctrl C to
bring the command prompt back?

Since, the indexing procedure can last long, you should wait for indexing to
finish.

Here is an example of an index-init run:

=
[root@localhost bin]# ./dspace index-init
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=44092adc-da73-4f42-9923-6ec21b58c032,type=DSpac
eKernel:lastLoad=null:
loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/ usr/local/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: /usr/local/dspace
/config/log4j.properties
Started: 1370954210990
Ended: 1370954256617
Elapsed time: 45 secs (45627 msecs)
Started: 1370954257352
Ended: 1370954273089
Elapsed time: 15 secs (15737 msecs)
=

Between the last "INFO" message and the first "Started" message, the time
period varies depending on the number of items that the repository hosts and
the quantity of the metadata fields than need to be indexed.


Regards,

Kostas  



-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: Tuesday, June 11, 2013 2:56 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] dspace reindex problem

These are no errors (as the INFO level shows), these are normal diagnostic
messages showing where DSpace looks for its configuration file. If there is
no other message, index-init finished successfully.


Regards,
~~helix84

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


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] dspace reindex problem

2013-06-11 Thread helix84
Also, don't forget that index-init must be run only when Tomcat is stopped.


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] lazysession.loginurl?

2013-06-11 Thread Mark H. Wood
On Mon, Jun 10, 2013 at 06:39:54PM +, Pottinger, Hardy J. wrote:
> To anyone following along, Ben Ryan's description below is spot-on. It
> would be worth copying part of his message into the documentation. If I
> feel sufficiently full of pique, I might do so myself, though my day is
> pretty full of distractions already... I won't be offended if someone
> beats me to it. 

OK, I may be dense this week, but I'm still uncertain.  This is a good
explanation of how Shibboleth lazy login works, but I still don't see
the one thing that a DSpace installer wants to know:

  What is the algorithm for calculating the proper value for
  lazysession.loginurl, at my site, from my site's Apache configuration
  (which may be different from yours and everyone else's) and my site's
  Shibboleth configuration (which also may be different from yours and
  everyone else's)?  What files do I need to read, what values should
  I look for, and how do I combine them to yield this local-path that
  DSpace wants?

The answer to that question would be proper documentation for this
feature of DSpace.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] lazysession.loginurl?

2013-06-11 Thread Kevin P. Foote


On Tue, 11 Jun 2013, Mark H. Wood wrote:

> On Mon, Jun 10, 2013 at 06:39:54PM +, Pottinger, Hardy J. wrote:
>> To anyone following along, Ben Ryan's description below is spot-on. It
>> would be worth copying part of his message into the documentation. If I
>> feel sufficiently full of pique, I might do so myself, though my day is
>> pretty full of distractions already... I won't be offended if someone
>> beats me to it.
>
> OK, I may be dense this week, but I'm still uncertain.  This is a good
> explanation of how Shibboleth lazy login works, but I still don't see
> the one thing that a DSpace installer wants to know:
>
>  What is the algorithm for calculating the proper value for
>  lazysession.loginurl, at my site, from my site's Apache configuration
>  (which may be different from yours and everyone else's) and my site's
>  Shibboleth configuration (which also may be different from yours and
>  everyone else's)?  What files do I need to read, what values should
>  I look for, and how do I combine them to yield this local-path that
>  DSpace wants?
>
> The answer to that question would be proper documentation for this
> feature of DSpace.

I believe that the two shib admins who have spoken up (Ben / I ) have
said this already..

lazysessions in the shib world is a way to tell the web container
(apache) that we are using shibboleth for authn/z withOUT requiring a
login right away.

A lazy sesision configured  block is as follows..


  AuthType shibboleth
  ShibRequestSetting requireSession 0
  Require shibboleth


The default (always works) way to get a shib session flow started when
using the Shibboleth SP is hitting the following URL

   http(s):///Shibboleth.sso/Login

I would guess the algorithm for calculating is .. :-)

   protocol + site + shibboleth handler + Login

...

Once you are returned from that back to the dspace env/app it is assumed
that the REMOTE_USER and any other headers are able to be pulled out by
the dspace login routines or, that it (dspace) will be looking for them
anyway..

--
thanks
  kevin.foote


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread Lewatle Phaladi
Dear Helix,

Just a question on step 2 
Do I have to paste the following code in a file mobile.xsl or when the 
statement says main theme.xsl is referring to Mirage.xsl them I am currently 
using I am not sure, at the moment I have pasted it on top in the file 
mobile.xsl  
 
 
 

Regards,
Lewatle 


-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 11 June 2013 11:49 AM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Mobile theme on DSpace 1.8.2

On Tue, Jun 11, 2013 at 11:08 AM, lewatle  wrote:
> I was looking for the mobile theme directory in my dspace1.8.2 
> installation directory I don't see it, any idea of where the file is 
> located, I would like to follow online steps, but I am paused since I 
> cant find the necessary files. I really want to start something

Hi Lewatle,

the theme was added in DSpace 3. What I was saying is that you can copy the 
theme over from DSpace 3 to your DSpace 1.8 installation and it should work 
just the same, AFAICT.


Regards,
~~helix84

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

 

This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. 

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread helix84
On Tue, Jun 11, 2013 at 3:36 PM, Lewatle Phaladi
 wrote:
> Just a question on step 2
> Do I have to paste the following code in a file mobile.xsl or when the 
> statement says main theme.xsl is referring to Mirage.xsl them I am currently 
> using I am not sure, at the moment I have pasted it on top in the file 
> mobile.xsl

That refers to the non-mobile theme you're using. So if you're using
Mirage, then put it into Mirage. If you're using a theme based on
Mirage, put it into that theme.

This code is for auto-detecting mobile clients and redirecting them to
your subdomain that serves the mobile theme.


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread Lewatle Phaladi
Thanks a lot I will put it into Mirage theme as I am using it, 

Regards,
Lewatle 

-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 11 June 2013 03:42 PM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Mobile theme on DSpace 1.8.2

On Tue, Jun 11, 2013 at 3:36 PM, Lewatle Phaladi  
wrote:
> Just a question on step 2
> Do I have to paste the following code in a file mobile.xsl or when the 
> statement says main theme.xsl is referring to Mirage.xsl them I am 
> currently using I am not sure, at the moment I have pasted it on top 
> in the file mobile.xsl

That refers to the non-mobile theme you're using. So if you're using Mirage, 
then put it into Mirage. If you're using a theme based on Mirage, put it into 
that theme.

This code is for auto-detecting mobile clients and redirecting them to your 
subdomain that serves the mobile theme.


Regards,
~~helix84

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

 

This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. 

http://p.sf.net/sfu/windows-dev2dev
___
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] lazysession.loginurl?

2013-06-11 Thread Benjamin Ryan
Mark,
1. Shibboleth.sso is the default - this will not change unless you have 
multiple applications protected by Shibboleth.
2. The parts of the path are scheme + vhost + "/Shibboleth.sso" + 
Location
3. vhost will come from the configured virtual host in your Apache 
config (i.e. site-enabled/)
4. Scheme should be self explanatory i.e. https
5. The last part is the tricky one as it depends on what version of 
Shibboleth SP you are running and how you have configured things.
6. Location is defined in the shibboleth2.xml in the 
shibboleth/etc/shibboleth directory (For Shib 2 upwards), however the Login 
location is not generally defined (I just define locations for Metadata, Status 
and Session for debugging purposes but do not run them in production). It will 
appear in the "metadata" that is distributed to the members of the federation 
who will use this information to know where to access various parts of the 
Shibboleth system as they authenticate users.

The simplest thing to do is assume the defaults e.g. 
https://mysite.org/Shibboleth.sso/Login so the only information you need is the 
virtual host configured in the Apache config to be protected by Shibboleth.
If this does not work "out of the box" then you will need someone who 
knows Shib unfortunately.

Regards,
Ben 

--
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0161 275 0632
E-mail: benjamin.r...@manchester.ac.uk
--


-Original Message-
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: 11 June 2013 14:05
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] lazysession.loginurl?

On Mon, Jun 10, 2013 at 06:39:54PM +, Pottinger, Hardy J. wrote:
> To anyone following along, Ben Ryan's description below is spot-on. It 
> would be worth copying part of his message into the documentation. If 
> I feel sufficiently full of pique, I might do so myself, though my day 
> is pretty full of distractions already... I won't be offended if 
> someone beats me to it.

OK, I may be dense this week, but I'm still uncertain.  This is a good 
explanation of how Shibboleth lazy login works, but I still don't see the one 
thing that a DSpace installer wants to know:

  What is the algorithm for calculating the proper value for
  lazysession.loginurl, at my site, from my site's Apache configuration
  (which may be different from yours and everyone else's) and my site's
  Shibboleth configuration (which also may be different from yours and
  everyone else's)?  What files do I need to read, what values should
  I look for, and how do I combine them to yield this local-path that
  DSpace wants?

The answer to that question would be proper documentation for this feature of 
DSpace.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread Lewatle Phaladi
Hi Helix, 

Maybe  I am putting the code in wrong position but in the correct file 
"Mirage.xsl", I have put code using step 1 on the middle and on the bottom
On, step 4 I have replaced words "View full website" with  
"wiredspace.wits.ac.za", I have not done step 5 as I am still keeping the 
mobile prefix, and I have done step 6 without errors but I can't access the 
mobile.wiredspace.wits.ac.za 

  Below is copy of  Mirage.xsl with code pasted I am just putting the whole 
file so it can be clear where am I doing it wrong 







http://apache.org/cocoon/i18n/2.1";
xmlns:dri="http://di.tamu.edu/DRI/1.0/";
xmlns:mets="http://www.loc.gov/METS/";
xmlns:xlink="http://www.w3.org/TR/xlink/";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim";
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:mods="http://www.loc.gov/mods/v3";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns="http://www.w3.org/1999/xhtml";
exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc">

   
  



















http://mobile.yoursite.edu';">
View mobile site





 

This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. 

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Two handles pointing to the same Item

2013-06-11 Thread M. Afonso
Hi everyone,
I am using DSpace 1.6 and I am encountering the following situation:
When a Item is published, DSpace generates two handles that points to the
exactly same Item.
The workflow is as follows:
First, the Item is submitted to a collection. From there, that Item has to
be revised. When some metadata is added, we *approve *the submission.
DSpace generates a URL with a handle, say 2011/3986.
But when I check the Item (Edit Item option), the value of the section "*In
Collections*" is the Item's collection repeated twice (attachment).
And there is another handle pointing to that Item: 2011/3985. If we try to
access the URL with 2011/3985 suffix, we end up in the Item's page, but the
message "*Please use this identifier to cite or link to this item:*" will
contain the 2011/3986 handle. As if 2011/3985 was just a link to 2011/3986.
Any thoughts on this?

-- 
*Manoel Afonso Filho
Bacheloring in Computer Science
Federal University of ParĂ¡ - UFPA**
*
<>--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Understanding Statistics in DSpace 3

2013-06-11 Thread Terry Brady
I would like some help understanding the portions of DSpace that manage
statistics and metrics.  I would appreciate any corrections to my
understandings

The following menu options provide statistics and metrics.

   - Administrative
  - Statistics
   - Statistics
  - Usage
  - Search
  - Workflow
   - Monthly Reports

As I was researching this in this forum, I read that there is a distinction
between "usage statistics" and "content statistics".

If I understood this correctly,

   - usage statistics are generated from solr/statistics
   - these are accessed under "Statistics"
   - content statistics are generated from dspace log files and stored in
   .dat files in /log
  - these are accessed under "Administrative/Statistics"
   - monthly reports are generated from .dat files and saved as stored in
   html files in /reports
  - these are accessed under "Monthly Reports"

In order to generate these properly, the following cron jobs must be run on
a regular basis.

   - usage statistics
  - stats-util -o (hourly)
   - content statistics
  - stat-general (daily)
  - stat-monthly (daily)
   - montly reports
  - stat-report-general (daily)
  - stat-report-monthly (daily)

I am currently encountering 2 issues with my content statistics.

   - I have lost meaningful statistics in production for the last 3 months.

  - I changed my log4j logging level from INFO to WARN.  Could this
  have been the cause?
   - In my development environment, I am capturing a lot of garbage entries
   under "All Actions Performed".
  - The entries appear to be improperly parsed log file entries.

I would appreciate any clarification that the community can provide.

Thanks, Terry


-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] Understanding Statistics in DSpace 3

2013-06-11 Thread helix84
Hi Terry,

this topic is a bit complicated due to the fact that new statistics
engines have been added and the old ones still kept.

Your definition of content and usage statistics is not correct.
Usage statistics is statistics on events caused by visitors, i.e. page
views, downloads and searches.
Content statistics is statistics on "static" contents of your
repository - e.g. how many items you have, how many of a certain type.
Newly in DSpace 3, there are also workflow statistics detailing
operations on workflow steps by your users (e.g. approve, reject).

There are 3 usage statistics "engines" in DSpace 3:
1) log files based - have been around since forever
2) Solr-based - since DSpace 1.6
3) Elastic Search based - since DSpace 3, disabled by default

I don't know the menu items or the commands by heart, so just use the
search feature of our official documentation (DSpace 3.x space), the
commands will surely be there.


Regarding your problems:
1) is almost certainly caused by disabling INFO lines, which are used
by the log file based "engine". This is what those lines look like:

2013-05-15 16:33:27,671 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous:session_id=F55DB90438AFAE5C16855044111671A4:ip_addr=66.249.74.15:view_item:handle=123456789/647

Solr-based statistics would not be affected by this, because they
collect the events independently, not from log files (although import
from log files is possible - meant for importing your legacy
statistics).

If you disabled logging, there's little hope of ever getting those
back. You have a good chance of importing your log file-based
statistics to Solr and continue using those exclusively. Unless you
have bad luck, the missing period will be covered in Solr stats.

The reverse - generating log files from Solr stats can't be done
out-of-the-box. It might be possible to write a custom tool that would
do this.


2) Sorry, can't help you much with this. There seems to be a problem
also on demo.dspace.org. Is this what you mean? (example follows)

...
45.861] Performing deposit using location   1
36.741] Loaded ingester 1
52.774] Using package manifest format   1
18.794] Loaded ingester 1
16.629] Loaded package ingester 1
20.785] Total time for deposit processing   1
...

Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Mobile theme on DSpace 1.8.2

2013-06-11 Thread helix84
Hi Lewatle,

no, this is not how you modify an .xsl stylesheet. You can't just put
HTML tags anywhere. They're allowed only within an xsl:template tag,
which has to match something meaningful. This is a big topic which you
might not want to get into right now, but when you do, you can start
here [1].

To add the links to HTML header in the Mirage theme, you have to copy
the whole  [2] until 
and put it into your .xsl just above .

Then add XSL to generate the two script tags, look at this as an example: [3]


However, that code is for autodetection. You should be able to see
your mobile theme by typing your mobile.wiredspace.wits.ac.za directly
if you did the other steps correctly. But I see there's no DNS record
assigned with mobile.wiredspace.wits.ac.za yet, so you haven't done
step 0 yet. You may need to contact your DNS administrator or domain
registrar to do that for you.

Also please note, that the subdomain currently *must* be called
"mobile.", anything else will not work.


[1] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial
[2] 
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L129
[3] 
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L276
[4] http://mobile.demo.dspace.org/xmlui/


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] How "bi_private" table and sequence are missing?

2013-06-11 Thread helix84
On Mon, Jun 10, 2013 at 4:18 PM, LifeH2O  wrote:
> Solr is stopped now. But there are another
> two errors (these were already there but occur rarely, didn't notice them
> erlier)

I'm not sure what you did or why but you may want to revert your
configuration of plugins to the default configuration. It seems like
older configuration than that of DSpace 3.

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/dspace.cfg#L475


Regards,
~~helix84

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Queries

2013-06-11 Thread Parul dubey
Dear All,

 

Wanted to Know :

1)  How many different users are supported by Dspace .i.e. is the any
user which only view not download the documents permission .

Or  how can particular users can be set to  view(access) particular
community documents only etc.

2)   Also while browsing the Particular communities Item by Title , it
shows the list having Title, Issue Date, Author .

I have changed the fields to Date , Title , Community , now how can the Font
Size of these heading can be changed.

 

Kindly suggest.

 

Regards

Parul  Dubey

 

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] Queries

2013-06-11 Thread Konstantinos Stamatis
Dear Parul,

 

1)  I am not sure that I understand what you really ask, but DSpace
supports unlimited number of users and groups. You can assign users to
groups (one user can belong to many groups) and then bind authorizations
(regarding items, bitestreams, etc) with separate users or groups or both.
To do this, you need to log in as administrator, move in admin area by
pressing the "administer" link in the default sidebar, and then, click the
option "Authorization" in the admin sidebar.

 

2)  Regarding the list that appears after an "item" browsing, dspace
configuration offers some options for you but not for the Font Size. Take a
look for these options in the dspace.cfg file that mentions the following
(under the "Web Interface Settings" part of the config file):

 



# You can customise the width of each column with the following line - you
can have numbers (pixels)

# or percentages. For the 'thumbnail' column, a setting of '*' will use the
max width specified

# for browse thumbnails (webui.browse.thumbnail.maxwidth,
thumbnail.maxwidth)

# webui.itemlist.widths = *, 130, 60%, 40%

 

 

Thus, if you like to change the Font Size, this must be made
directly in the source code.

 

 

Regards,

 

Kostas

 

 

 

From: Parul dubey [mailto:parul.du...@itsl.in] 
Sent: Wednesday, June 12, 2013 8:31 AM
To: DSpace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Queries

 

Dear All,

 

Wanted to Know :

1)  How many different users are supported by Dspace .i.e. is the any
user which only view not download the documents permission .

Or  how can particular users can be set to  view(access) particular
community documents only etc.

2)   Also while browsing the Particular communities Item by Title , it
shows the list having Title, Issue Date, Author .

I have changed the fields to Date , Title , Community , now how can the Font
Size of these heading can be changed.

 

Kindly suggest.

 

Regards

Parul  Dubey

 

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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