Tags:
create new tag
view all tags

SID-00736: scripted page creation with shell variables inside

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title scripted page creation with shell variables inside
SupportCategory CategoryForms
TWiki version 4.3.2
Server OS SuSE
Web server Apache
Perl version v5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-02-01 - JustinScaggs
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.