Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2015, 09:35 AM   #1
ppetree
Junior Member
ppetree began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2015
Device: nextbook
Question New store creation

Sorry if this is the wrong place for this question but this certainly seemed like a better option than the other sub-fori.

How do you create/add a new store?

For instance, if I were a major corporation and I wanted to add a store with all the e-books created by my company for internal use only (i.e. employee manuals, travel guidelines, sexual harassment policies, patent application process), how would I create a store that only my employees could access?
ppetree is offline   Reply With Quote
Old 08-15-2015, 10:28 AM   #2
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
At this point, what you need is a knowledge base (or document management), not an elibrary management. OpenKM and Kimios seem to come up first for a search on "open source document management". We use Ennov at work, but that maaaaay be a tad overkill. Maybe. Depends on the size of your structure, I guess. For a "major corporation", meaning ISO requirements for documentation procedures (among other things like version control)? Yeah, those three is where I'd start, and then go up.

But if you really, really want Calibre with authentication and/or access control, what you'll need is install it on a dedicated server (just throw a Linux VM somewhere on your network) and run it from Apache. Start as many calibre-server instances as you have libraries / virtual libraries to share ( with something like calibre-server --with-library <library-path> --port 808x --restriction <virtual library name> --daemonize).
aleyx is offline   Reply With Quote
Old 08-17-2015, 08:54 AM   #3
ppetree
Junior Member
ppetree began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2015
Device: nextbook
Thanks for all that... I didn't give the real business idea, just an example usage. Your solution doesn't work for my needs.

What I really need to know is how to create a store. I'm guessing there's some form of plugin that needs to be developed?

Thanks,

Pete
ppetree is offline   Reply With Quote
Old 08-17-2015, 10:46 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
What do you mean by "store"? If you want a server stocked with materials that can only be accessed by employees, then aleyx's example appears to work perfectly.

If you want to attain granularity over which materials can be accessed by which people, and possibly throw payment processing in on the side, I don't think calibre is going to cut it...


I would like to humbly suggest that an example usage should correspond to actual usage, or we can't do a very good job of helping you.
We *can* continue throwing spaghetti solutions at the walls, hoping one of them will stick to your "real business idea". But it seems rather inefficient.
eschwartz is offline   Reply With Quote
Old 08-18-2015, 07:39 AM   #5
ppetree
Junior Member
ppetree began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2015
Device: nextbook
Calibre -> Get Books -> Stores

There are about 4 dozen stores listed.

Now, logical person would conclude that these stores are plugins and not hard coded.

Where is the documentation for creating a store plugin and is there any example code out there?

I've looked and if you google "calibre create plugin store" in any combination all you get are instructions on installing a store plugin.

There are no payments to be processed, only user validation is needed.
ppetree is offline   Reply With Quote
Old 08-18-2015, 08:29 AM   #6
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
Well, the plugins dialog lists "store" plugins, and Calibre's source code has those plugins' source in /src/calibre/gui2/store/stores. Is that what you meant?
aleyx is offline   Reply With Quote
Old 08-18-2015, 02:28 PM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,566
Karma: 84810789
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
I think that there is a misunderstanding here. The "store" plugins in calibre are used by the "Get Books" feature to help locate books available for purchase from e-book stores, such as Amazon and Barnes & Noble. They do not turn calibre into a store to sell books.
jhowell is online now   Reply With Quote
Old 08-18-2015, 02:56 PM   #8
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
Or maybe you already have an internal online repository (a "store"), and you want your users to use Calibre (with a plugin for your store) to access this repository? And you want to know how to write this plugin for your store?
aleyx is offline   Reply With Quote
Old 08-18-2015, 03:05 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,973
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by aleyx View Post
Well, the plugins dialog lists "store" plugins, and Calibre's source code has those plugins' source in /src/calibre/gui2/store/stores. Is that what you meant?
Calibre 'Store' is to Someone else's store (via the WEB). It is a referral service.

It is NOT a shopping cart for the library contents.
theducks is offline   Reply With Quote
Old 08-18-2015, 04:26 PM   #10
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
Quote:
Originally Posted by theducks View Post
Calibre 'Store' is to Someone else's store (via the WEB). It is a referral service.

It is NOT a shopping cart for the library contents.
Indeed, which is why I find the whole thing puzzling, to say the least. If the point is to "create a store" and run it, Calibre is not the right tool because it can't do it. If there already is a web store and its contents are to be distributed through Calibre's store plugin feature to a select but apparently relatively large amount of people (i.e. larger than a family), then I would say that Calibre still isn't the right tool for that job. Better adapt the "store" itself.

Frankly, as eschwartz said we know way too little about the whole project to be able to understand where Calibre is supposed to stand in it.

N.
aleyx is offline   Reply With Quote
Old 08-18-2015, 06:39 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,677
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ppetree View Post
Sorry if this is the wrong place for this question but this certainly seemed like a better option than the other sub-fori.

How do you create/add a new store?

For instance, if I were a major corporation and I wanted to add a store with all the e-books created by my company for internal use only (i.e. employee manuals, travel guidelines, sexual harassment policies, patent application process), how would I create a store that only my employees could access?
@ppetree - whilst what you want to do, make corporate documents available to employees, could be done with calibre, it's Store facility is probably not the way to go. A better fit would be to use the calibre-server feature - the employees could then access the repository of documents via a web browser.

That said, I would not consider using calibre for the purpose you've outlined. I'd be looking at document management systems. IMO calibre is too restrictive, things like policy documents change over time so one needs things such as version control and workflow management baked into the product - calibre doesn't have and is never likely to have those.

I guess you could have a document management system that is used by the 'document creators' who 'publish' their documents into a calibre library that the 'document consumers' access via a web store. But I think all the DMS's I've used had a read only mode for 'document consumers'.

BR
BetterRed is offline   Reply With Quote
Reply

Tags
storage, store creation, stores


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Google books store, compared to Kobo store Joques Kobo Reader 9 06-11-2014 09:05 PM
Sony Reader Store closing down - to transfer to Kobo Store or not? Please discuss! drdtyc Sony Reader 28 04-21-2014 08:06 PM
UUID creation? Turtle91 Sigil 83 08-20-2013 03:36 AM
[Store plugin] Polish ebook store - nexto.pl t3d Plugins 7 05-15-2011 08:12 PM
I can log on to Sony Store, but I can't access the Store Dr. Drib Sony Reader 3 04-11-2009 09:05 AM


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


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