Closed mann015 closed 11 years ago
Its very hard to say from this point but you might want to debug or provide with some more details. I try to get selected region at this(https://github.com/logiclord/epubReader/blob/master/js/epubReader.js#L435) point using infusion API.
I am also facing same issue?? Can you able to provide proper solution??
Can you provide some more details ? What part worked and where it failed ?
I am trying to "Add bookmark" for selected text from "Bookmarks" tab. It is showing following message : "Please make a selection for bookmark". The same problem for "Add note" also.
Just to clarify "selected" means selected via ePub reader selection tool not cursor selected text. Can you confirm which dom element is present at https://github.com/logiclord/epubReader/blob/master/js/epubReader.js#L390
I am trying to "Add bookmark" for selected text from "Bookmarks" tab. It is showing following message : "Please make a selection for bookmark". The same problem for "Add note" also. not able to understand "selected via ePub reader selection tool" i'm not seeing anything like that.
Hi Suresh,
I think you have not selected an element. In this reader a selected element means a selected dom object. Only a given
Thanks Gaurav for the quick reply, I tried lot but not getting it correctly. When I am selecting any text and trying to book mark it throws exception. The below piece of code 'infusionAll.js 11771', I think I am facing problem. fluid.getScopedData = function(target, key) { var data = $(target).data(NAMESPACE_KEY); return data ? data[key] : undefined; }; This function returns undefined when I click on Bookmark button after selecting text. Let me know, if I am missing some thing here.
Can you share a screenshot of how are you trying to select ?
one is for selection and another one is after clicking the bookmark button by mouse
Gaurav Sir, anything else you need from my side
Dear Sir, Waiting for your response..
Issue with your scenario is that you have not selected anything. Selection in this epub reader is different from selection made by dragging mouse cursor. You need to use selection mechanism of the reader. You need to activate the selection by hitting activation (space bar by default) then you will be able to selection using arrow keys.
I am not a sir, I am just Gaurav :)
-Gaurav
Thanks Gaurav not Sir :), i was wondering is there anyway we can store that bookmarks and notes into our database, because everytime i refresh the browser it flush every notes and bookmark. i need to store them for future use customer wise. any help will be appreciated.
Hello Gaurav ! this is Beyond this scope, but need your help when we open epub files which are created using pdf to epub converter(like Anicesoft EPUB Converter), it doesn't work with our framework. may be because of missing toc.ncx file. but all of your epubs files open well in the framework. what you used to make the epub file, if we are following the same for opening , we should follow the creation of files also. please let us know the procedure how you did that .
Regards suresh
Example epubs i am using are not converted epub but freely available epub files.
Hello Gaurav ! when i tried to open epub(other than your exapmle files) file it throw these errors, please see the screenshot
Hello Gaurav! we are using these link for download sample code but its not working with our epub reader.
Regards
Can you make sure that these books are valid epub 2 format books http://validator.idpf.org/
Hello Gaurav ! Nice to hear from your side, Approx. lost the hope to complete the project. here i'm sending you the report from the same link you provided. one for epub generated by the software and one in your expamles
PFA
i tried it before but i was not able to get 100 % ok file with it. one more thing can you suggest any paid software which can help us to build epub's file(which obviously cab be opened in your framework :)) Regards
Hi Suresh,
I don't have much of information about software to convert ebooks to epub.
Thanks, Gaurav
Thanks Gaurav ! did you checked the error screenshot(through Firebug) which i sent you before
Regards suresh
When i am trying to add a bookmark / add note to some text i t is showing that make i selection for note or make a selection for bookmark though i have already selected. Can u go through the error .