[GeoNetwork-devel] Rating system

Hi Andrea,
Just testing out the new rating system. Looks good for the start! It seems the rating is recorded when I do one, but when querying again, the ratings don't show up. I looked ate the XML coming back from the embedded query, but I can't find a rating figure anywhere. I did find a score number, but not sure it relates?
Ciao,
Jeroen

Hi Jeroen,

I made 2 tests with firefox and IE6. In both cases the rating was correctly
set the first time and updated the second time. With 2 clients, the first
gave a rating=1 while the second gave a rating=3 and the result was
correctly 2.

I don't understand what you mean by "XML coming back from the embedded
query". That result is suited for the user interface.

Cheers,
Andrea

Hi Andrea,
Just testing out the new rating system. Looks good for the start! It
seems the rating is recorded when I do one, but when querying again,
the ratings don't show up. I looked ate the XML coming back from the
embedded query, but I can't find a rating figure anywhere. I did find
a score number, but not sure it relates?
Ciao,
Jeroen

Hi Andrea,

On Oct 24, 2007, at 10:40 PM, Andrea Carboni wrote:

Hi Jeroen,

I made 2 tests with firefox and IE6. In both cases the rating was correctly
set the first time and updated the second time. With 2 clients, the first
gave a rating=1 while the second gave a rating=3 and the result was
correctly 2.

hmmm. I simply used the default installation and did the rating on a sample metadata from localhost, so not from different hosts.

I don't understand what you mean by "XML coming back from the embedded
query". That result is suited for the user interface.

I mean, I used Firebug and looked at the requests and responses. That seemed to give the correct rating back in the response. When I afterwards did a search and displayed the output in XML form (debug mode) I did not see the rating reflect my rating selected before.

Ciao,
Jeroen

Cheers,
Andrea

Hi Andrea,
Just testing out the new rating system. Looks good for the start! It
seems the rating is recorded when I do one, but when querying again,
the ratings don't show up. I looked ate the XML coming back from the
embedded query, but I can't find a rating figure anywhere. I did find
a score number, but not sure it relates?
Ciao,
Jeroen