SID-00736: scripted page creation with shell variables inside
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
v5.8.8 |
| Category: |
CategoryForms |
Server OS: |
SuSE |
Last update: |
16 years ago |
I have a web that I use for a daily diary type log, each day gets its own topic (Jan31Night2010). I would like to have these pages created automatically and the current date inserted. I've gotten the date part with GMTIME but I need to find a way to keep the date static after the page is created. I've tried using several shell scripts to include the proper date (sed, eval) but haven't gotten it working properly (eval breaks on the html). If the page can't be created automatically is there at least a way to keep the date static? I think my question is related to
this question
and
this question
. any Ideas or pointers would be greatly appreciated.
Thanks!
--
JustinScaggs - 2010-02-01
Discussion and Answer
I found a way to do what I wanted with sed.
--
JustinScaggs - 2010-02-01
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.