Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-04-2019, 08:40 AM   #1
Syllius
Enthusiast
Syllius began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2019
Device: None
Content Server

My apologies if this question has already been asked. I'm interested in making modifications to the content server. I believe I read somewhere that you can move a copy of the index.html from the "content-server" sub-directory into the "resources" directory for editing. I made a quick change, but didn't see the alterations reflected immediately so I decided to come here before investing too much time. Is there a resource that anyone could direct me to which would provide instructions for editing the HTML / JS output of the content server? Thanks in advance.
Syllius is offline   Reply With Quote
Old 07-04-2019, 08:56 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,276
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The file you need to make the changes to is index-generated.html

and it needs to be placed in the calibre config directory as described here https://manual.calibre-ebook.com/cus...ates-et-cetera
kovidgoyal is offline   Reply With Quote
Advert
Old 07-04-2019, 10:32 AM   #3
Masnoon
Junior Member
Masnoon began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2019
Device: Android Phone
Content Server is not working

Dear Sir,
I have configured the content server and want to access the server outside of my home network. It is not working as I have tried with my mobile internet. I followed all the instruction of this : Accessing the server from anywhere on the internet, from this link but still it is not working.

Whenever I enter this information with my mobile internet browser, nothing comes, please see the attachments.

Please help.
Attached Thumbnails
Click image for larger version

Name:	sdsa.png
Views:	233
Size:	31.7 KB
ID:	172248  
Masnoon is offline   Reply With Quote
Old 07-04-2019, 11:43 AM   #4
Syllius
Enthusiast
Syllius began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2019
Device: None
Thank you so much for the quick response and this amazing piece of software. I am searching through the index-generated.html and am only having trouble finding one thing at the moment. I cannot seem to find how to call the total number of books available that shows in the mobile version but not in the desktop version. I searched the file for "Book", "Books" and even attempted to go through "of", but to no avail. Can you please tell me the DOM name for the total book count? Thank you again and many blessings for your hard work and contribution.
Syllius is offline   Reply With Quote
Old 07-04-2019, 06:42 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,653
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Masnoon View Post
Dear Sir,
I have configured the content server and want to access the server outside of my home network. It is not working as I have tried with my mobile internet. I followed all the instruction of this : Accessing the server from anywhere on the internet, from this link but still it is not working.

Whenever I enter this information with my mobile internet browser, nothing comes, please see the attachments.

Please help.
If you are entering the information shown on the calibre server's information page, it will not work outside your home network. You need to follow the instruction on the page you referred to and use the external IP address of your router not the internal IP address of your server.

That is on your router, configure port forwarding to forward port 8080 to the internal address of your server and then use the external address to connect from outside. For instance, your computer's internal IP address is 192.168.2.34, configure port forwarding to that address. Do a Google search on what's my ip and record the address shown. For myself, the result was similar to:
Code:
8.114.17.150
Your public IP address
In the example, you would enter 8.114.17.150:8080 as the address from outside your network. Easy way to test is to turn off WiFi on your phone and see if it works.

I've assumed the instructions you followed were the ones I've copied below:
  1. Find out the external IP address of the computer you are going to run the server on. You can do that by visiting the site What is my IP address in a browser running on the computer.
  2. If the computer is behind a router, enable port forwarding on the router to forward the port 8080 (or whatever port you choose to run the calibre Content server on) to the computer.
  3. Make sure the calibre server is allowed through any firewalls/anti-virus programs on your computer.
  4. Now you should be able to access the server on any internet-connected device using the IP address you found in the first step. For example, if the IP address you found was 123.123.123.123 and the port you are using for the calibre server is 8080, the address to use on your device becomes: http://123.123.123.123:8080.
  5. Optionally, use a service like no-ip to setup an easy to remember address to use instead of the IP address you found in the first step.
DNSB is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibredb does not work with content server running (content server is using --enable Irvin Server 3 01-08-2019 02:47 AM
installing Calibre content server 3 on ubuntu server 16_04 khyox Calibre 22 01-06-2018 11:34 PM
Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 Cool Javelin Calibre 5 04-08-2015 02:20 AM
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM


All times are GMT -4. The time now is 12:53 PM.


MobileRead.com is a privately owned, operated and funded community.