[dspace-tech] Additional browse indexes in DSpace-CRIS

2019-09-17 Thread Sean Carte
In the XML UI I can add additional browse indexes by adding search.index.n
and webui.browse.index.n fields, e.g., to add a 'level' index for a defined
field dc.description.level, I would add the following to dspace.cfg:

search.index.15 = level:dc.description.level
webui.browse.index.7 = level:metadata:dc.description.level:text

and add the appropriate description to messages.xml:

Qualification
Level
Browsing
{0} by Qualification Level {1}
Browsing
{0} by Qualification level {1}
Qualification
Level

Then, bin/dspace index-discovery -b -f

And the new items appear in the Browse list.

Similarly for the JSP UI, except I need to edit
dspace-api/src/main/resources/Messages.properties and rebuild the webapp:

browse.menu.level = Qualification Level
browse.type.metadata.level = Qualification Level

According to
https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687 , it looks
like I should follow a similar process for DSpace-CRIS:

  webui.browse.index. = ::[:DESC]

should create the indexes, but I can't find any way to display or use them.
I have added the fields to Messages.properties and reindexed. I expected
the new items to appear in the 'Discover' box, but that remains unchanged.

I would like to add items to the navbar, but that's starting to seem like a
distant dream.

What am I doing wrong?

DSpace version:  CRIS-5.10.0-SNAPSHOT
 Discovery:  enabled.
   JRE:  Private Build version 1.8.0_222
   Ant version:  Apache Ant(TM) version 1.9.6 compiled on July 20 2018
 Maven version:  3.3.9
--

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhO5guoi6c_7hoD%2BAJfUD3kp3_NyFbeZrsbDvqXMJgMGUQ%40mail.gmail.com.


Re: [dspace-tech] Additional browse indexes in DSpace-CRIS

2019-09-17 Thread Bollini Andrea
Hi Sean,
you need to map the configured browse to an entity type so that it will
appear in the relevant area of the website.

To add a browse to the community or collection home page see 

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2363

to add the browse to a specific explore section, for instance

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L72
are the browses related to the publications section

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67

please be sure also to limit the sort options available for the browse
index to the relevant ones, see 

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2360

If the above information will help, I would appreciate if you can
improve the documentation here
https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
Best,
Andrea


On Tue, 2019-09-17 at 14:57 +0200, Sean Carte wrote:
> In the XML UI I can add additional browse indexes by adding
> search.index.n and webui.browse.index.n fields, e.g., to add a
> 'level' index for a defined field dc.description.level, I would add
> the following to dspace.cfg:
> 
> search.index.15 = level:dc.description.level
> webui.browse.index.7 = level:metadata:dc.description.level:text
> 
> and add the appropriate description to messages.xml: 
> 
>  key="xmlui.ArtifactBrowser.ConfigurableBrowse.level.column_heading">Q
> ualification Level
>  key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.level">B
> rowsing {0} by Qualification Level {1}
>  key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.level">B
> rowsing {0} by Qualification level {1}
>  key="xmlui.ArtifactBrowser.Navigation.browse_level">Qualification
> Level
> 
> Then, bin/dspace index-discovery -b -f
> 
> And the new items appear in the Browse list.
> 
> Similarly for the JSP UI, except I need to edit  dspace-
> api/src/main/resources/Messages.properties and rebuild the webapp:
> 
> browse.menu.level = Qualification Level
> browse.type.metadata.level = Qualification Level
> 
> According to 
> https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687 , it
> looks like I should follow a similar process for DSpace-CRIS:
> 
>   webui.browse.index. = :: name>[:DESC]
> 
> should create the indexes, but I can't find any way to display or use
> them. I have added the fields to Messages.properties and reindexed. I
> expected the new items to appear in the 'Discover' box, but that
> remains unchanged.
> 
> I would like to add items to the navbar, but that's starting to seem
> like a distant dream.
> 
> What am I doing wrong?
> 
> DSpace version:  CRIS-5.10.0-SNAPSHOT
>  Discovery:  enabled.
>JRE:  Private Build version 1.8.0_222
>Ant version:  Apache Ant(TM) version 1.9.6 compiled on July 20
> 2018
>  Maven version:  3.3.9
> -- 
> 
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code
> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> --- 
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhO5guoi6c_7hoD%2BAJfUD3kp3_NyFbeZrsbDvqXMJgMGUQ%40mail.gmail.com
> .
> 

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d11b3e94c5dc73809ae10d32a8b28aaf2b9f.camel%404science.it.


Re: [dspace-tech] Additional browse indexes in DSpace-CRIS

2019-09-18 Thread Sean Carte
Thanks, Andrea. That is very helpful. Following your advice, I was able to
add buttons (facets?) to the Browse panel in the Communities and
Collections pages, as well as add links to the Browse section in the
Research Outputs page.

I will add these examples to the documentation.

What I still don't know how to do is:
- modify the fields displayed in the Discover section of the Research
Outputs page; and
- modify the contents of the navbar.

On Wed, 18 Sep 2019 at 00:51, Bollini Andrea 
wrote:

> Hi Sean,
> you need to map the configured browse to an entity type so that it will
> appear in the relevant area of the website.
>
> To add a browse to the community or collection home page see
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2363
>
> to add the browse to a specific explore section, for instance
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L72
> are the browses related to the publications section
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67
>
> please be sure also to limit the sort options available for the browse
> index to the relevant ones, see
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2360
>
> If the above information will help, I would appreciate if you can
> improve the documentation here
> https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> Best,
> Andrea
>
>
> On Tue, 2019-09-17 at 14:57 +0200, Sean Carte wrote:
> > In the XML UI I can add additional browse indexes by adding
> > search.index.n and webui.browse.index.n fields, e.g., to add a
> > 'level' index for a defined field dc.description.level, I would add
> > the following to dspace.cfg:
> >
> > search.index.15 = level:dc.description.level
> > webui.browse.index.7 = level:metadata:dc.description.level:text
> >
> > and add the appropriate description to messages.xml:
> >
> >  > key="xmlui.ArtifactBrowser.ConfigurableBrowse.level.column_heading">Q
> > ualification Level
> >  > key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.level">B
> > rowsing {0} by Qualification Level {1}
> >  > key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.level">B
> > rowsing {0} by Qualification level {1}
> >  > key="xmlui.ArtifactBrowser.Navigation.browse_level">Qualification
> > Level
> >
> > Then, bin/dspace index-discovery -b -f
> >
> > And the new items appear in the Browse list.
> >
> > Similarly for the JSP UI, except I need to edit  dspace-
> > api/src/main/resources/Messages.properties and rebuild the webapp:
> >
> > browse.menu.level = Qualification Level
> > browse.type.metadata.level = Qualification Level
> >
> > According to
> > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687 , it
> > looks like I should follow a similar process for DSpace-CRIS:
> >
> >   webui.browse.index. = :: > name>[:DESC]
> >
> > should create the indexes, but I can't find any way to display or use
> > them. I have added the fields to Messages.properties and reindexed. I
> > expected the new items to appear in the 'Discover' box, but that
> > remains unchanged.
> >
> > I would like to add items to the navbar, but that's starting to seem
> > like a distant dream.
> >
> > What am I doing wrong?
> >
> > DSpace version:  CRIS-5.10.0-SNAPSHOT
> >  Discovery:  enabled.
> >JRE:  Private Build version 1.8.0_222
> >Ant version:  Apache Ant(TM) version 1.9.6 compiled on July 20
> > 2018
> >  Maven version:  3.3.9
> > --
> >
> > --
> > All messages to this mailing list should adhere to the DuraSpace Code
> > of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> > ---
> > You received this message because you are subscribed to the Google
> > Groups "DSpace Technical Support" group.
> > To unsubscribe from this group and stop receiving emails from it,
> > send an email to dspace-tech+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhO5guoi6c_7hoD%2BAJfUD3kp3_NyFbeZrsbDvqXMJgMGUQ%40mail.gmail.com
> > .
> >
>
> --
> Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non
> infetto.
> This message was scanned by Libra ESVA and is believed to be clean.
>
>

