plazi / treatmentBank

Repository devoted to house keeping of treatmentBank
0 stars 0 forks source link

Change results layout on TB #107

Open juwingert opened 9 months ago

juwingert commented 9 months ago

Can we change the order Authors/Title of results on the TB? Here is an example: image Here we have the Authors in bold and bigger letters + Title very close with Authors... image And here, right below, we have the same thing in the lower letters.

When we have many Authors, the visualization of a paper processed in TB is impaired, as in the example. Perhaps it would be a good idea to consider highlighting the Document Title and leaving the authors with a smaller font as in the example below: image

Link of example for this subject on TB: https://tb.plazi.org/GgServer/summary/FFD0401F8E4FD3554D25FFAEFF8EFF9D

gsautter commented 9 months ago

This is what comes from the back-end: https://tb.plazi.org/GgServer/summary/FFD0401F8E4FD3554D25FFAEFF8EFF9D?resultFormat=xml

If you have any idea how we can render this in a more user friendly way, please let me know ... easy enough to adjust the XSLT that turns the XML into the content of the HTML page.

We could also restrict the number of authors listed, e.g. only ever listing the first 3 followed by "et al." if there are more than 5 authors ... what do you think?

juwingert commented 9 months ago

@gsautter I was thinking something this way:

image

gsautter commented 9 months ago

So, basically simply omitting the authors altogether in the big overall title? If there are no objections from anyone else, I'll adjust the XSLT that populates the page accordingly ...

gsautter commented 9 months ago

So, basically simply omitting the authors altogether in the big overall title? If there are no objections from anyone else, I'll adjust the XSLT that populates the page accordingly ...

If I remember correctly, the main reason we put the author names and year in that title is that authors simply love to see their name somewhere ... attribution just has to be everywhere these days ...

juwingert commented 9 months ago

I think it would be cleaner that way, let's wait for opinion of the others members, thanks a lot.

gsautter commented 9 months ago

I think it would be cleaner that way, let's wait for opinion of the others members, thanks a lot.

It's undoubtedly cleaner ... just hearing the screams along the lines of "clarity is one thing, but attribution, consider attribution !!!" ...

juwingert commented 9 months ago

Ok, It is important to draw the attention of the authors, so I send another example:

image

Maybe we can decrease the authors' heading and increase the title's heading.

gsautter commented 9 months ago

Ok, It is important to draw the attention of the authors, so I send another example:

image

Maybe we can decrease the authors' heading and increase the title's heading.

Didn't even mean it like that ... I'd be perfectly fine with your first proposal, in fact I like it a lot ... just a bit afraid that some people might take the opportunity to be offended ...

juwingert commented 9 months ago

Ah that's great to hear! I prefer the first proposal too!

myrmoteras commented 9 months ago

Not so fast, please. How does Gbif do it? Let's also ask @millerjeremya @flsimoes

image

gsautter commented 9 months ago

As to the GBIF approach: a big title towards the top, and below that the authors, in a far smaller font ... I tend to think the part of the authors would even be covered by the full citation string that we display right below the title, simply because the citation string starts with the author list.

That said, I really like @juwingert proposal, as it prevents the page from almost jumping the page visitor with this mountain of bold face text that inevitably emerges if the author list is long ...

An alternative would be to cut the author list after the third or so author to keep the main title in some proportion, of course, but omitting the authors from the page title altogether makes more sense to me.

flsimoes commented 9 months ago

Ok, It is important to draw the attention of the authors, so I send another example:

image

Maybe we can decrease the authors' heading and increase the title's heading.

I like this one.

GBIF's way is really good imo, but doesn't necessarily work for every website. Might be worth a try...

An alternative would be to cut the author list after the third or so author to keep the main title in some proportion, of course, but omitting the authors from the page title altogether makes more sense to me.

I think it should either be the full list of names or the first one + et al. Or have something like one line of names followed by a [more...] button, but I'm guessing it would be really hard to make (or not possible at all...)

truschel commented 9 months ago

@gsautter I was thinking something this way:

image

In my opinion this is the best way. It is similar to the GBIF approach and draws attention to the title of the article. This way, the names of all authors are fully reported at the bottom in a smaller font. We can see that same way in the ResearchGate website, for example: image

I don't think the authors would be offended. I personally think that the search for an article starts primarily from the subject (title) rather than the authors.