[GeoNetwork-users] Sort RSS by update metadata date

Hello,

I am quite disappointed because I really don't know if there is a possibilty to sort, in the RSS flow, the metadatas by update date.

From the last updated to the older.

This manual page describe things like search by notinh as simple as a sort :
http://geonetwork-opensource.org/manuals/trunk/eng/developer/xml_services/metadata_xml_search_retrieve.html#rss-search-search-metadata-and-retrieve-in-rss-format-rss-search

Is it possible ?

I'm using GeoNetwork 2.7 / 2.9

Maël REBOUX
Service SIG mutualisé Ville de Rennes / Rennes Métropole
Chargé de mission "diffusion"

Hi Maël

You can send the parameter sortBy=changeDate, rss.search accepts the same
parameters as the xml.search service.

Regards,
Jose García

On Fri, Sep 27, 2013 at 11:58 AM, REBOUX Maël <
m.reboux@anonymised.com> wrote:

Hello,

I am quite disappointed because I really don't know if there is a
possibilty to sort, in the RSS flow, the metadatas by update date.
>From the last updated to the older.

This manual page describe things like search by notinh as simple as a sort
:

http://geonetwork-opensource.org/manuals/trunk/eng/developer/xml_services/metadata_xml_search_retrieve.html#rss-search-search-metadata-and-retrieve-in-rss-format-rss-search

Is it possible ?

I'm using GeoNetwork 2.7 / 2.9

Maël REBOUX
Service SIG mutualisé Ville de Rennes / Rennes Métropole
Chargé de mission "diffusion"

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Thanks for your (speedy) answer.

Uh ?
It changes nothings to the sort :

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <sortBy>title</sortBy>
</request>

or

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <sortBy>changeDate</sortBy>
</request>

or

http://geosource.local/srv/fre/rss.latest?sortBy=changeDate

The idea is to get the same results as this SQL query :
SELECT *
FROM `metadata`
ORDER BY `metadata`.`changeDate` DESC
LIMIT 0 , 30

Ideally, I want to get :
- change data
- title
- resume

Best regards from Britanny,

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Sort-RSS-by-update-metadata-date-tp5080484p5080511.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

I'm trying these requests and get different results:

http://localhost:8080/geonetwork/srv/eng/rss.search?sortBy=title
http://localhost:8080/geonetwork/srv/eng/rss.search?sortBy=title&sortOrder=Asc

http://localhost:8080/geonetwork/srv/eng/rss.search?sortBy=changeDate
http://localhost:8080/geonetwork/srv/eng/rss.search?sortBy=changeDate&sortOrder=Asc

rss.search (and xml.search) use the lucene index for searches/sorting, no
sql queries.

If you don't need a rss feed, maybe is better to use the q service, similar
params as xml.search and returns a xml document with metadata information.

Regards,
Jose García

On Fri, Sep 27, 2013 at 12:39 PM, Mael REBOUX <
m.reboux@anonymised.com> wrote:

Thanks for your (speedy) answer.

Uh ?
It changes nothings to the sort :

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <sortBy>title</sortBy>
</request>

or

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <sortBy>changeDate</sortBy>
</request>

or

http://geosource.local/srv/fre/rss.latest?sortBy=changeDate

The idea is to get the same results as this SQL query :
SELECT *
FROM `metadata`
ORDER BY `metadata`.`changeDate` DESC
LIMIT 0 , 30

Ideally, I want to get :
- change data
- title
- resume

Best regards from Britanny,

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Sort-RSS-by-update-metadata-date-tp5080484p5080511.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Well well.

I'm working with GeoSource 2.9.1 and I cannot obtain differents result sets.
But I tried on a GeoNetwork (2.7 ?) : il returns differents result sets when
changing the request.
I report this bug.

Thank you very much.

I really need a standard RSS feed for relay to several website.

Another question : is there a way to get the thumbnail of the dataset when
the metadata use an url ?
=> graphicOverview/MD_BrowseGraphic/fileName/CharacterString

A better question should be : how to create a more "clean" RSS feed, closest
to things like that :
http://rss.nytimes.com/services/xml/rss/nyt/Europe.xml

with :
- title
- url link to the metadata
- url link to the thumbnail
- latest modification of the metadata
- creation date of the data ?
- revision date of the data ?

Sorry for asking all about this.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Sort-RSS-by-update-metadata-date-tp5080484p5080551.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.