|
@@ -13,7 +13,11 @@ dir_prefix='/var/www/jared-faq/'
|
|
|
|
|
|
for l in lst:
|
|
|
curdir=dir_prefix+l+'/index.html'
|
|
|
- outfile='/tmp/out.html'
|
|
|
+ outdir=dir_prefix+'modify/'
|
|
|
+# outfile='/tmp/out.html'
|
|
|
+ if not os.path.exists(outdir):
|
|
|
+ os.mkdir(outdir)
|
|
|
+ outfile=outdir+'index.html'
|
|
|
json_content=None
|
|
|
cursor=db.query('select json_ld from xoops._hcolumn where hcolumn_id="'+l+'"')
|
|
|
for c in cursor:
|