• Resolved Mark

    (@codeispoetry)


    ZotPress knows about item types, as shown by the CSS classes data-zp-itemtype and the title="itemtype" option to display items grouped by item type (on which see prior thread).

    I have a simple feature request: it would be nice to be able to select items by item type. This would make it easy to display publication lists of just journal articles or conference papers. And in lists of items grouped by itemtype it would also make it possible to easily customize the order of types (e.g., as is common in some disciplines, according to some implicit ranking or peer review status, journal articles > conference papers > book sections, etc.). This could be done simply by having consecutive [zotpress] queries for each type in the desired order.

    Proposal: use itemtype="{type}" to select items by item type. Ideally this would be combinable like the other shortcodes so that we can display all journal articles by author Alice like so:

    [zotpress author="Alice" itemtype="journalArticle"]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Mark

    (@codeispoetry)

    bumping this thread in the hope @kseaborn can comment on the feasibility

    Plugin Author Katie

    (@kseaborn)

    Will be in the next update!

    Thread Starter Mark

    (@codeispoetry)

    Lovely, thank you!

    Dear Katie
    many thanks for this feature !
    I just tried to use with a freshly updated zotpress module ;
    I need to combine a tag with an itemtype ; it perfectly works for the Journal article and conference type but not for Book section:

    as I run (no itemtype filtering)
    [zotpress userid=”XXX” style=”apa” sortby=”date” order=”desc” title=”yes” itemtype=”bookSection”]

    zotpress returns 5 entries, which are included in the search result filtering only the tag “DDC” :
    [zotpress userid=”XXX” style=”apa” sortby=”date” order=”desc” title=”yes” tag=”DDC”]

    The weird thing is that combining both the tag and itemtype does not return any entry :
    [zotpress userid=”XXX” style=”apa” sortby=”date” order=”desc” title=”yes” itemtype=”bookSection” tag=”DDC”]

    Thanks for your help !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Filter/select by item type’ is closed to new replies.