HTML Code Disappearing!!!
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.
(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/
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/
These are the file types that we can uplaod into wordpress.com blogs http://en.support.wordpress.com/accepted-filetypes/
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.
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?
Check out scribd. It will allow you to embed documents of some types in your wordpress.COM blog:
The code disappears for security reasons. I would download the doc your desktop then upload it and attach it to a post.
@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.
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.
The topic ‘HTML Code Disappearing!!!’ is closed to new replies.