Your comments

I do know that sometimes people rename CBRs or CBZs without actually converting them... and that can cause problems as well.  There is a little utility out there called ZENCBR.  It's a little difficult to navigate until you get the hang of it, but it checks a folder (and all sub-folders) for CBRs and CBZs, tests them to find out if they're CBR or CBZ, and coverts archives that are improperly named to whichever you choose.  I believe it went through all 50,000 of my comics in about 2 minutes.  Then, when I reimported them into Ubooquity, a bunch of books showed up that I could not get to import earlier.  Imagine that?  Heh!  

Good Luck! 
G

Hi Seth,

Check your logs.  See if you're getting an error when it tries to import the comic. 

If I remember correctly, I had the same problem with a few comics when I first loaded them into Ubooquity 2.12.  What I found was that the offending .cbz/.cbr contained a single non-image file (usually a .cvs that someone added for navigation purposes) that interfered with loading the first image of the comic into Ubooquity.  To fix it, I had to open the comic with comic rack, delete the file from the archive, and then re-load it into Ubooquity.

Hope that helps. But definitely check your logs for more information.  They should tell you if Ubooquity is having a problem loading the image from a comic or book.  That's how I ended up tracking it down.

Regards,

G

BTW:  Did you notice that the user name appears in the banner of my page-library?  session storage is a wonderful thing. :)

Just to give you an idea of what it displays like in story arcs or book series:

Image 820

Hi Tom.

The sorting algorithm is not really a problem.  Like I said, it's nothing to write a batch script to rename my books.  I just didn't want to do it and then change it back. ;)

As for what I'm trying to accomplish with "items per page"...

There are times, like when I'm displaying the {{rootPath}}/comics or {{rootPath}}/books section that I don't want to limit display to an items per page.  I want all the folders displayed.  Then, like when displaying the latest or random comics/books, I'd like to customize the number of items to display.  What would really be interesting is creating a mustache tag to do it.  Maybe something like {{#itemsperpage=50}} this block would only load 50 items on the page {{/#itemsperpage}} or {{itemsperpage=all}} this block would display everything {{/itemsperpage}}

BTW:  I've been making good progress on my theme design.  I added a button to the popupmenu for bookmarks so that I can create story arcs and book series' with JSON files (like the comixology theme) except the JSON exporter allows you to remove single issue as well as fill out the metadata fields to use for your bookseries/story arcs pages.

Here is a taste:






Image 818

Couple of questions for those in the know:

1.  Are there any plans on changing the current lexicographical sorting method or, perhaps, adding the feature of numeric sorting in Ubooquity?  I ask because I have over 50,000 comics/books/magazines that are sorted numerically.  And while it's no big deal to use a batch script to rename them so they'll sort correctly with a lexicographical sort, I'd rather hold off if there's something in the works.

2.  I saw someone else reported that {{parentUrl}} will not go back to the home page when "bypass root folder" is on.  For anyone intersted, here is a small javascript fix to add to your inc-library-topbar.html:

document.addEventListener('DOMContentLoaded', function() { const currentUrl = window.location.href;
if (!(currentUrl.includes('latest=true') && currentUrl.includes('random=true') && currentUrl.includes('search=simple'))) { const parentUrl = document.querySelector('#arrowup').getAttribute('href'); const rootPath = '{{rootPath}}'; const category = '{{category}}'; const targetUrl = `${rootPath}/${category}/`;
if (parentUrl === targetUrl) { document.querySelector('#arrowup').setAttribute('href', rootPath); } } });

3. Has anyone else noticed that {{parentUrl}} becomes {{rootPath}} when closing the reader app after reading a book/comic/magazine displayed during a search?  Likewise, when you enter a folder that's displayed during a search, {{parentUrl}} becomes the parent of that particular folder instead of going back to the search results page. Fortunately, I have been able to fix most of this with javascript but I was wondering if it's going to stay that way or if there are plans to address this in the future?

4.  My final question is probably more directed at Tom and it's regarding the "items to display" setting.  There are times when I would really like to change the number of cellcontainers displayed in a page.  If I set "items to display" at a higher value, I am able to truncate the results.  However, it seems I can't prefetch or get information from the {{nextPageUrl}} without loading it.  Am I missing something or is what I'm trying to do a futile attempt?

Thanks,

G

Hi Tom!

I've been playing around with writing a theme for Ubooquity v3 and I've noticed a few things that I thought I should bring to your attention:

1.  If your numbering system follows 1 thru 10 and 10 thru 100 then the sorting system lists 1, 10 thru 19, and then starts at 100.  Of course, someone could rename of their collections 001 thru 100 and the problem goes away.  But it is a bug that been around since version 2.

2. I would really like to be able to access {{#userName}} mustache tag while using the files in the /library folder because, as it is, you can't logout anywhere except the page-home.htm (especially the page-library and page-library-category-root-dir.html files).

3. Would it be too much to ask for a "items per page" for each used category so we have the option to load more or less depending on those categories?  Similarly, can we have a way to turn off the items per page when displaying the page-library-category-root-dir.html?  Maybe a mustache tag override? :)

4. I'm assuming this is a scripting error that I'll find and fix eventually, but the arrow up that goes to the {{parentUrl}} in the toppagebar <div> in the default theme does not go back any farther that the page-library-category-root-dirs,html page.  In other words, there is no way to get back to the page-home.html page once you've entered the page-library-category-root-dirs.html page. The easy workaround was to add and <a href="{{rootPath}}"> tag around the Ubooquity banner.

Also, I would like to thank you so much for continuing Ubooquity.  I am pretty happy with v2 using my heavily edited comixology 2 theme.  I like the sliders on the homepage and the added ability to listen to my audio books. I even used some javascript to remember which header image I was displaying in the parent folders so I didn't have to have one in every sub-folder (I thought that was pretty slick). ;)

Anyway, I plan on doing something a bit more original with v3.  I've already integrated a dual color scheme that seems to be fully functional on every page (which was a challenge because lots of things disappeared until I realized you were using svgs all over the place that I had to use filter on to get to display).  After I finish integrating the color schemes into the popups I'm going to really focus on a snazzy looking homepage and some audiobook functionality.  If it turns out decent I'll submit it for your approval and share. 

Peace out \/

G