0
Z odpowiedzią

Embedding - sort by author by default

Katie Martin 6 lat temu Ostatnio zmodyfikowane przez Christian Fritz 6 lat temu 1

Hi all! Is there a way to embed (ideally using an iframe rather than php which is not supported or js which screws up other formatting on my site) and have the list sorted by author by default, rather than by year? 


ETA: I can do it using the &group0=authors method but it groups everything under the category "undefined," which looks sort of odd. Is there an alternative? 

Odpowiedź

+1
Odpowiedź
Z odpowiedzią

Yes, you can use &group0=author_short. This works independently of the method you chose for embedding.


We really discourage the use of iframes though. Search engines will direct users that search for you paper titles directly to your embedded page (not your homepage), and it is also difficult to get the layout right, without having a scrollbar inside the iframe. JS is currently the best option, and those formatting issues come with an upside, too: once they are fixed, the whole page will be styled with the same CSS rules, and have, e.g., consistent colors and fonts.

+1
Odpowiedź
Z odpowiedzią

Yes, you can use &group0=author_short. This works independently of the method you chose for embedding.


We really discourage the use of iframes though. Search engines will direct users that search for you paper titles directly to your embedded page (not your homepage), and it is also difficult to get the layout right, without having a scrollbar inside the iframe. JS is currently the best option, and those formatting issues come with an upside, too: once they are fixed, the whole page will be styled with the same CSS rules, and have, e.g., consistent colors and fonts.