05-08-2013, 03:39 PM | #1 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
? about html entries in Book Browser
Hey,
I've got two books done (via Sigil) (eg. See Screenshot "OneOfMyTwoBooks") and proofread and ready to upload. Now I just transferred an html file for a third book onto Sigil and saw that the html files in the Book Browser were being opened with Internet Explorer icons. At that point I vaguely remembered somebody in MR saying something negative about using Internet Explorer files for Sigil (and accordingly an epub and accordingly an e-book) and tracked down (I think) what was said. (I was asking about adding links and I'm assuming Dion saw my IE icons in my screenshot in my OP.) Here are my post and the response. What spooked me in the response I have emboldened. (you don't have to read the whole thing. I'm just posting the whole thing to give you the context): still can't figure the links to blog etc.(subject heading) ________________________________________ I was trying to add links for my blog, FB etc to my novel which I finished in sigil. I tried to follow Meme's advice (Just use Insert Link as normal and paste the URL (http://yadayada/) you want the link to go to in the text box at the bottom of the Insert Link dialog.--btw, thanks meme) and everything seemed to work just fine, but the links don't show up in the "book view" screen. And I couldn't figure out (I want to add it to the bottom of the TOC) how to add the "About the Author" file to the TOC. I noticed that the icon in the book browser was different for the About the Author from the others (all IE). And that it was xhtml and not html like the others. So 3 questions: #1) How do I get the links to show up in book view (and work)? #2) How do I add the About the Author file to the TOC ? #3) Will I have to do the 'generate html Toc' to have the About the Author added to the html TOC? (I would assume so.) I've attached a screenshot if that helps. Thanks. Attached Files sigilscreenshot.doc (128.0 KB, 13 views) __________________ Gregg Bell - Novelist, short story writer Email ~ Blog ~ Amazon ~ Twitter "No man has learned anything rightly until he knows that every day is Doomsday." Ralph Waldo Emerson 03-19-2013, 08:26 PM (this is the response) #2 Turtle91 Evangelist Posts: 496 Karma: 2177776 Join Date: Dec 2012 Location: Lakenheath, England today Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW 1) You need to actually have the words between the <a> tags that you want to show up...the href element just tells the computer where you want to go. e.g. <a href="http://yadayada">Put Words Here</a> Then your link will show up as Put Words Here 2) Sigil uses heading tags <h1, h2, h3 etc> to determine what to put in the TOC. You need to put a header at the beginning of the About the Author file. e.g. <h2>About the Author</h2> or, if you don't want a header to be at the beginning, this will still show up in the TOC: <h2 title="About the Author"></h2> 3) Once you have heading tags on all the files you want in the TOC, just generate the TOC again and it will show up! It doesn't matter if it is an html or xhtml file - sigil plays well with both. Also, IE is just a browser that can read html files (and not a very good one if you want my opinion ). HTML can be read by many browsers - IE, Google Chrome, Mozilla Firefox, Opera, Safari, etc. Cheers, __________________ Dion "Gnihcnip" - the act of "reverse pinching" to expand/zoom. Pronounced "Niknip" (the "g" and "h" are silent). "Live long and prosper." ~ Spock "What's that goat doing up in the clouds? " ~ Pilot ________________________________________ Last edited by Turtle91; 03-19-2013 at 08:30 PM. So, being a little spooked by what I heard from Dion, I Googled the IE question and came up with: (see Screenshot "Potential Problem"). Now, guys, I'm just a writer who really enjoys Sigil and doing this formatting on my own. I don't know if this is a problem or not. (I'm of course hoping it isn't.) These two books are completely done. If it is a problem, I don't know if I could somehow switch the IE files into something else or if I would have to start all over from scratch. I have no great liking for Internet Explorer. I guess since it's my default browser (I really use Chrome all the time), the files in the Book Browser got opened as Internet Explorer files. (I went MS Word-->Save As Webpage Filtered-->Sigil.) So I suppose I have four questions: #1) Am I okay with my two completed books as is? #2) If I need to switch, is there a relatively easy way to do it? #3)If there is such a relatively easy way, what is it? #3) Again, if this IE thing is a problem--or if there is a better way to go--how do I avoid it with this third book I'm about to enter into Sigil. I know this is a really long post and I probably included too much stuff, but this situation just spooked me big-time. Thanks so much for your help. |
05-08-2013, 04:16 PM | #2 |
Well trained by Cats
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
HTML or HTM just has the IE Icon assigned on your System. My system shows Firefox for HTML. Don't give it a worry.
here is an example of an external Link Code:
<a href="http://www.webscription.net">http://www.webscription.net</a></b>
Last edited by theducks; 05-08-2013 at 04:18 PM. Reason: sample |
05-08-2013, 07:22 PM | #3 | ||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
As a side note, next time you can just link directly to the site instead of an image: http://answers.microsoft.com/en-us/i...6-aeddf3718e1e As another side note, my eyeballs are hurting from that JPG! PNG please! Quote:
Somewhere along the line, you must have set .xhtml files to open with Internet Explorer. (Maybe it was an Internet Explorer upgrade?) I know many of the more "techie" people dislike Internet Explorer, and use Firefox or Chrome instead. If you right click on a XHTML file and say "Open With", you should get a screen along these lines: As you can see, my default is Firefox Aurora. (And Chrome + Internet Explorer is in the list to choose from). You could then change from IE to Chrome if you wanted (if it is not in that initial list, you can click the "Other Programs" to see a bigger list of programs to choose from). Quote:
Stick a new HTML file and rename it (I would stick with "AbouttheAuthor.xhtml"). Stick whatever information you want into this About the Author page: Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title/> </head> <body> <h1>About The Author</h1> <p>Gregg Bell was born in the year 1, he likes to post questions on a little known forum called <a href="https://www.mobileread.com/">MobileRead</a>.</p> <p>Please check out the latest news at his site: <a href="http://www.sample.com">http://www.sample.com/</a></p> </body> </html> Quote:
Here is how to do it manually: Look at the filename of your "About The Author" HTML file. In the case of mine, the file is called "AbouttheAuthor.xhtml". Put this into your HTML TOC: Code:
<p><a href="../Text/AbouttheAuthor.xhtml">About the Author</a></p> THEN, make sure that your classes match the others (for example, if your HTML TOC has the classes "tocone" "toctwo" "tocthree"). You would add the orange part to match the rest of the entries: Code:
<p class="tocone"><a href="../Text/AbouttheAuthor.xhtml">About the Author</a></p>
Last edited by Tex2002ans; 05-08-2013 at 07:24 PM. |
||||
05-08-2013, 09:06 PM | #4 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks man
Quote:
|
|
05-08-2013, 09:24 PM | #5 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks Tex
Quote:
|
|
05-09-2013, 04:13 AM | #6 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
My reference to not liking IE was just a general dislike because of lots of issues.
I was mostly making the point that you keep referring to html files as IE files - they are not the same. An HTML file is just a file that uses html coding to tell a browser how to display the page. Any browser can display an html file - IE, firefox, Chrome, etc. Some browsers display them better - stick more to the standard - than others. So, it is more proper to say "I opened the html file in Internet Explorer" instead of "I opened the IE file." |
05-09-2013, 09:28 PM | #7 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks, Dion
Quote:
Thanks! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate Entries on Book List | JerryC | Devices | 0 | 10-07-2012 10:29 PM |
Multiple book entries in library | rainio | Kobo Reader | 6 | 10-04-2012 03:13 AM |
Multiple book entries in Nook | hbeavers | Barnes & Noble NOOK | 2 | 02-21-2012 07:13 AM |
Importing changed HTML file -> duplicate entries | MamaSylvia | Conversion | 8 | 03-19-2011 12:29 PM |
E-book with e-ink, html browser and 3G | chmreader | Which one should I buy? | 11 | 12-10-2009 09:54 AM |