julianjw2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Including Interactive Spreadsheets in Blogsokay, making some progress by deleting spaces in the body and putting the header in header.php… I’m hoping deleting spaces in the header will work too. There’s only one header.php and the header is different for each spreadsheet so that will have to go in the body of the post along with my body code. Luckily style sheets can be in the body…
Forum: Fixing WordPress
In reply to: Including Interactive Spreadsheets in BlogsI always use the original code that WP has not modified.
I take it that you put the body part in a post… how did you make it so WP did not add <p> and <br> tags when you hit submit?
Forum: Fixing WordPress
In reply to: Including Interactive Spreadsheets in BlogsThere’s no option in the WordPress interface to input into the head, only into the body. I don’t know enough about the files WordPress creates or where it puts them on the server to know how to access the blog post and manually change the html. If I did, I could try that.
I think you’re on to something about the line breaks and tabs. They’re not in the code though, they’re getting added by WordPress. WordPress adds unnecessary (and potentially damaging) <p>s and <br>s to my code because it thinks it’s just blog text. Is there a way to tell WordPress not to format certain parts of the blog post?
Forum: Fixing WordPress
In reply to: Including Interactive Spreadsheets in Blogsmoshu, I also tried unchecking “Use the visual editor when writing” in both of my accounts, logging out, logging back in, creating a fresh post, and putting just the spreadsheet code in. So it has been turned off. Here’s the result:
http://www.ecoworld.com/blog/?p=253
It’s deformed.
I know there’s nothing wrong with the code, because it gives perfect output in my ColdFusion interface. Here’s the code:
http://www.ecoworld.com/funds/header.txt
http://www.ecoworld.com/funds/body.txtForum: Fixing WordPress
In reply to: Including Interactive Spreadsheets in BlogsThanks for the quick responses!
moshu, I switched to code view before entering my html, so when I followed your instruction to uncheck “Use the visual editor when writing” and redid the post there was no change. Otto42, thank you for the suggestion. Do you know if there’s a way to embed GoogleDocs html in a way that doesn’t result in frames around the spreadsheet?
I’ve put exactly the same text and code into both my ColdFusion articles edit and my WordPress blog edit, here are the results:
ColdFusion: http://www.ecoworld.com/home/articles2.cfm?tid=96
WordPress: http://www.ecoworld.com/blog/2006/08/14/photovoltaic-powered-cars/I’ve tried using exactly the same text/code, so that’s not the problem. As you can see, the WordPress result is deformed. Anyone know why or how to fix it? Thanks!