Can I create a Goodreads Widget?

  • Unknown's avatar

    Hi

    I’ve just launched my children’s book ‘The Secret Lake’ and am promoting it via a free givaway on Goodreads. They have a very tasteful/nice looking widget availabe to support this and I wondered if/how it’s possible to add it to my above blog? I don’t understand anything about javascript and it warns that some sites may not accept the widget. What is the situation for me? I have pasted the code below. If I am not allowed to use it, is there anything else that I could do to achieve the same effect without breaking your rules? Please bear in mind that I am not at all technical – albeit I have built my blogs from scratch myself on WordPress and think your offering is gruly great :)

    One other thing is that I do have a voucher from you that I can use to upgrade my blog due to a recent secrutiy breach. Would some sort of upgrade make it possible to include the widget if it’s not possible as things stand?

    Many thanks for your help in advance. I have changed my contact email address above to the one I use more commonly – if there is any issue with this then simply please mail me at [e-mail removed]

    Here is the Goodreads code: (if I can use it, where exactly would I post it in order to make it appear in the right hand nav?).

    As you can see, I’m not very techy! :-)

    <div id=”goodreadsGiveawayWidget14258″><!– Show static html as a placeholder in case js is not enabled –>

    <style>
    .goodreadsGiveawayWidget { color: #555; font-family: georgia, serif; font-weight: normal; text-align: left; font-size: 14px;
    font-style: normal; background: white; }
    .goodreadsGiveawayWidget img { padding: 0 !important; margin: 0 !important; }
    .goodreadsGiveawayWidget a { padding: 0 !important; margin: 0; color: #660; text-decoration: none; }
    .goodreadsGiveawayWidget a:visted { color: #660; text-decoration: none; }
    .goodreadsGiveawayWidget a:hover { color: #660; text-decoration: underline !important; }
    .goodreadsGiveawayWidget p { margin: 0 0 .5em !important; padding: 0; }
    .goodreadsGiveawayWidgetEnterLink { display: block; width: 150px; margin: 10px auto 0 !important; padding: 0px 5px !important;
    text-align: center; line-height: 1.8em; color: #222; font-size: 14px; font-weight: bold;
    border: 1px solid #6A6454; -moz-border-radius: 5px; -webkit-border-radius: 5px; font-family:arial,verdana,helvetica,sans-serif;
    background-image:url(http://goodreads.com/images/layout/gr_button4.gif); background-repeat: repeat-x; background-color:#BBB596;
    outline: 0; white-space: nowrap;
    }
    .goodreadsGiveawayWidgetEnterLink:hover { background-image:url(http://goodreads.com/images/layout/gr_button4_hover.gif);
    color: black; text-decoration: none; cursor: pointer;
    }
    </style>

    Goodreads Book Giveaway
    </h2>

    <div style=”float: left;”>

    <img alt=”The Secret Lake by Karen Inglis” src=”http://ecx.images-amazon.com/images/I/51lj9b36FYL.jpg” title=”The Secret Lake by Karen Inglis” width=”100″ />

    </div>

    <div style=”margin: 0 0 0 110px !important; padding: 0 0 0 0 !important;”>
    <h3 style=”margin: 0; padding: 0; font-size: 16px; line-height: 20px; font-weight: normal; font-style: normal;”>

    The Secret Lake

    </h3>
    <h4 style=”margin: 0 0 10px; padding: 0; font-style: normal; font-weight: normal;”>

    by Karen Inglis

    </h4>

    <div class=”giveaway_details”>

    <p>
    Giveaway ends September 14, 2011.
    </p>
    <p>
    See the giveaway details
    at Goodreads.
    </p>

    </div>
    </div>
    <div style=”clear: both;”></div>

    Enter to win

    </div>
    </div><script src=”http://www.goodreads.com/giveaway/widget/14258″ type=”text/javascript” charset=”utf-8″></script>
    Blog url: http://thesecretlake.wordpress.com/

  • Unknown's avatar

    Hi there,

    I’m afraid we don’t allow Javascript on WordPress.com for security reasons:
    http://en.support.wordpress.com/code/#javascript

    Unfortunately, we do not have any upgrades available that would allow you to add this code to your site. As an alternative, one option would be to use our Text Widget to create a link to your Goodreads site:
    http://en.support.wordpress.com/widgets/text-widget/

  • The topic ‘Can I create a Goodreads Widget?’ is closed to new replies.