Bug 473070

Summary: Feature request: add Engine to get recent papers
Product: [Applications] KBibTeX Reporter: Manny <andrea.manenti>
Component: Network/online searchAssignee: Thomas Fischer <fischer>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 0.10   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 0.11
Sentry Crash Report:

Description Manny 2023-08-06 11:43:48 UTC
It would be useful to get the "recent papers" of a given portal. For example:
1. from https://arxiv.org/list/<cat>/new (<cat> being hep-th, cs, etc...)
2. from https://www.biorxiv.org/content/early/recent
3. etc...

It could be a new panel or just another "Engine" to the "Online Search" panel. In this latter case, for ArXiv the query text would just be the category "<cat>", for biorxiv there's not query text at all etc...

The results would then appear in the "Search Results" tab.

This way an user can check new paper and add them to their repository without ever leaving KBibTeX.
Comment 1 Thomas Fischer 2023-11-18 23:33:20 UTC
Sounds like a good idea. I'll look into it.
Comment 2 Thomas Fischer 2023-11-19 21:14:19 UTC
I implemented a basic version of this feature, supporting the two search engine suggested in the original request. More may follow in  the future.

The code is not yet in KBibTeX's repository but only in my own one:
https://invent.kde.org/thomasfischer/kbibtex/-/commits/bugs/kde473070?ref_type=heads
Main change happened in commit 9a28bcc86b9ca28d71348481349c9ecd24edc1b3.

To test the new version, proceed as follows. None of the steps requires sudo/su, as all files will be stored in /tmp.
1. Get this script:  https://invent.kde.org/thomasfischer/kbibtex-related/-/raw/master/run/run-kbibtex.sh?inline=false
2. Run as normal user:   bash run-kbibtex.sh https://invent.kde.org/thomasfischer/kbibtex.git bugs/kde473070

Please test and confirm that this bug can be closed.