--

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhP-YT7%2BpjnCgVe7omH3SBwBTYf6DLSqVeJuW9hxV9UZrg%40mail.gmail.com.


Re: [dspace-tech] Additional browse indexes in DSpace-CRIS

2019-09-19 Thread Bollini Andrea
Thanks Sean, help on the documentation is very welcome!

> - modify the fields displayed in the Discover section of the Research
> Outputs page; and

if you mean how the publication are listed in the most viewed, most
download, etc. box this is defined here

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L82


where the dspaceitemsLayoutView is defined in

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/global-list-layout.xml#L15

If instead you are asking about the discovery configuration applied in
the section it comes from the key used for the section


https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67



that must match a discovery configuration


https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/discovery.xml#L134

- modify the contents of the navbar.


https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/modules/cris.cfg#L5
navbar.cris-entities =
publications,researcherprofiles,orgunits,fundings

this is the list of the explore sections, the name must match the
configuration in the cris-processor and discovery as by above links

Best,
Andrea




On Thu, 2019-09-19 at 07:54 +0200, Sean Carte wrote:
> Thanks, Andrea. That is very helpful. Following your advice, I was
> able to add buttons (facets?) to the Browse panel in the Communities
> and Collections pages, as well as add links to the Browse section in
> the Research Outputs page.
> 
> I will add these examples to the documentation.
> 
> What I still don't know how to do is:
> - modify the fields displayed in the Discover section of the Research
> Outputs page; and
> - modify the contents of the navbar.
> 
> On Wed, 18 Sep 2019 at 00:51, Bollini Andrea <
> andrea.boll...@4science.it> wrote:
> > Hi Sean,
> > you need to map the configured browse to an entity type so that it
> > will
> > appear in the relevant area of the website.
> > 
> > To add a browse to the community or collection home page see 
> > 
> > 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2363
> > 
> > to add the browse to a specific explore section, for instance
> > 
> > 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L72
> > are the browses related to the publications section
> > 
> > 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67
> > 
> > please be sure also to limit the sort options available for the
> > browse
> > index to the relevant ones, see 
> > 
> > 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2360
> > 
> > If the above information will help, I would appreciate if you can
> > improve the documentation here
> > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> > Best,
> > Andrea
> > 
> > 
> > On Tue, 2019-09-17 at 14:57 +0200, Sean Carte wrote:
> > > In the XML UI I can add additional browse indexes by adding
> > > search.index.n and webui.browse.index.n fields, e.g., to add a
> > > 'level' index for a defined field dc.description.level, I would
> > add
> > > the following to dspace.cfg:
> > > 
> > > search.index.15 = level:dc.description.level
> > > webui.browse.index.7 = level:metadata:dc.description.level:text
> > > 
> > > and add the appropriate description to messages.xml: 
> > > 
> > >  > >
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.level.column_heading"
> > >Q
> > > ualification Level
> > >  > >
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.level"
> > >B
> > > rowsing {0} by Qualification Level {1}
> > >  > >
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.level"
> > >B
> > > rowsing {0} by Qualification level {1}
> > >  > > key="xmlui.ArtifactBrowser.Navigation.browse_level">Qualification
> > > Level
> > > 
> > > Then, bin/dspace index-discovery -b -f
> > > 
> > > And the new items appear in the Browse list.
> > > 
> > > Similarly for the JSP UI, except I need to edit  dspace-
> > > api/src/main/resources/Messages.properties and rebuild the
> > webapp:
> > > 
> > > browse.menu.level = Qualification Level
> > > browse.type.metadata.level = Qualification Level
> > > 
> > > According to 
> > > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> > , it
> > > looks like I should follow a similar process for DSpace-CRIS:
> > > 
> > >   webui.browse.index. = :: > > name>[:DESC]
> > > 
> > > should create the indexes, but I can't find any way to display or
> > use
> > > them. I have added the fields to Messages.properties and
> > reindexed. I
> > > expected the new items to appear in the 'Discover' box, but that
> > > remains unchanged.
> > > 
> > > I would like to add items to the navbar, but that's starting to
> > seem
> > > like a distant dream.
> > > 
> > > What am I doing wron

