How can I embed html from another domain into my blog? (poker odds calculation)

  • Unknown's avatar

    Hi folks, I am trying to figure out how to embed html, specifically an odds calculation from my website (http://www.allinpokerodds.com/index.php?id=280) into a blog post.

    If you have a look at that link you will see the hand – if you click flop, turn, river etc you will see the odds at each stage of the hand – done using hidden divs. All I want is to allow people to embed their odds calculations into blogs and forums posts (just the title and graphical part not the rest).

    I hope you guys understand what I am trying to do – any help on acheiving this would be greatly appreciated. If possible I would like to avoid embedding flash as I don’t know anything about flash and the html etc is just fine. I don’t mind hosting it on my server I just want people to be able to embed and share their poker hands much like you can do with a youtube video.

    Any ideas? Thanks again.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    To answer that question we’ll need a link to your blog and also the code that you’re trying to embed.

  • Unknown's avatar

    my blog domain is http://telica.wordpress.com/ – the code i am trying to embed is the html in the source of http://www.allinpokerodds.com/index.php?id=280 (the hand graphics part).

  • Unknown's avatar

    It would be quite a lot more helpful if you posted the code here.

  • Unknown's avatar

    Nope, the code is too long to post here and im not sure how it would render. Its basically an html table with some images and hidden divs. The code can be seen by viewing source on the link above.

  • Unknown's avatar

    It renders just fine if you post it between backticks; that is how they function, they force the code to display as code.

  • Unknown's avatar

    Here is a list of html codes which are allowed at WordPress.com.
    http://support.wordpress.com/code/#html-tags

    If there really are “calculations” involved, then the code probably has javascript in it. If the code you are trying to paste contains javascript, then it will not work because javascript is not allowed at WordPress.com.

    Code

  • Unknown's avatar

    Thanks I’ll have a look at those links, nah the calculations are done by the server (php) so that’s not javascript however showing and hiding hidden divs is done using javascipt so that could be a problem. Anyway I will have a look at those links and see if i can see anything of interest. Thanks.

  • Unknown's avatar

    Hmmm I can see from reading that page that I won’t be able to do it the way I have planned. However I have another few tricks up my sleeve (aka an animiated gif?) that might do the trick…?

  • The topic ‘How can I embed html from another domain into my blog? (poker odds calculation)’ is closed to new replies.