![]() |
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 |
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. |
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! |
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)
|
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.
|
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)
|
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. |
| All times are GMT -4. The time now is 09:25 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.