Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : All in One: added bookmarks


Mike Kostousov
09-18-2007, 08:24 AM
Hello!

I've done first step with bookmarks in all-in-one ipdf. It's working now.

Whats done:
1) You can add bookmark for page by pressing icon which following by "pan" icon.
2) You can view and navigate bookmarks by pressing "sort" icon.
3) Bookmarks are stored in manifest.
4) Now it is possible to add just 10 bookmarks (I need to display them in several pages)

What I plane to do:

1) Add comments to bookmark
2) Devide bookmark in to pages
3) More nice design of bookmarks view
4) Pre-load of bookmarked pages

Please, if somebody will try to use it - be careful. I am not sure, that it works correct, so using of this ipdf is on your responsibility.

With best regards,
Mikhail Kostousov

Moderator Edit: For an easy installer to use with firmware 2.11 see this post (http://www.mobileread.com/forums/showpost.php?p=101071&postcount=16)

nekokami
09-18-2007, 09:57 AM
Excellent! I don't know if I'll have time to test this before your next revision comes out-- if I do, I'll post comments. I really need this sort of functionality.

Can the bookmarks be named, or is that the "comments" function you mentioned?

Also, do you have an Amazon wishlist or some other way of contributing something to you? I already gave you some Karma, but this is a huge help to me, and I always said I would pay for this functionality if it were made available.

tribble
09-18-2007, 10:37 AM
Great, thats what i was hoping for.
I will test it later on.
Are all the other features still in (fullscreen etc?)

Adam B.
09-18-2007, 12:00 PM
Great Job!

Hopefully this can be merged into iRex's main ipdf branch. I've made a post over in the iRex forum (http://forum.irexnet.com/viewtopic.php?p=9130#9130).

Mike Kostousov
09-18-2007, 01:12 PM
This is just first "release" of bookmarks. Now I see that I forgot something :)

I can add this functionality to official iRex ipdf branch. But, I am not sure, that iRex will have it. I developed bookmarks for my self, because I suddenly realized that I spend much time just to open correct page. So, I tried. I have no experience in GTK programming, and have no time to get it. So, I created bookmarks dialog by X graphics. May be, it is not good. But I found, that dialog is showed a bit quicker than GtkAuth dialog, and I spend less time, than I would spend with GTK.

I hope, that I will find some time to complete bookmarks. Probably, at next Sunday I will add names and comments.

By the way, did somebody test it?

yokos
09-19-2007, 10:42 AM
This is cool. Thx. It is working like a charm. :iloveyou:

Mike, can it be that you forgot to strip the binary? It's pretty large w/o it.

[EDIT:] Yes, all other features like fullsreen are in.

tribble
09-19-2007, 02:54 PM
Great. I do very much like it. Thanks alot.

emkay
09-21-2007, 08:52 AM
This is really useful,along with all the other great work done on IPDF.
Thanks!

jharker
09-22-2007, 11:52 AM
Fantastic! And it's nice to see a new contribution to ipdf!

I haven't had a chance to try this yet, but I'm very excited about it. It would be VERY useful. If you add functionality to make comments for each bookmark, I wonder if they could be little handwriting-boxes? That way we wouldn't have to mess around with the keyboard. Although probably a text-box would be easier to implement.

Anyway, excellent work, and I'm looking forward to trying it!

nekokami
09-22-2007, 01:12 PM
If the input box can take text, the handwriting version of the keyboard input tool can be used. That's what Adam B. did with Gargoyle.

emkay
09-23-2007, 05:42 AM
jharker, you beat me to the punch.
I was just going to ask for the same thing, along with a request to have slightly smaller bookmark entries (not so tall) to allow for more per page.
I've just started doing some course work again, and I've been using the bookmarks feature. I'm starting to wonder how I managed without it last time. It's not so relevant for reading fiction I suppose, but for other contexts I can see it becoming indispensible.
Scribbled bookmark descriptions would be great!

johnsidi
09-23-2007, 09:50 AM
How can I install this new version? :headscratch:
Thanks in advance!

nekokami
09-23-2007, 08:13 PM
Is a stripped binary coming, or should I just go with the current version? I've been holding off just a bit to save space.

Adam B.
09-24-2007, 07:10 AM
Is a stripped binary coming, or should I just go with the current version? I've been holding off just a bit to save space.

You run linux don't you? Why not just get a copy of binutils and run the strip command on it? I think it can strip any binary, regardless of the architecture.

yokos
09-24-2007, 08:18 AM
I stripped the binary: before 1,49 MB, after 99 KB. This is a nice saving. :D
I tested the stripped binary, it is working.

So nekokami or others, do you wanna earn some karma?
You could replace the binary of the flying around ipdf replacement script.

realityloop
09-28-2007, 07:49 PM
Here is installer using the stripped binary..

I've edited the scripts so that the install procedure copies the iRex ipdf version installed on your machine for use during uninstallation into the directory of the installer files, this will ensure that you go back to the correct version if you decide to uninstall :2thumbsup

Tested and working on 2.11 :2thumbsup

In future all that would need to be edited to upgrade this installer would be update the "Firmware_Script" file and replace "ipdf" with whatever version you are wanting to replace the default one on your Iliad with :2thumbsup

29-Sep-2007: updated script to add cleanup of ipdf_iRex from installer dir after restoration of iRex ipdf viewer

30-Sep-2007: updated manifest for install instead of uninstall :smack:

haasiesoft
09-29-2007, 07:16 AM
hi,

greate work - i love the fullscreen pdf viewer -

but the actual manifest ist for the deinstallation of the ipdf file and restore the Irex File - not for the installation of the ipdf file . (only changes in the manifest)


and

was the function of the button changed ??

haasiesoft

realityloop
09-30-2007, 03:52 AM
hi,

greate work - i love the fullscreen pdf viewer -

but the actual manifest ist for the deinstallation of the ipdf file and restore the Irex File - not for the installation of the ipdf file . (only changes in the manifest)


and

was the function of the button changed ??

haasiesoft

Fixed the manifest..

Mike Kostousov
09-30-2007, 03:03 PM
Hello.

I am happy to see that somebody find my addition useful. I also improved my reading with iLiad.

Now, I added some edition possibility for bookmark. You can set name for each bookmark by pressing bookmark icon in bookmark dialog (the same icon which is using for adding bookmark). And second addition - you can add more than 12 bookmark. Bookmarks are being displayed in several pages.

I also know about some bugs. I cannot get normal control on keyboard, I need to clean code and may be, improve some solutions. I also plan to add possibility for comments.

By the way, everybody, who will try this new ipdf, please, bakup all your manifest files. I cannot give any warranty that addition works properly.

P.S: Can anybody test powersaving of "all in one ipdf" in comparing with ipdf 2.11?

realityloop
09-30-2007, 03:36 PM
Hello.

I am happy to see that somebody find my addition useful. I also improved my reading with iLiad.

Now, I added some edition possibility for bookmark. You can set name for each bookmark by pressing bookmark icon in bookmark dialog (the same icon which is using for adding bookmark). And second addition - you can add more than 12 bookmark. Bookmarks are being displayed in several pages.

I also know about some bugs. I cannot get normal control on keyboard, I need to clean code and may be, improve some solutions. I also plan to add possibility for comments.

By the way, everybody, who will try this new ipdf, please, bakup all your manifest files. I cannot give any warranty that addition works properly.

P.S: Can anybody test powersaving of "all in one ipdf" in comparing with ipdf 2.11?

FYI: iIn case you didn't already know, apparently the powersaving features are no longer required with 2.11 firmware.. http://forum.irexnet.com/viewtopic.php?p=9376#9376

rai
10-01-2007, 07:44 PM
I feel kinda stupid for asking this question, but how do the bookmarks work?
I click on the bookmarks icon, which gets selected, but nothing else happens. I tried then selecting keyboard and writing something, but this is not saved nor noted anywhere. I can't find file "manifest" anywhere.

mike b
10-01-2007, 08:02 PM
Ok. I'm new at this. I did the following:

- downloaded version 1 and unzipped on my PC
- copied directory to my CF card
- started iliad and went to CF card, saw "install ipdf ..." icon and double clicked
- install seemed to happen (green light flickered)
- opened a pdf of a paper I'm reviewing. Did not like view: no zoom buttons, etc which I need at my age
- exited and tried "deinstall". Green light flickered. Assumed all was well.
- BUT default viewer still seems to be IPDF!!

Tried all above with ver 2 no difference. So:

- how do I get the irex viewer back?

mike b
10-01-2007, 09:08 PM
OK. So I went reading around and discovered how to toggle the toolbox on/off. That makes all the difference since after install the default was "fullscreen" mode which has no hint that there even is a toolbox. But I found the info over at the Irex forum which was a surprise to me since this is a 3rd party viewer.

Still, I am curious. Since "deinstall" did not return me to the original irex viewer, how would I do so? TIA for any assistance.

realityloop
10-02-2007, 02:43 AM
OK. So I went reading around and discovered how to toggle the toolbox on/off. That makes all the difference since after install the default was "fullscreen" mode which has no hint that there even is a toolbox. But I found the info over at the Irex forum which was a surprise to me since this is a 3rd party viewer.

Still, I am curious. Since "deinstall" did not return me to the original irex viewer, how would I do so? TIA for any assistance.

Does your CF card have ipdf_iRex in the installer dir? if so you can revert to it by editing the manifest file so the contents are as follows:

<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<dc-metadata>
<Title>Restore iRex pdf viewer</Title>
<Description>This will restore iRex original pdf viewer.</Description>
<Date>2007-03-13T09:25:00</Date>
</dc-metadata>
<y-metadata>
<startpage>deinstall_ipdf.sh</startpage>
<image>pdf.png</image>
<version>000</version>
<ItemSize>327680</ItemSize></y-metadata>
</metadata>
</package>

and then running it from the content lister

Mike Kostousov
10-02-2007, 07:42 AM
I feel kinda stupid for asking this question, but how do the bookmarks work?
I click on the bookmarks icon, which gets selected, but nothing else happens. I tried then selecting keyboard and writing something, but this is not saved nor noted anywhere. I can't find file "manifest" anywhere.

1) By pressing bookmark icon (the icon after pan icon) you add bookmark for this page
2) By pressing next icon (sort icon) you open bookmarks dialog.
3) By pressing bookmark icon in bookmark dialog you invoke current bookmark edit dialog.

