JoshGud777 / AppleQuestWeb

Apache License 2.0
0 stars 0 forks source link

HTML data #11

Closed JoshGud777 closed 9 years ago

JoshGud777 commented 9 years ago

The html that is located in the python script files needs to be moved and placed in actual HTML files.

These files should have a $$tag$$ that denotes a place where data can be replaced in the html file.

The python scripts should load the file into RAM. Replace the $$tag$$ with the data needed or with '' (nothing)"

p.s. Headers should still be constructed in the scripts!

EX:

html = 'htmldir'
file.open(html + 'filenamehere')
txt = file.read() #reades the whole file into ram
txt = txt.replace('$$tag$$', 'data')
txt = txt.replace('$$anpothertag$$', 'moredata')
txt = txt.replace('$$blank$$, '')
#ext.

Please change:

JoshGud777 commented 9 years ago

Done: 8866ce382c935507ad530d6432dfcd622d662784, de172828e6379a2aacb49d245faf2593d339d607, 6fcf61a84320095ea7f731351cc5e94cff77134c