Re: [isfile] ?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11439
interpreted = N
texte = >>look under [listfiles] in the context tags of the online ref. It is used >>for doing a complete directory not just a specific file unless you render >>the folder ahead of time which is how we plan to use it.Until we get some new tags for file-existence checking, you can 'pre-render' the contents of a folder into a database so at least you don't have to type new files in from memory.Here is some WebDNA that 'renders' all the online docs into a single database. You can modify it to look for files of type .gif and just store their names into a database (don't try to store the contents of a .gif file into a database field, however -- binary information would make it unhappy). [closedatabase alldocs.db][writefile alldocs.db]filename contents [/writefile][listfiles webcatalog/webcatreference] [filename]
[showif [filename]^.html][append alldocs.db]filename=[filename]&contents=[url][include file=webcatalog/webcatreference/[filename]&raw=T][/url][/append][/showif] [/listfiles]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [isfile] ? (Grant Hulbert 1997)
  2. Re: [isfile] ? (Christer Olsson 1997)
  3. Re: [isfile] ? (Grant Hulbert 1997)
  4. Re: [isfile] ? (Kenneth Grome 1997)
  5. Re: [isfile] ? (Christer Olsson 1997)
  6. Re: [isfile] ? (Kenneth Grome 1997)
  7. Re: [isfile] ? (Kenneth Grome 1997)
  8. Re: [isfile] ? (Grant Hulbert 1997)
  9. Re: [isfile] ? (Kenneth Grome 1997)
  10. Re: [isfile] ? (grichter@panavise.com (Gary Richter) 1997)
  11. [isfile] ? (Kenneth Grome 1997)
>>look under [listfiles] in the context tags of the online ref. It is used >>for doing a complete directory not just a specific file unless you render >>the folder ahead of time which is how we plan to use it.Until we get some new tags for file-existence checking, you can 'pre-render' the contents of a folder into a database so at least you don't have to type new files in from memory.Here is some WebDNA that 'renders' all the online docs into a single database. You can modify it to look for files of type .gif and just store their names into a database (don't try to store the contents of a .gif file into a database field, however -- binary information would make it unhappy). [closedatabase alldocs.db][writefile alldocs.db]filename contents [/writefile][listfiles webcatalog/webcatreference] [filename]
[showif [filename]^.html][append alldocs.db]filename=[filename]&contents=[url][include file=webcatalog/webcatreference/[filename]&raw=T][/url][/append][/showif] [/listfiles]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Searching multiple fields (1997) MacFinder -- a new WebDNA web site (1998) Spelling Checker (2003) [SHOWIF AND/OR] (1997) idear about how to get SMSI to speak. (2006) emailer on Windows Beta 18 (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Me know logical no need (2002) price change help (1998) Cookie Expires - nevermind (2004) Problems passing [SKU] with $Replace in 2.0 (1997) filtering extra characters from credit card numbers (2001) Email within tmpl ? (1997) with Link i need to (1997) webcat- multiple selection in input field (1997) Setting up shop (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) [TaxableTotal] - not working with AOL and IE (1997) Interfacing WebMerchant to www.fedex.com (1997) WebCat2b13MacPlugIn - More limits on [include] (1997)