biorxiv.org is the biology preprint server, similar to arxiv.org for other sciences. it would be convenient to be able to search it via kbibtex as well. Reproducible: Always Steps to Reproduce: not applicable Actual Results: not applicable Expected Results: not applicable
Confirmed. I am current working on some code. Will try to put it into shape soon and publish it for you for testing.
In my private Git repository, there is some code for bioRxiv: http://commits.kde.org/clones/kbibtex/thomasfischer/kbibtex/b11efb0b39cf5eb542a1517959c7720e5c5c3f6f Please test and check if it fits your needs.
fails to compile for me. i am quite sure this is my fault… but i lack insight to understand whats going wrong. [ 36%] Linking CXX shared library libkbibtexnetworking.so CMakeFiles/kbibtexnetworking.dir/findpdf.cpp.o: In function `FindPDF::Private::processPDF(QNetworkReply*, QByteArray const&)': findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x1b4): undefined reference to `Poppler::Document::loadFromData(QByteArray const&, QByteArray const&, QByteArray const&)' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x5a4): undefined reference to `Poppler::Document::info(QString const&) const' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x61a): undefined reference to `Poppler::Document::numPages() const' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x65e): undefined reference to `Poppler::Document::page(int) const' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x6fd): undefined reference to `Poppler::Page::text(QRectF const&) const' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x78f): undefined reference to `Poppler::Page::~Page()' findpdf.cpp:(.text._ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray]+0x874): undefined reference to `Poppler::Document::~Document()' collect2: error: ld returned 1 exit status src/networking/CMakeFiles/kbibtexnetworking.dir/build.make:1008: recipe for target 'src/networking/libkbibtexnetworking.so.0.8.0' failed make[2]: *** [src/networking/libkbibtexnetworking.so.0.8.0] Error 1 CMakeFiles/Makefile2:539: recipe for target 'src/networking/CMakeFiles/kbibtexnetworking.dir/all' failed make[1]: *** [src/networking/CMakeFiles/kbibtexnetworking.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
(In reply to Georg Schlisio from comment #3) > fails to compile for me. i am quite sure this is my fault… but i lack > insight to understand whats going wrong. You are using ArchLinux? Which Poppler packages do you have installed? You would need to have 'popper-qt4' installed at least. I am able to compile this code both on a Gentoo and an ArchLinux machine. Can you maybe try to compile it on another machine? > [ 36%] Linking CXX shared library libkbibtexnetworking.so > CMakeFiles/kbibtexnetworking.dir/findpdf.cpp.o: In function > `FindPDF::Private::processPDF(QNetworkReply*, QByteArray const&)': > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x1b4): undefined > reference to `Poppler::Document::loadFromData(QByteArray const&, QByteArray > const&, QByteArray const&)' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x5a4): undefined > reference to `Poppler::Document::info(QString const&) const' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x61a): undefined > reference to `Poppler::Document::numPages() const' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x65e): undefined > reference to `Poppler::Document::page(int) const' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x6fd): undefined > reference to `Poppler::Page::text(QRectF const&) const' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x78f): undefined > reference to `Poppler::Page::~Page()' > findpdf.cpp:(.text. > _ZN7FindPDF7Private10processPDFEP13QNetworkReplyRK10QByteArray[_ZN7FindPDF7Pr > ivate10processPDFEP13QNetworkReplyRK10QByteArray]+0x874): undefined > reference to `Poppler::Document::~Document()' > collect2: error: ld returned 1 exit status > src/networking/CMakeFiles/kbibtexnetworking.dir/build.make:1008: recipe for > target 'src/networking/libkbibtexnetworking.so.0.8.0' failed > make[2]: *** [src/networking/libkbibtexnetworking.so.0.8.0] Error 1 > CMakeFiles/Makefile2:539: recipe for target > 'src/networking/CMakeFiles/kbibtexnetworking.dir/all' failed > make[1]: *** [src/networking/CMakeFiles/kbibtexnetworking.dir/all] Error 2 > Makefile:138: recipe for target 'all' failed > make: *** [all] Error 2
entirely my fault - i was not on the right commit m( the right commit compiles fine (both on archlinux and in a fedora virtual machine) and biorxiv support works as expected.
Merged into branch 'kbibtex/0.7' as of commit 0924607202ec41299b7a6c9702dc66c1fb148376. Forward-porting to master will follow soon.