firekat
10-02-2007, 11:00 AM
A quick question;

Will this bookmark support IPDF read existing bookmarks in all pdf files or will it only read ones that are added through the iLiad?

yokos
10-08-2007, 10:12 AM
A quick question;

Will this bookmark support IPDF read existing bookmarks in all pdf files or will it only read ones that are added through the iLiad?
No, it writes/reads the bookmarks to/from the manifest.xml file.
<bookmarks>
<bookmark_0>
<pagenumber>6</pagenumber>
<name>Contents at a Glance</name>
<comment>Contents at a Glance</comment>
</bookmarks>
But we could use maybe iText [a Java.pdf library] or something different to generate a manifest.xml with all bookmarks of pdf file.

The length of bookmark names is limited to 19 characters.
You can enter longer bookmark names, but they are not saved/loaded from the manifest file.
#define MAX_NAME_LENGTH 128
#define MAX_COMMENT_LENGTH 255

explanation of screenshots:
#1 all characters behind the 19th one are cut

nekokami
10-08-2007, 10:24 AM
Creating manifest bookmarks from PDF bookmarks would be helpful.

Another thing that would be helpful is a tool to accumulate user-created bookmark/comments into one list of linked references. This would go a long way toward giving us the bibliography tool I keep going on about. There could be an add-on tool that would tie PDF filenames to bibliography metadata (e.g. article title, journal title, author, etc.) I'll think about this some more and write up a spec.

