[GeoNetwork-devel] Filtering sitemap using sub-portals

Hi List,

I've been looking into making metadata more discoverable in google
search, and I've noticed that if I use sub-portals (in Geonetwork
3.10) then the sitemap for each sub-portal returns all the publicly
accessible records in the entire catalog. I'm trying to think of a way
in which I could create a filtered sitemap for each sub-portal that I
can register sub-portals separately in google search console, but I'm
not getting anywhere. Is this even possible, or do I need to forget
this idea?

Thanks

Jo

--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates&gt; for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK

t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/&gt;
twitter:@astuntech <https://twitter.com/astuntech&gt;

iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/&gt;

GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/&gt;
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo,

as it is now, it is not possible, we are using the db to build the sitemap. It would require to use the portal filter while generating the sitemap.

In the sitemap, not sure it makes sense to have the same record in multiple sitemaps ?
One record may be in more than one portal - so it is at least in the main one + one or more portals.

One similar requirement we had for Sextant from Ifremer is the possibility to create landing pages for all records but with custom links to the portal of origin (which may be even a third party app).
See https://github.com/geonetwork/core-geonetwork/pull/4299

This landing page is referenced in the sitemap (and also used in DOI).
The layout of the landing page may be customized based on the group (ie.in this case one group = one portal) the record is in.
So the idea was that google search uses the global sitemap, points to the landing page which points to the portal/the main catalog or a third party app depending on the group of the record. But this with only one sitemap.

More work needed in any case to improve this.

Francois

Le mar. 22 sept. 2020 à 18:20, Jo Cook <jocook@anonymised.com> a écrit :

Hi List,

I’ve been looking into making metadata more discoverable in google
search, and I’ve noticed that if I use sub-portals (in Geonetwork
3.10) then the sitemap for each sub-portal returns all the publicly
accessible records in the entire catalog. I’m trying to think of a way
in which I could create a filtered sitemap for each sub-portal that I
can register sub-portals separately in google search console, but I’m
not getting anywhere. Is this even possible, or do I need to forget
this idea?

Thanks

Jo


Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training

*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK

t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/>
twitter:@astuntech <https://twitter.com/astuntech>

iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/>

GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois,

Thanks for this. In our setup, we're trying to restrict access to the
root portal where possible, and records are definitely only in one
sub-portal but I see what you're saying. The work that you were doing
in https://github.com/geonetwork/core-geonetwork/pull/4299 looks
really interesting and valuable though- I hope this does get
incorporated into either 3.10 or 4 at some point.

All the best

Jo

On Tue, Sep 22, 2020 at 5:42 PM Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi Jo,

as it is now, it is not possible, we are using the db to build the sitemap. It would require to use the portal filter while generating the sitemap.

In the sitemap, not sure it makes sense to have the same record in multiple sitemaps ?
One record may be in more than one portal - so it is at least in the main one + one or more portals.

One similar requirement we had for Sextant from Ifremer is the possibility to create landing pages for all records but with custom links to the portal of origin (which may be even a third party app).
See https://github.com/geonetwork/core-geonetwork/pull/4299
This landing page is referenced in the sitemap (and also used in DOI).
The layout of the landing page may be customized based on the group (ie.in this case one group = one portal) the record is in.
So the idea was that google search uses the global sitemap, points to the landing page which points to the portal/the main catalog or a third party app depending on the group of the record. But this with only one sitemap.

More work needed in any case to improve this.

Francois

Le mar. 22 sept. 2020 à 18:20, Jo Cook <jocook@anonymised.com> a écrit :

Hi List,

I've been looking into making metadata more discoverable in google
search, and I've noticed that if I use sub-portals (in Geonetwork
3.10) then the sitemap for each sub-portal returns all the publicly
accessible records in the entire catalog. I'm trying to think of a way
in which I could create a filtered sitemap for each sub-portal that I
can register sub-portals separately in google search console, but I'm
not getting anywhere. Is this even possible, or do I need to forget
this idea?

Thanks

Jo

--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates&gt; for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK

t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/&gt;
twitter:@astuntech <https://twitter.com/astuntech&gt;

iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/&gt;

GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/&gt;
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates&gt; for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK

t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/&gt;
twitter:@astuntech <https://twitter.com/astuntech&gt;

iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/&gt;

GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/&gt;
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.