WordPress.org

Ready to get started?Download WordPress

Forums

papercite
[resolved] Support for interactive filtering by author and publication type (9 posts)

  1. jvitku
    Member
    Posted 1 year ago #

    Hi,
    I just finished another modification of your plugin. This one adds new command "bibfilter". It displays small html form, where user can filter publications by author and publication type (command defines which types).
    See screenshot.

    Example of use:
    [bibfilter group=year group_order=desc author=Nahodil|Vítků menutypes=INCOLLECTION-In_Collection|MASTERSTHESIS-PhD/Diploma/Bachelor_Thesis sortauthors=0]

    If you find this useful, I can push it to the repository and create new pull request. I was not sure if it does not disrupt the pending request, so I didn't push it yet.

    Best,
    Jarda

    http://wordpress.org/extend/plugins/papercite/

  2. bpiwowar
    Member
    Plugin Author

    Posted 1 year ago #

    Yes please do so.

    many thanks
    benjamin

  3. jvitku
    Member
    Posted 1 year ago #

    Hi, so I pushed these changes to git repository, tried to send new pull request and it says: "Pull request creation failed. Validation failed: A pull request already exists for jvitku:master."

    So I suppose that you can already see the new version.

    You can try this new mod here:-) http://artificiallife.co.nf/publications/

    Again, thanks for useful plugin!
    Jarda

  4. matplaysbass
    Member
    Posted 1 year ago #

    This is an amazing feature, but a quick question for your example at http://artificiallife.co.nf/publications/

    Do you have a way of dynamically generating the authors for the filter? I also have a long list of authors to filter through, but curious if you did it via script and statically entered it in the [bibfilter] call or dynamically when the page loads.

    Thanks!

  5. bpiwowar
    Member
    Plugin Author

    Posted 1 year ago #

    for the moment the list is given by hand, but I agree it would be good to have an automated way to fill the possible options.

  6. JulesFrancoise
    Member
    Posted 6 months ago #

    Hi!

    Thanks for the plugin, it is great!
    However, I can't get the bibfilter shortcode to work. I tried to use this shortcode, that is close to that of the documentation:
    [bibfilter group=year group_order=desc author=Author1|Author2 allow=journal,incollection,inproceedings,phdthesis,mastersthesis sortauthors=0 file=biblio.bib]

    It works with the bibtex shortcode but with bibfilter I get errors.
    Here are the first 2 warnings:
    Warning: Missing argument 7 for Papercite::showEntries() [...]
    -Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in [...]`

    How do you specify the file to consider?

    Thanks,
    jules

  7. bpiwowar
    Member
    Plugin Author

    Posted 6 months ago #

    The documentation was not updated: you have to put quotes around the author alternatives:

    [bibfilter group=year group_order=desc author="Author1|Author2" allow=journal,incollection,inproceedings,phdthesis,mastersthesis sortauthors=0 file=biblio.bib]
  8. JulesFrancoise
    Member
    Posted 6 months ago #

    Hi,

    Thanks for the quick answer.
    However, it doesn't seem to solve the problem. The menu is filled with the right items but I still get all the warnings and no reference is displayed...
    Do you want me to give you all the errors I get?

    Jules

  9. nikolaos m
    Member
    Posted 6 months ago #

    Hi!
    Indeed your plugin, is great.
    Since the last update I encountered the same problem as JulesFrancoise posted above...
    My short code worked fine as:
    [bibfilter group=year group_order=desc sort=firstauthor order=asc allow=article,inproceedings]
    but now nothing works, except for the bibtex shortcode.
    Can you please assist?
    Nikos

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic