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 ofthe server in webdna looking for patterns/filenames that could be modifiedto 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:
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 ofthe server in webdna looking for patterns/filenames that could be modifiedto 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:
Hard Questions ? (1997)
WebCatalog - Mac vs Linux (2000)
SiteGaurd file Cache vs webcatalog cache (1997)
Photo Album (2000)
Converting Aliases to Symbolic Links (2002)
Generating unique SKU from [cart] - FIXED! (1997)
Visitor info (2000)
SFTP (2004)
Detecting/limiting connections in the developer edition ... (2004)
[OT] Passing a WebDNA variable through flash (2004)
displaying New products (using [date]) (1997)
[searchString] (1997)
Summary search -- speed (1997)
Cookie Problems (2000)
Using [showif] within [lineitems] (2000)
Webcat data and graphing (2000)
Signal Raised Error (Part III) (1997)
Include files (1998)
_ in front of field name (1998)
webmerch and serials - almost there (1997)