harpum
10-09-2007, 09:39 PM
When I first use 2.11 version. I could see the back button.
After I installed bookmark program, I cannot see it.
Is this just my own problem?

bedwere
10-10-2007, 12:14 PM
When I first use 2.11 version. I could see the back button.
After I installed bookmark program, I cannot see it.
Is this just my own problem?
No, it's also mine.

yokos
10-11-2007, 06:49 AM
No, it's also mine.
That's because iRex' 2.11 src was not used. :p
Mike has used jharker's latest modded ipdf & added his bookmarks feature.

Maybe it's time for a little diff session. :book2:

The powersaving of ipdf should be [maybe] obsolete because of the new 2.11 feature "Generic CPU frequency scaling".

good153
10-18-2007, 11:21 AM
Thanks a lot for your effort. I have experienced the convenience of the function of bookmarks and the rest. Here is one problem. The bookmarks cannot work in the mode of landscape. I think using the mode of landscape in order to see small font document more clearly is quite important. Could you please fix the problem? Thank you very much.

Hello.

I am happy to see that somebody find my addition useful. I also improved my reading with iLiad.

Now, I added some edition possibility for bookmark. You can set name for each bookmark by pressing bookmark icon in bookmark dialog (the same icon which is using for adding bookmark). And second addition - you can add more than 12 bookmark. Bookmarks are being displayed in several pages.

