01-25-2015, 11:02 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Amazon Kindle
|
Link to the next page
Hello guys!
Suppose, I have a sigil file with multiple pages. For some strange reason I need to put a hyperlink on each page, which leads to the next page. Can I do this with some kind of universal link or should I use absolute address for each link? Thank you. |
01-25-2015, 11:07 PM | #2 |
Ex-Helpdesk Junkie
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)
|
Absolute addresses. There is no way to dynamically tell it to go different places depending on the source location.
I agree with you on the "strange reason" part. |
Advert | |
|
01-26-2015, 07:08 AM | #3 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You probably don't need any link. Sigil's not a reading app. There will be no way (by default) to navigate from one page|chapter|section to the next from within Book View. Each html file is edited/viewed within its own self-contained tab.
But since all "pages" will be manifested (and included in the spine) of the opf file using Sigil, they will automatically flow to the next one when viewed in a proper epub reader. Check your epub with something like Adobe Desktop Edition or calibre's ebook viewer (without including a manual link to the next section) and see. Unless I misunderstood what you meant by "for some strange reason." I'm assuming you're simply unfamiliar with Sigil and/or epub editors (and no ... there is no magic "go to the next page" type of link that can be used). Last edited by DiapDealer; 01-26-2015 at 08:41 AM. |
01-26-2015, 11:28 AM | #4 | |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Alt-PgDn Alt-PgUp steps thru same file types in the book browser list |
|
01-26-2015, 11:57 AM | #5 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I could be all wet, but I just got the impression the OP thought the next page links were necessary for the epub to function properly. Like the links were required to get to the next page|chapter|section at all.
Like; "for some strange reason, my book won't go to the next 'page'". I see now that it could just as easily have been; "say someone was making me do this (for some strange reason), how would I go about it?" |
Advert | |
|
01-26-2015, 04:44 PM | #6 | |
null operator (he/him)
Posts: 21,003
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Something like this from Vanity Fair ==>> It's the Economy, Dummkopf! BR |
|
01-26-2015, 05:14 PM | #7 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Amazon Kindle
|
Thanks for the replies!
Actually, I don't need a forward link, because a can simply tap the screen, but a link to a previous page and for reloading the current one (for example, if you want to go back to the beginning of the current chapter) would be useful. Seems like absolute links are the only choice. |
01-26-2015, 06:06 PM | #8 | |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
OK it takes 3 selections (menu:TOC:item) |
|
01-26-2015, 06:45 PM | #9 |
Ex-Helpdesk Junkie
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)
|
Or swipe up/down to jump between ToC items.
|
01-27-2015, 04:33 AM | #10 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
My "page" in my Win8 Kindle Reader on my Lenovo Yoga Thinkpad is not remotely the same as my "page" on my Voyage. My "page" on my ePUBreader on my Thinkpad is not the same as my "page" on my NookHD. How will you make those determinations, to put a "go back a page" or "go forward a page," type link???? Hitch |
|
01-27-2015, 07:10 AM | #11 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
"My "page" on my ePUBreader on my Thinkpad is not the same as my "page" on my NookHD"
That all seems vaguely distasteful. I think it was ee-poo-breeder that got me started. Is that REALLY its name? |
01-27-2015, 02:28 PM | #12 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Amazon Kindle
|
I mean if a book consists of some html or xhtml files (as one can see in Sigil), we could possibly make a navigation between them. Absolute links are straightforward. But, you're right, in relative links we should determine what is "previous" first. I thought that when organized into an ebook, these html pages get specific names (like page0001.html, page0002.html and so on), so that we can make a script to jump between them just forward and backward. Now I read your answers and see that it is hardly possible.
|
01-27-2015, 02:48 PM | #13 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
If you had a fixed-format eBook, in either ePUB or MOBI, you could do this. But honestly, in my humble opinion, you are over-thinking it. (I am badly guilty of this myself. I know what it's like.) Unless each "page" of your ebook is its own html file, that won't work, not reliably. Normally, each xhtml or html "section" in an ebook is actually a chapter, or a section, not a page. In real devices, you can hit the "back" button (in about 90% of them); you have the NCX for navigation in ePUB2; you have the TOC (basically) for nav in ePUB3 and in the Kindle devices. Honestly--there's virtually (ha!) no reason to have a link to a "previous" page, because a) you can't figure out what the hell that is, and b) there are far, far easier ways to get back to where you were, than that. I hope that helps. As you develop in the ways of The ePUB Force, you'll see that it's overthinking it. Trust me. @nj: Firefox's add-in reader is called, "ePUBReader." I don't remember the name of my ePUBreader on my Yoga TP, to be honest. I used it generically. Hitch |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
adding link to web page | crossi | Library Management | 1 | 05-08-2012 06:06 AM |
API to link local file to a ebook page | guru_r236 | Development | 1 | 05-22-2011 10:00 AM |
How to disable conversion date in title and source link in page? | siebert | Recipes | 18 | 11-26-2010 01:57 AM |
epub problem: weird link and page locations | dracodoc | Calibre | 5 | 06-13-2009 12:03 PM |