Way to show raw html report?
-
Howdy,
I have some html reports that are generated from another package we use.
I want to serve the html reports as they are (i.e. without the wordpress theme applied to them), in a pop up / new window.
My initial thought was to load the html report into the media gallery and then link to it in a new window. Which is great, except for how wordpress.com won’t let me upload an html file to the media gallery.
The only thing I can come up with is to host the html file on another server, which sucks for a variety of other reasons.
Anyone know how to do this? If it helps, I have the ‘customize css’ stuff for the theme I’m using (2011 I think?). Maybe I can create a new template in the theme that doesn’t put anything else on the page?
Ideas? Google is failing me.
Thanks!
Mark
The blog I need help with is: (visible only to logged in users)
-
There is this:
http://en.support.wordpress.com/code/posting-source-code/and this from http://wpbtips.wordpress.com/comment-guidelines/
4. Pasting code
An HTML code or a WP shortcode pasted in a comment will not show up correctly: if it’s allowed, it will produce the result it’s meant to; if it’s not allowed, it will be automatically stripped out (partially or completely), or parts of it will be mangled. To display HTML codes, you can use one of the following methods:
a) Paste it in Textsnip and give me the URL you’ll get.
b) Paste it in your comment after you convert it here.
c) Paste it in your comment, enclosed in the sourcecode shortcode:[sourcecode language="html"]
YOUR CODE HERE
[/sourcecode]Method a is more foolproof.
-
-
Howdy,
Thanks for the suggestion!
Unless I’m mis-reading it, what that will do is let me post HTML (or C or whatever) source code and not have it try to be interpreted as actual HTML.
I want to do something different… I want to have a new window pop up that serves up a raw html report (generated by a system we use) without any of the theme stuff coming along for the ride.
Mark
-
You could (maybe) use cursor help:
something like this:
<span style="cursor:help;" title="DEFINITION">WORD</span>
<span style=”cursor:help;” title=”DEFINITION”>WORD</span>
I don’t know if you can actually make a very long “definition” or report this way though. -
Another idea would be to use page jumps.
http://en.support.wordpress.com/splitting-content/page-jumps/You could have the jump to a “page 2” then back to “page 1”
http://en.support.wordpress.com/splitting-content/nextpage/As for an actual pop-up, I don’t think it is available on wp.com. I managed a sort of simulation with http://1tess.wordpress.com/2012/02/16/new-kitchen/ as well as for the dropdowns on my top menu (without CSS) by using the “menu” definitions in the CSS of Imbalance 2.
-
Is it possible to convert the report to PDF format? PDF files can be uploaded or put in Scribd for visitors to view on your site.
-
Howdy,
Yes, we use PDF format today. It “works”, except that people like to cut and paste data from the report into excel and coming from pdf isn’t so hot for that (doesn’t deal with identifying columns all that well).
My current thinking is basically that I can’t do what I want and still host the html report itself on wordpress.com. I’m going to look into hosting both pdf & excel versions explicity I think, or basically just give up and leave it as pdf.
But I was really hoping someone would say “Oh, you just need to type these four characters into your css!” :-)
Thanks!
Mark
-
Howdy,
If you want to see what I’m trying to do, take a look at this page:
When a user clicks on the “PAX” or “Class” link for event 1, a pdf results report is shown in a separate window.
I’d like that pdf report to be done in html, rather than pdf (and the timing system we use will generate that for me). And from what I can tell, I can’t do that without creating an explicit page on the site that will have the 2011 theme applied to it.
Mark
-
- The topic ‘Way to show raw html report?’ is closed to new replies.