Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Reading and Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2014, 11:54 AM   #16
Twyn
Enthusiast
Twyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTwyn can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Twyn's Avatar
 
Posts: 33
Karma: 12514
Join Date: Jan 2011
Location: France
Device: Kobo Glo and Kobo Mini
For people who want to share a collection of epubs (or mobi, pdf, cbz...), you can also use Ubooquity (full disclosure: I am its developer), provided your hardware supports Java.

Completely stand-alone and it does not import/modify your collection.

OPDS support is not implemented yet, but it should be done this summer as it is the next feature on my to-do list.
Twyn is offline   Reply With Quote
Old 05-30-2014, 12:18 PM   #17
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
Hello,

Quote:
Originally Posted by Adminer View Post
Thank you for your code. Did you think to do that on flat file database? I'm thinking to do the same in PHP - but on my windows localhost.
Sure, flat files are cool. And no, I definitely won't do any work on elibsrv to make it use flat files as a db backend - I've done this kind of things back in 1995, but not anymore I actually don't see any possible benefit of running on text files.

Quote:
Originally Posted by Adminer View Post
but my phpadmin when I import sql file into elibsrvdb databese, said an error:
This is because you are trying to run elibsrv on a MySQL db, while elibsrv requires a Postgresql database. In my opinion Postgresql is far superior to MySQL, so I use it in pretty much anything I do. However, I am aware that many people use MySQL, because it sadly became a defacto 'standard' (hence the whole LAMP/WAMP concept..). I already though about making elibsrv compatible with MySQL, but it's not as easy as it might look like. I will see if I can come up with something modular that could use any possible backend plugin (so maybe one day someone crazy enough would even create a flat-txt backend for elibsrv, who knows). Anyway, I will see what I can do.
mateuszv is offline   Reply With Quote
Advert
Old 05-30-2014, 12:38 PM   #18
tuskin
Enthusiast
tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.tuskin ought to be getting tired of karma fortunes by now.
 
Posts: 44
Karma: 3486210
Join Date: Jul 2010
Location: Jyväskylä, Finland
Device: Xiaomi Redmi Note 9, Surface 3
Yes, the new URL works in IE!
tuskin is offline   Reply With Quote
Old 05-30-2014, 12:56 PM   #19
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
Quote:
Originally Posted by tuskin View Post
Yes, the new URL works in IE!
Thanks for the confirmation
So as I suspected, this is only a problem of autodetecting the browser.

I looked now in my server logs, and I think I located you. Finland - am I right?

Your browser is announcing itself like this:
"Windows NT 6.3; Win64; x64; Trident/7.0; Touch; rv:11.0"

And this match nothing I detect as a browser. For IE, I was expecting something like "MSIE 8.0" or similar... Your browser seems to be somehow different.

I adapted elibsrv to detect your browser too. So now, you should be able to access correctly the "normal" URLm without specifying the 'html' token:
http://elibsrv-demo.viste-family.net

Could you please confirm it works fine as well now?
mateuszv is offline   Reply With Quote
Old 05-31-2014, 01:13 PM   #20
Adminer
Junior Member
Adminer began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2013
Device: Kindle
Quote:
Originally Posted by mateuszv View Post
Hello,
I definitely won't do any work on elibsrv to make it use flat files as a db backend - I actually don't see any possible benefit of running on text files.
Postgresql is far superior to MySQL, so I use it in pretty much anything I do. However, I am aware that many people use MySQL, because it sadly became a defacto 'standard' (hence the whole LAMP/WAMP concept..). I already though about making elibsrv compatible with MySQL, but it's not as easy
Ok. I take my UWAMP portable and find how to add Postgresql. One whole night to install and configure with manuals - and in the end, Postgresql said, that I'm lamer - because I can not add another user elibsrv, but I was trying to do that in the end, when Postgresql start to live ;-)

So, in my humble opinion -Postgresql it's a NASA software - only to use in space... :-)

Do one simple experiment with flat file database - run your localhost, download and unpack razorCMS core from: http://v2.razorcms.co.uk/core-system.htm

and run install.php
One minute later you have everything to create www service on flat file database.

So - it's not a good idea to use NASA software, because we have no spaceships tu run in space ;-) Or... start to use full portable enviroment to run.

OK. But what about nasty MySQL? I have phpmyadmin, I can add user and database - I hate MySQL, but now, after one whole fighting night with Postgresql to create this portable on UWAMP - MySQL is a perfect tool

I have read about this universal tool -> ADOdb -> http://adodb.sourceforge.net
Is it possible to add this and run with MySQL?

The final software should run as portable version on something like UWAMP:
http://www.uwamp.com/en/

I do everything to run your code on my UWAMP - from tutorials:
http://camoren.blogspot.com/2012/04/...gadmin-in.html
and with:

https://github.com/francoisjacquet/r...SIS-on-Windows

and I use:
http://www.enterprisedb.com/products...wnload#windows
becasue there is pgadmin3.exe - very nice tool as they said

But there is no good tools to configure this database engine - there is nothing for normal people to create new user with pass, to create new database with this user = NASA software too ;-)

So, It's very possible, that I must rewrite your code on flat txt database files in the future, or wait on MySQL version.


But I will cry for your searcher there - it's very fast on demo server.

Regards

Last edited by Adminer; 06-07-2014 at 06:25 PM.
Adminer is offline   Reply With Quote
Advert
Old 05-31-2014, 02:11 PM   #21
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
Hello Adminer,

PostgreSQL is not that much difficult - or at least not more difficult than MySQL. Of course if by "NASA software" you mean "command line", then indeed, postgresql require to type a few commands here and there (unless using PgAdmin).

Creating a user should be as simple as this:
CREATE USER elibsrv WITH PASSWORD 'mypass';

PostgreSQL comes with an extensive documentation:
http://www.postgresql.org/docs/8.4/s...reaterole.html

You might want to look into the readme.txt file of elibsrv - I wrote there the few commands that would be required to declare a db for elibsrv on PostgreSQL.

If you have troubles with something specific, don't hesitate to ask - I will try to help out (and this could give me some ideas to document the whole thing better).

Anyway, as said before, I know that there are people out there that are more confident with MySQL, and I will see what I can do to make elibsrv run on MySQL.

As for flat files - of course flat files are cool and all, but I just don't have the time to reinvent a db engine on my own.
mateuszv is offline   Reply With Quote
Old 05-31-2014, 04:33 PM   #22
Adminer
Junior Member
Adminer began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2013
Device: Kindle
Quote:
Originally Posted by mateuszv View Post
Hello Adminer,

Creating a user should be as simple as this:
CREATE USER elibsrv WITH PASSWORD 'mypass';
Thank you for your answer. The problem is, that I have no any place to run that command line on Windows, or I can not find it. UWAMP has not console to write this command line. UniServerZ has something like console, but I chose UWAMP to upgrade with PostgreSQL database - big job - and... There is postgre user only, and I had a problem to add another one.
This film is very helpfully - http://youtu.be/-f9lke78g2U , but I must start to learn more and more
Crossing the Space Frontier...

Regards
Adminer is offline   Reply With Quote
Old 12-20-2015, 04:42 AM   #23
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
Hello all, I released a new version of elibsrv today. This version comes with several improvements: the most notable are probably PDF support and Kindle compatibility.

Full changelog below.
Quote:
version 20151220:
- added PDF support,
- invalid language metada are ignored,
- safari browsers get the html view by default (as used by Kindle),
- html output optimized for small screens,
- added support for kindlegen to convert ePubs to MOBI files on the fly,
- web frontend detects missing libraries instead of returning a blank page,
- optimized the html frontend for small screens,
- boosted library scanning performances by 200% (only changes are synced).
Project's homepage: http://elibsrv.sourceforge.net
DEMO server: http://elibsrv-demo.viste.fr
mateuszv is offline   Reply With Quote
Old 12-24-2015, 12:35 PM   #24
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
And here I'm happy to announce yet another new version of elibsrv - this time the improvement is about dropping the PostgreSQL dependency. Instead, elibsrv uses an embedded SQLite database to store ebook's metadata. This makes it much easier to install, since no fiddling with any SQL db is required now.

Last edited by mateuszv; 12-28-2015 at 12:57 AM. Reason: typo fix
mateuszv is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can epub files communicate with a server? peyenko Workshop 1 09-05-2013 12:16 PM
epub mimetype and Content Server paulfiera Calibre 4 10-08-2012 12:51 AM
A program for converting HTML pages into EPUB on a server side Chang ePub 6 09-29-2012 10:59 AM
Unreadable epub Calibre-Server not Windows zeroday Calibre 4 08-24-2012 10:27 PM
ePub reader that gets along with Calibre Server? Seanette Android Devices 6 02-29-2012 10:27 PM


All times are GMT -4. The time now is 03:41 PM.


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