![]() |
#1 |
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Nov 2010
Device: none
|
Sigil & Page Edit
I am just learning how to use Sigil with Page Edit. I just want to make a basic book with several chapters. Each chapter will be about one page of information with a booklist. I have all of my books at librarything. I can create a widget at librarything. An example would look like this:
<div id="we793730302a4e7b030d0c6dcc68fcdfc"></div><script type="text/javascript" charset="UTF-8" src="https://www.librarything.com/widget_get.php?userid=wunderlong88&theID=we7937303 02a4e7b030d0c6dcc68fcdfc"></script><noscript><a href="http://www.librarything.com/profile/wunderlong88">My Library</a> at <a href="http://www.librarything.com">LibraryThing</a></noscript> I have been able to copy this code into my blogger page and use it no problem but I can't figure out how to embed this and have it work on a page in Sigil. The only thing I understand about html code is how to copy and paste it ![]() If this won't work I can create a link at librarything to my widget. It would look like this: <div id="we793730302a4e7b030d0c6dcc68fcdfc"></div><script type="text/javascript" charset="UTF-8" src="https://www.librarything.com/widget_get.php?userid=wunderlong88&theID=we7937303 02a4e7b030d0c6dcc68fcdfc"></script><noscript><a href="http://www.librarything.com/profile/wunderlong88">My Library</a> at <a href="http://www.librarything.com">LibraryThing</a></noscript> I can't get either to work but I'm not sure I know what I am doing or exactly where to place either of these in Sigil. I tried between the body tags on Section0001.xhtml in Text. I would appreciate any guidance for this. Thank you, Linda |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
|
External xhtml files are not supported by any epub. Epub3 does support external audio and video resources. Also only EPub3 supports javascript and not all e-readers allow it. Javascripts should be defined in head inside a script tag.
Sigil also has Preferences that determine if javascript is allowed and if access to external resources is allowed. You might want to think about if an iframe might be what you want pointing to each of your external resources. Last edited by KevinH; 03-19-2021 at 06:08 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Nov 2010
Device: none
|
Ok. What is iframe?
Do know of software (preferably free/inexpensive) that might be a better fit for me? I basically need to be able to create chapters, each chapter contain about a page of text with 1 photo and the above widget (or link). A table of contents would be nice. I need to be able to share this "book" electronically with a few select people. The output format does not need to be ebup or fo ebooks this was just the only thing I've found so far I thought might work. It can be a format that just works on pc/laptop. Thank you so much! Last edited by shore_pk; 03-20-2021 at 08:44 AM. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Nov 2010
Device: none
|
I did a little reading on iframe. I would try it but I am not sure how to write one of the above options in an iframe command. (I know nothing about html code)
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Why use javascript or external resources at all. epubs are generally meant to be self-contained. Why not just copy files directly into your epub.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Nov 2010
Device: none
|
Because the information in the external resource changes from time to time. I did consider copying but then when I update the info. it will not automatically update. I know there may be a better software solution than Sigil I just haven't figured out what it might be. (I don't want cloud based)
|
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
|
But by retrieving is across the net you are making it cloud based.
So copy the source properly formatted into Sigil and create an epub, which you will periodically update with additional information (ie. first edition, second edition). Any other solution is not an epub, and instead is just using an epub reader like a "browser replacement" to access cloud/net based resources. Just send people a link to your website or build a standalone app. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre/Sigil ePub edit | ebookscovers | Editor | 1 | 09-08-2020 09:41 AM |
Sigil (after 0.8) Page Up & Down fail OS X | tetrault | Sigil | 0 | 12-30-2015 12:54 AM |
Regex Help: Find page number & Replace+Remove 2x Line Breaks in Sigil | Contre-jour | Sigil | 9 | 02-01-2013 10:47 AM |
Release : New Tool to Edit ePubs TOC, Edit with Sigil and keep you TOC | Nigol | ePub | 105 | 10-29-2012 11:40 AM |
ePub Validation Fail after Sigil edit | dm1839 | Sigil | 7 | 10-16-2011 07:59 PM |