Re: [dspace-tech] Additional browse indexes in DSpace-CRIS

2019-09-19 Thread Sean Carte
Thank you again, Andrea. Very helpful! I'll add more examples to the
documentation as I figure stuff out.

On Thu, 19 Sep 2019 at 15:06, Bollini Andrea 
wrote:

> Thanks Sean, help on the documentation is very welcome!
>
> > - modify the fields displayed in the Discover section of the Research
> > Outputs page; and
>
> if you mean how the publication are listed in the most viewed, most
> download, etc. box this is defined here
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L82
>
> 
> where the dspaceitemsLayoutView is defined in
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/global-list-layout.xml#L15
>
> If instead you are asking about the discovery configuration applied in
> the section it comes from the key used for the section
>
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67
>
> 
>
> that must match a discovery configuration
>
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/discovery.xml#L134
>
> - modify the contents of the navbar.
>
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/modules/cris.cfg#L5
> navbar.cris-entities
> 
> =
> publications,researcherprofiles,orgunits,fundings
>
> this is the list of the explore sections, the name must match the
> configuration in the cris-processor and discovery as by above links
>
> Best,
> Andrea
>
>
>
>
> On Thu, 2019-09-19 at 07:54 +0200, Sean Carte wrote:
> > Thanks, Andrea. That is very helpful. Following your advice, I was
> > able to add buttons (facets?) to the Browse panel in the Communities
> > and Collections pages, as well as add links to the Browse section in
> > the Research Outputs page.
> >
> > I will add these examples to the documentation.
> >
> > What I still don't know how to do is:
> > - modify the fields displayed in the Discover section of the Research
> > Outputs page; and
> > - modify the contents of the navbar.
> >
> > On Wed, 18 Sep 2019 at 00:51, Bollini Andrea <
> > andrea.boll...@4science.it> wrote:
> > > Hi Sean,
> > > you need to map the configured browse to an entity type so that it
> > > will
> > > appear in the relevant area of the website.
> > >
> > > To add a browse to the community or collection home page see
> > >
> > >
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2363
> > >
> > > to add the browse to a specific explore section, for instance
> > >
> > >
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L72
> > > are the browses related to the publications section
> > >
> > >
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67
> > >
> > > please be sure also to limit the sort options available for the
> > > browse
> > > index to the relevant ones, see
> > >
> > >
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2360
> > >
> > > If the above information will help, I would appreciate if you can
> > > improve the documentation here
> > > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> > > Best,
> > > Andrea
> > >
> > >
> > > On Tue, 2019-09-17 at 14:57 +0200, Sean Carte wrote:
> > > > In the XML UI I can add additional browse indexes by adding
> > > > search.index.n and webui.browse.index.n fields, e.g., to add a
> > > > 'level' index for a defined field dc.description.level, I would
> > > add
> > > > the following to dspace.cfg:
> > > >
> > > > search.index.15 = level:dc.description.level
> > > > webui.browse.index.7 = level:metadata:dc.description.level:text
> > > >
> > > > and add the appropriate description to messages.xml:
> > > >
> > > >  > > >
> > > key="xmlui.ArtifactBrowser.ConfigurableBrowse.level.column_heading"
> > > >Q
> > > > ualification Level
> > > >  > > >
> > > key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.level"
> > > >B
> > > > rowsing {0} by Qualification Level {1}
> > > >  > > >
> > > key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.level"
> > > >B
> > > > rowsing {0} by Qualification level {1}
> > > >  > > > key="xmlui.ArtifactBrowser.Navigation.browse_level">Qualification
> > > > Level
> > > >
> > > > Then, bin/dspace index-discovery -b -f
> > > >
> > > > And the new items appear in the Browse list.
> > > >
> > > > Similarly for the JSP UI, except I need to edit  dspace-
> > > > api/src/main/resources/Messages.properties and rebuild the
> > > webapp:
> > > >
> > > > browse.menu.level = Qualification Level
> > > > browse.type.metadata.level = Qualification Level
> > > >
> > > > According to
> > > > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> > > , it
> > > > looks