mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-06-22 12:19:23 +00:00
adding neighbor view, increment version
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import time
|
||||
|
||||
import chatter
|
||||
|
||||
SOURCE = os.path.join("/home", "endorphant", "projects", "ttbp", "bin")
|
||||
@@ -55,16 +57,22 @@ def load_files():
|
||||
def write(outurl="default.html"):
|
||||
outfile = open(os.path.join(WWW, outurl), "w")
|
||||
|
||||
outfile.write("<!--generated by the tilde.town blogging platform on "+time.strftime("%d %B %y")+"\nhttp://tilde.town/~endorphant/ttbp/-->\n\n")
|
||||
|
||||
for line in HEADER:
|
||||
outfile.write(line)
|
||||
|
||||
#for line in write_placeholder():
|
||||
# outfile.write(line)
|
||||
|
||||
outfile.write("\n")
|
||||
|
||||
for file in FILES:
|
||||
for line in write_entry(file):
|
||||
outfile.write(line)
|
||||
|
||||
outfile.write("\n")
|
||||
|
||||
for line in FOOTER:
|
||||
outfile.write(line)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user