• Resolved vermaakpetrus

    (@vermaakpetrus)


    Hi there,

    A very popular storage solution is Nextcloud. Could you please add support for Nextcloud?

    Example: I sync my Calibre libraries to my Nextcloud, and it would be amazing if I can run Bookshelves from Nextcloud storage.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author photonicgnostic

    (@photonicgnostic)

    Hello Petrus,

    It appears the plugin can support links and images from Nextcloud. I want to keep this plugin focused on library catalogs. I don’t want to start adding features to support a myriad of cloud storage platforms which would be better supported with their own WP plugins.

    That said, I think I can compromise by adding the ability for you to add custom link structures, which would allow you to create Bookshelves of items in Nextcloud. Keep an eye out for this in future updates, and thanks for the suggestion.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    @photonicgnostic Thank you so much! The ability to add a local or remote path would be totally awesome! It fixes the problem nicely!!

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    @photonicgnostic Do you think you could add webdav support as well?

    Plugin Author photonicgnostic

    (@photonicgnostic)

    With version 5.1 you now have the ability to add ‘custom’ catalogs. You should have no problem using it with Nextcloud. Try it with Webdav and let me know.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    Awesome! I will try and give feedback!

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    @photonicgnostic I tried but looks like I have no idea what I am doing.

    I have my webdav link and username and password and tried to add it but not working.

    Any help or suggestions?

    Plugin Author photonicgnostic

    (@photonicgnostic)

    First off, any items you want add to a Bookshelf need to be publicly viewable, not requiring a username/password to view.

    Then, to configure the plugin for Nextcloud, WebDAV, etc.:
    In the the plugin settings, choose Other for your Catalog System. Copy the link to an item on your server and paste it into the Catalog URL Example field, replacing the item identifier in the URL with {ID}.

    Do the same for the Image Server setting, copying the URL of the item image and again replacing the item identifier with {ID}.

    (This will only work if the item and image have the same identifier.)

    Then add item identifiers to a Bookshelf.

    I have successfully tested this with the Nextcloud demo server. I can’t guarantee success with a WebDAV server. Let me know if I can help further.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    Unfortunately, I would never make my library public, I’ll try to see if I can include the password in the URL.

    Can you please send a screenshot of the Catalog and Image server links/settings? It would really help me to figure out what I am doing.

    Appreciate all your time and effort!!

    Plugin Author photonicgnostic

    (@photonicgnostic)

    Try something like this:

    Catalog System: Other
    Catalog URL Example: https://demo1.nextcloud.com/apps/files/?dir=/Documents&openfile={id}

    Image Server: Other
    Image Server URL Example: https://demo1.nextcloud.com/core/preview?fileId={id}&x=200&y=200

    You may have to fiddle with share settings or file permissions for the images to show on the Bookshelves.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    Got it, that looks like a normal share and not webdav. I will try and give feedback!

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    I’ve successfully created a share that does not have a password.

    Can you please explain how to do this:
    Then add item identifiers to a Bookshelf.

    Specifically, I cannot see webdav as a service on the list.

    Plugin Author photonicgnostic

    (@photonicgnostic)

    In order to try using WebDAV you’ll need to choose Other for Catalog System and Image Server, as I showed in the Nextcloud example above.

    Something like this:
    URL of file:
    https://example.com/nextcloud/remote.php/dav/files/USERNAME/target.pdf

    Catalog URL Example (entered into the plugin settings):
    https://example.com/nextcloud/remote.php/dav/files/USERNAME/{ID}

    Create a similar example URL for the file thumbnail image.

    When you create a Bookshelf you will add filenames of items you wish to display. Those filenames will replace the {ID} in the example URLs.

    Again, I cannot guarantee the plugin will work for your intended use. Please let me know either way.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    So let me get this straight, I have to create links for each book I want to display? Cause I have 30 thousand books.

    For info, I have uploaded a calibre library with it’s database into my nextcloud drive.

    And there is a problem with your method, nextcloud does not allow webdav without a username and password.

    Plugin Author photonicgnostic

    (@photonicgnostic)

    Then you cannot use WebDAV with this plugin.

    The plugin creates the links. You give it a URL template in the plugin settings and put a list of unique identifiers into a Bookshelf post. The plugin then puts those identifiers into the URL template to create links.

    If you are looking for a way to easily browse thousands of books this is not the right plugin.

    Thread Starter vermaakpetrus

    (@vermaakpetrus)

    I asked for nextcloud support and was given webdav instead. Why not tell me from the start it cannot be done instead of wasting my and your time? As for not being suited for thousands of books, is that not what a library is supposed to be? Anyway, thanks for adding webdav and trying at least. I’m sure many other people will appreciate the feature.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Nextcloud Storage’ is closed to new replies.