May 12, 2005
2 responses to Week 20: Introducing tsampaPRtable and a decline PR
Comments are closed.
Under the Bar is 21 years, 6 months and 4 days old with 462 posts, 329 photos, 108 video clips (363 M worth) and a bunch of comments.
Kris: Hi Bobby, Thanks for the feedback and sorry for the slow reply. I just came back from a few weeks at...
Bobby: wow nice work. I really enjoyed seeing how you built it from start to finish. i am thinking of making...
Anna: This is a disgraceful photo! This is indeed a chimpanzee and it is being full exploited fyi. Shameful. ...
The making of an outdoor power rack and heavy-duty bench
Alex: Hi Kris, Rack update - I was wandering around my father-in-law's yard and...
Tobias H: Just scanning thru and alltough these are brake drums, I doubt they are for cars because of their size. I...
©Kristoffer Lindqvist, 2003-2024
E-mail: kris@tsampa.org
June 7th, 2005 at 7:36 pm
Question, Kris, since I’m not well versed in code. I blog through Blogger. How do I incorporate this code into my blog so that I can use this Matrix (awesome, by the way), or is this a question I should direct to their tech support?
June 7th, 2005 at 9:24 pm
AFAIK, Blogger does not provide you with PHP required to run tsampaPRtable on the server live. But fear not, all is not lost.
What you can do is to generate a html version on your home computer and then paste the output into a blog post (of course, your design will need to take into account the fact that the table will want to expand far right).
Here are the steps in case you want to give it a go:
assuming you are on Windows, you need to grab this package and the unzip into a folder of your choice. For the sake of illustration, let’s say you unzip into
C:/php
.Grab the zip file, and then extract to a folder of your choice. For the sake of illustration, let’s say you unzip into
C:/prtable
See the tsampaPRtable documentation for how to do this.
Open a Command Prompt (Start -> All Programs -> Accessories -> Command Prompt on Windows XP) and type the following:
cd c:\prtable
c:\php\php.exe tsampaprtable.php > prtable.html
You should now be able to open
prtable.html
in any browser to see the output.prtable.html
in notepad (or cut n’ paste from View source code in your browser). Remove all code up to and including the<body>
tag. Then remove the</body>
tag at the end of the file and everything after it. Paste what remains into Blogger and you should have your table up.<style type="text/css" media="screen">
line up until the</style>
tag fromprtable.html
into the<head>
section into your Blogger template. I don’t know what the Blogger template looks like, but presumably you can modify your header. Ask tech support how to do this if need be. Edit: Better yet, if you have a CSS file for your template, just insert the styling there (omitting the starting and ending<style>
tags.To update the table after this intial setup, you would need to repeat stages 3-5. Another alternative would be to have your matrix (or even the whole blog) hosted on my server. E-mail me if this sounds interesting.