static rendering
"Brett Calcott" <brett-73EOiZ1k6q7/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <opsb287gxbeu2iau@sparrow> |
Hi,
Just saw that release 1.0 was out and that it had static rendering. I am
running it on:
Windows XP Home
Python 2.3.3
I put the firstpost.txt in my data dir, changed all the values suggested
on the wiki, and ran the cgi prog.
First up, there is a bug on line 192 of pyblosxom.py, where a line has
been edited out:
year = time.strftime("%Y", mtime)
month = time.strftime("%m", mtime)
# monthname = tools.num2month[month]
day = time.strftime("%d", mtime)
I put this back in, which stopped it breaking. I get no reports of any
problems, but when using --static the index page is rendered thus
(reformatted):
<html>
<head>
<title>My Blog : \\ </title>
</head>
<body>
<h1>My Blog : \\</h1>
<p>
</p>
<h3>
<a name="">The page you are looking for is not
available</a>
</h3>
<div class="blosxomStory">Somehow I cannot find the
page you want. Go Back to <a href="http://">My Blog :
\\</a>?<p>posted at:
| path: <a href="/" title="path">/</a> | <a
href="/.html">permanent link to
this entry</a>
</p>
</div>
<p>
<a href="http://roughingit.subtlehints.net/pyblosxom">
<img
src="http://roughingit.subtlehints.net/images/pb_pyblosxom.gif"
alt="Made
with PyBlosxom" border="0" />
</a>
</p>
</body>
</html>
I tried the CVS version as well, but no go. What am missing here?
Cheers,
Brett
--
Brett Calcott
Philosophy Program, RSSS, ANU
Canberra, ACT 0200, AUSTRALIA
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com