Do you hate updating the copyright notice at the bottom of all your pages?
It's January 1st and you have to update the copyright notice at the bottom of all your websites...
numero = 128
interpreted = N
texte = You could use the [include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the [date] command.Perhaps you copyright says(c) Copyright 2008 - 2013 WebDNA Software Corporationand you want to change it to(c) Copyright 2008 - 2014 WebDNA Software Corporation(such a tedious change every year, but yet so important)But with the simple, yet powerful WebDNA language all you need to do is this:(c) Copyright 2014 - [date %Y] WebDNA Software CorporationYou will NEVER AGAIN have to worry about changing the copyright notice!There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
You could use the
[include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the
[date] command.
Perhaps you copyright says
(c) Copyright 2008 - 2013 WebDNA Software Corporation
and you want to change it to
(c) Copyright 2008 - 2014 WebDNA Software Corporation
(such a tedious change every year, but yet so important)
But with the simple, yet powerful WebDNA language all you need to do is this:
(c) Copyright 2014 - [date %Y] WebDNA Software Corporation
You will NEVER AGAIN have to worry about changing the copyright notice!
There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
Matthew Perosi - Psi Prime
DOWNLOAD WEBDNA NOW!
Top Articles:
Tips and Tricks
A list of user-submitted tips ...
F.A.Q
A compilation of some user's questions...
AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...
WebDNA Modules
A list of the currently available modules...
WebDNA Libraries
A list of available libraries for WebDNA...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Related Readings:
Hideif on IP range
This will show or hide stuff according to the IP...
WebDNA interaction with zip
I have a project where I'm allowing several people to upload images...
Calculating Standard Deviation
...
Write Once Use Many
Reuse the same code over and over again on your site with the [include] context...
How to create a RSS feed
How to create a RSS feed from yourdatabase on formation...
Database backup
How to make a backup of your databases...