Need help? Check out our Support site, then


HTML Code Disappearing!!!

  1. So I have searched the forums and haven't found an acceptable answer.

    I am trying to embed a Google Doc spreadsheet into a post for my <sfuc.wordpress.com> blog. I've done all I need to do on the Google Doc end -- published it, selected "HTML to embed in a page" under the "Get a link to the published data" option, copied the embed code, and then pasted it into a post entry. Here's the embed code for your ref:

    <iframe width='500' height='300' frameborder='0' src='http://spreadsheets.google.com/pub?key=tWd0HwEAt85UUje0iCYVB4Q&single=true&gid=0&range=A1%3AI19&output=html&widget=true'></iframe>

    So as soon as I hit SAVE DRAFT, the code disappears. Gone. Poof. I see other people are having the same problem. I've read in some places that WordPress.com does not support iframes -- is this true? And is that the simple answer to my question? If so, then:

    1. That seems stupid, especially since Blogger.com does
    2. Is there a workaround to this in WordPress.com?

    Thanks for reading and your help!

    The blog I need help with is sfuc.wordpress.com.

  2. @henrikm
    (1) Until you post the complete url for your blog starting with http:// we volunteers cannot begin to help you.
    (2) In case you would like to bookmark it this is the link to the wordpress.COM Support Documentation http://en.support.wordpress.com/
    (3) I used the searchbox there and found this answer for you http://en.support.wordpress.com/code/

  3. @timethief

    Sorry, but I figured the <sfuc.wordpress.com> would have been enough. I guess not.

    http://sfuc.wordpress.com/

  4. Oops! Sorry. Because it wasn't an actual permalink I missed that <sfuc.wordpress.com>The entry I posted the link is the correct one http://en.support.wordpress.com/code/

  5. These are the file types that we can uplaod into wordpress.com blogs http://en.support.wordpress.com/accepted-filetypes/

  6. @timethief

    Thank you for your help! It's a shame we can't use iframes, but ah well, such is life. I am assuming there's no nice, easy workaround is there? I'll keep working on alternatives in the meantime.

  7. @henrikim
    I have been thinking about this. Here's a long shot. Could you do a screen shot of the spreadsheet and save it as a PNG or GIF, or maybe make it into a PDF so visitors can open it in their browser or in Adobe Reader?

  8. Check out scribd. It will allow you to embed documents of some types in your wordpress.COM blog:

    http://en.support.wordpress.com/scribd/

  9. The code disappears for security reasons. I would download the doc your desktop then upload it and attach it to a post.

  10. @dreamsburnred, Scribd supports all MS Office formats as well as all open source formats and allows you to display the files right in your blog.

  11. And it isn't stripped out due to security reasons, it is stripped out because MS office products create junk code which can mess up blogs, and even in some cases mess up wordpress. WordPress now strips out all MS office code automatically.

  12. Due to security reasons WordPress.com allows only some HTML Tags to pass . Google Docs is using a embeding code that is containing the tag iframe. Iframe is not allowed by wordpress.com Here is a list of tags that wordpress.com accepts : http://en.support.wordpress.com/code/#html-tags

Topic Closed

This topic has been closed to new replies.

About this Topic