Re: Slightly OT: Regex and Date Modified/Created

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44319
interpreted = N
texte = Can't you just use a [fileinfo] tag in there and write the files out again .. I've got some code that will loop though the entire directory structure of the server in webdna looking for patterns/filenames that could be modified to do what you want ..Something like:[fileinfo file=thisfile][moddate][/fileinfo] Then rearrange the out-put with listwords/getchars, whatever ..Alain > Hello all, > > I realise that this question is maybe OT, but decided to ask anyway hoping > to pick your brains. > > I searched Archives, but had no luck so far in finding what I've been > looking for. > > I need to insert two Dublin meta tags: content=> and in hundreds HTML > pages where between should go file's actual Date Created and Date > Modified info for each and every page in YYYY-MM-DD format. > > How can I use Regular Expressions and DW or BBEdit to copy all those > different dates to meta tags and in the YYYY-MM-DD format. How to get them > from my file system? > > If any of you tried that to accomplish? > > I hope I was clear enough in my question. > > Any help would be highly appreciated. > > I'm on Mac OS 9.1 and WebCat 3. > > Regards, > Oleg > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Slightly OT: Regex and Date Modified/Created (Oleg Kremiansky 2002)
  2. Re: Slightly OT: Regex and Date Modified/Created (Alain Russell 2002)
  3. Slightly OT: Regex and Date Modified/Created (Oleg Kremiansky 2002)
Can't you just use a [fileinfo] tag in there and write the files out again .. I've got some code that will loop though the entire directory structure of the server in webdna looking for patterns/filenames that could be modified to do what you want ..Something like:[fileinfo file=thisfile][moddate][/fileinfo] Then rearrange the out-put with listwords/getchars, whatever ..Alain > Hello all, > > I realise that this question is maybe OT, but decided to ask anyway hoping > to pick your brains. > > I searched Archives, but had no luck so far in finding what I've been > looking for. > > I need to insert two Dublin meta tags: content=> and in hundreds HTML > pages where between should go file's actual Date Created and Date > Modified info for each and every page in YYYY-MM-DD format. > > How can I use Regular Expressions and DW or BBEdit to copy all those > different dates to meta tags and in the YYYY-MM-DD format. How to get them > from my file system? > > If any of you tried that to accomplish? > > I hope I was clear enough in my question. > > Any help would be highly appreciated. > > I'm on Mac OS 9.1 and WebCat 3. > > Regards, > Oleg > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Reversed words (1997) Been meaning to ask... (1997) Hiring: Web programmer in Seattle area (2000) Authenticate (1999) Latin Characters (1998) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) converting tabs (1997) Cancel Subscription (1996) html being uncooperative (2000) No luck with taxes (1997) Stumpted Again (1997) can WC render sites out? (1997) Navigator 4.01 (1997) Unexpected error (1997) problem with NT beta (1997) Running WebCat from a CD-ROM (1997) OK, here goes... (1997) Separate SSL Server (1997) calculating tax rates, mail order solutions and version 2 (1997) WC2.0 Memory Requirements (1997)