Coder Social home page Coder Social logo

benibela / videlibri Goto Github PK

View Code? Open in Web Editor NEW
35.0 5.0 5.0 32.02 MB

:books: Cross-platform library client to automate any OPAC and library catalog from your local device, e.g. for renewing of borrowed books or searching for books available in the library in automated scripts.

Home Page: https://www.videlibri.de/

License: GNU General Public License v3.0

Pascal 3.60% XSLT 0.01% HTML 93.94% C 0.01% CSS 0.03% Shell 0.34% Inno Setup 0.02% Python 0.05% PHP 0.01% Java 0.17% Makefile 0.01% XQuery 0.16% Kotlin 1.67%
library catalogue public-library catalog bibliothekskatalog code4lib libraries book-information bibliography bibtex

videlibri's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

videlibri's Issues

Question on permissions

My scanner got a few additional checks in January, and on today's update of your app reported:

! repo/de.benibela.videlibri_2783.apk declares sensitive permission(s): android.permission.READ_EXTERNAL_STORAGE*
! repo/de.benibela.videlibri_2783.apk contains signature block blobs: 0x504b4453 (DEPENDENCY_INFO_BLOCK; GOOGLE)

The asterisk signals READ_EXTERNAL_STORAGE was granted implicitly because WRITE_EXTERNAL_STORAGE was declared. Can you please clarify what storage access is needed for here?

Ah, that DEPENDENCY_INFO_BLOCK is easily avoided:

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it โ€“ and nobody else can even verify what it really contains.

Thanks in advance!

versionCode not increased?

The APK attached to v2.610 has the same versionCode as the one at v2.600: 2600. Maybe you forgot to increase it? That will also have the F-Droid build fail then. Can you please check (and fix)?

duedate wrong for Stadtbibliothek Chemnitz

When using xidel to query Stadtbibliothek Chemnitz as suggested in the README, the due date is wrong:

$ xidel -e '$username:="XXX",
          $password:="XXX",
          $server:="https://opac2.stadtbibliothek-chemnitz.de/webOPACClient/",
          $startparams:="?Login=opsb"
    ' --template-action connect,update-all  \
      --module mockvidelibri.xqm --xmlns videlibri=https://www.videlibri.de --dot-notation=on \
      --template-file data/libraries/templates/sisis/template \
      --output-format=json-wrapped \
      -s |
    jq -c 'last | .book[0] | [.title, .duedate]'
["Busy Bee","2023-04-25"]

This is how it looks on the web, the supposed due date is actually the date it was borrowed:

Screenshot 2023-07-08 at 14-05-41 webOPAC

The table cell does not contain any additional markup in HTML:

            <td>
             
             25.04.2023 - 21.07.2023<br>
             Zentralbibl.
            </td>

If you need any more information, please let me know.

Entries are unreadable on E-Ink display

Thanks for this app.
I am trying to use it on my E-Ink phone but the contrast between the grey letters and the dark background is too low. I can read the white letters in the sidebar.

Improvment: A list of books to borrow the next time in the library

Hello,

we really love your program to manage the borrowed books.
I would like to propose a new feature: A list of books added from the search one likes to borrow the next time in the library. When the books are borrowed from the library the get removed from the list.

Thanks for your hard work.

track watch list / bookmark list

Is there any plan to also cover books I have marked for getting later?
For my library its possible to create such a list (in the web ui) but unfortunately it's hard to keep track then a specific book gets available.
It would be great to have this list within videlibri sorted by date it gets available in my configured favorite library.

Publish on F-Droid

Hi, I'm a contributor of F-Drdoid and I'm working on build your app with F-Droid's toolchain and publish it. There is a metadata in F-Droid'repo but it doesn't work. Since it's submitted to F-Droid long ago and never built, I don\t know if you support the inclusion.

So hereby I want to ask for your permission. And if you support the inclusion, could you please help me build it? Thanks!

x"" syntax is deprecated. Use `` from XPath 4

When using xidel to query Stadtbibliothek Chemnitz as suggested in the README, I get a deprecation warning printed to stderr twice:

$ xidel -e '$username:="XXX",
          $password:="XXX",
          $server:="https://opac2.stadtbibliothek-chemnitz.de/webOPACClient/",
          $startparams:="?Login=opsb"
    ' --template-action connect,update-all  \
      --module mockvidelibri.xqm --xmlns videlibri=https://www.videlibri.de --dot-notation=on \
      --template-file data/libraries/templates/sisis/template > /dev/null
[...]
x"" syntax is deprecated. Use `` from XPath 4
[...]
x"" syntax is deprecated. Use `` from XPath 4
[...]

One of these seems to be gone when I change to only occurrence of x"" in data/libraries/templates/sisis/template (diff below). Not sure where the other warning originates.

--- a/data/libraries/templates/sisis/template
+++ b/data/libraries/templates/sisis/template
@@ -31,7 +31,7 @@
 
 <action id="login">
   <s>$user-account-page := if ($user-account-page) then $user-account-page 
-                           else x"{$server}/userAccount.do;{$jsession}?methodToCall={if ($touchpoint) then "start" else "show&amp;typ=1&amp;type=1"}",
+                           else `{$server}/userAccount.do;{$jsession}?methodToCall={if ($touchpoint) then "start" else "show&amp;typ=1&amp;type=1"}`,
      $urgent-message := ()</s>
   <page url="{$user-account-page}"/>
   <pattern>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.