![]() |
#1 |
Member
![]() Posts: 21
Karma: 10
Join Date: Dec 2011
Device: iphone
|
Facebook Share Button on .epub book
Hi.
I'm using this code for adding share button to my ebook (epub): <div id="fb-share" dir="rtl" style="float:right;"> <a name="fb_share" type="icon_link" share_url="http://www.yetsiot.co.il/"><img alt="fb" class="fb" src="../Images/fb.png" />שתף</a> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"> </script></div> It works when opens as a web-page but when using epub-reader (FF, IPhone, Android...) it just show the title but it's not clickable... Any idea why? And how to fix that? Thanks, Oren |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,544
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
First, do not use "name", it should be "id" in XHTML.
Second, you don't have an "href", the link needs a target "href" property (and I bet "share_url" is not supported either). Third, <script>, while not forbidden, is almost guaranteed not to work. Fourth, many ePub readers have no Internet connection, and some of those who have cannot connect to the Internet from the reader application. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 21
Karma: 10
Join Date: Dec 2011
Device: iphone
|
Hi,
Can you please help me with the right code? One which will work? Secondly, I just found out that when using 'Android' I can't see the link at all... Is there a difference between the two? Is there a way to make sure it looks well on all systems? Thanks again ![]() Oren |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,544
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Facebook ePub | sean729 | Conversion | 1 | 04-05-2011 06:10 PM |
Problem with sharing book excerpts on Facebook | Slydini | Nook Color & Nook Tablet | 4 | 01-08-2011 11:40 PM |
Updating facebook with current book... | m0ngr31 | Kindle Developer's Corner | 2 | 12-11-2010 01:21 AM |
Free Book Coupons on my Facebook Fan Page! | daveconifer | Deals and Resources (No Self-Promotion or Affiliate Links) | 10 | 05-29-2010 11:15 PM |