I also know about some bugs. I cannot get normal control on keyboard, I need to clean code and may be, improve some solutions. I also plan to add possibility for comments.

By the way, everybody, who will try this new ipdf, please, bakup all your manifest files. I cannot give any warranty that addition works properly.

P.S: Can anybody test powersaving of "all in one ipdf" in comparing with ipdf 2.11?

DeathtoToasters
12-01-2007, 09:49 AM
I think I may be dense... I am in need of help. Here is what I did:

I downloaded this version:

ipdf_powersave_bookmarks_for_2.11

Once I unzipped everything, I just copied it over to the ipdf directory on my CF card on my Iliad.

Well the full screen works, etc....but I don't see any icon for bookmarks, etc.

Can someone help direct me as to what I am doing wrong.

Thanks!

daudi
12-01-2007, 10:11 AM
The modified ipdf needs to be copied to your iliad file system. I created a little set of installers of the various versions to make it easier to switch and get the features I need at a particular point in time. You can get them here (http://davepublic.pbwiki.com/f/ipdf_installers.zip). Just unzip this to somewhere, e.g. your CF, and then navigate to the folder (on your iliad). You will see four installers in the contentlister, one of which restores the original iRex ipdf. You can only have one current version, so it shows the date and time of that each version was copied across so you can figure out which is the current version.

DeathtoToasters
12-02-2007, 09:54 AM
Well I am making progress!

Now I can see the bookmarks and it works great.

But after I installed that version, I cannot get the pdf out of full screen mode.

If I press the escape button it brings me back to the directory menu.

Any ideas for this one?

thanks!

daudi
12-02-2007, 11:05 AM
Try here (http://forum.irexnet.com/viewtopic.php?t=1313). The first post here has a summary of the features of fullscreen mode with the key commands.

PhilT
12-04-2007, 09:01 PM
This thread has gotten a little confusing. I'm not sure which version I'm supposed to download. Would it be possible to update the first post or add these changes to jharkers original post here and on the iRex forum.

Thanks,
Phil

Adam B.
12-05-2007, 06:50 AM
Use the installer in this post: http://www.mobileread.com/forums/showpost.php?p=101071&postcount=16

I'll update the first post of this thread to reflect that. :thumbsup:

PhilT
12-05-2007, 10:03 AM
Thank you! :2thumbsup

DeathtoToasters
12-05-2007, 02:55 PM
Ok well the bricking I have been experiancing has to do with the addons I have been trying to use.

Since I restored everything, there have been no issues.

So I have firmware 2.11.

What I want to add is fullscreen pdf's and pdf bookmarks. Can someone point me to the version that works fine with 2.11.

I just want to make sure I get the correct one.

Thanks!

cnbcad
05-19-2008, 06:27 PM
Here is installer using the stripped binary..

I've edited the scripts so that the install procedure copies the iRex ipdf version installed on your machine for use during uninstallation into the directory of the installer files, this will ensure that you go back to the correct version if you decide to uninstall :2thumbsup

Tested and working on 2.11

doesn't work on 2.12

daudi
05-20-2008, 12:49 AM
doesn't work on 2.12

Try this (http://www.mobileread.com/forums/showthread.php?t=22152)

zerospinboson
06-04-2008, 03:52 PM
why do the pen settings seem to default to "magic marker" mode every time i reboot the iliad? it'd be nicer if it could remember the setting either per manifest.xml file or just based on the last settings.. it doesn't seem to remember it for specific files, anyway.

For the 'marking mode': Can the 'biggest' size marker be made bigger, btw? (so that it more or less encompasses a whole line of text in height?