Re: Random <body> tags HELP!!!!
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23015
interpreted = N
texte = Try with this one:the randomColor file[search db=random.db&neUNIQUEIDdata=[blank]&raUNIQUEIDsort=1&MAX=1][founditems][RandomTag][/founditems][/search]your body should stay the way it is/Martin>Hey guys, what's going on, I just have to be missing something simple here.>>I am using the [writefile] command to generate an html page for every record>in a particular database. Everything has seemed to work perfect so far, but>the Idea came up to have webcat generate different backgrounds for the pages>so they don't all look the same, so I just made me a database similar to the>standard Ads.db with 7 different tags in it, I'm calling it with>[include RandomColors],(RandomColors being the file that performs the search>on the db of tags) but when I generated the html pages all it would>read is the 2 quotes from the background=imagename. The output of this of>this just produced a black background, which makes since, because the >tag was missing..>Then I tried to have the page generate the body tag and have the>RandomColors just to look for a simple image, like this:>>this just returned>>>>>I've tried many different varieties but just keep coming up with the same>thing>here is what I have for my Random.db>>UniqueID
RandomTag>1tile1.gif>2tile2.gif>3tile3.gif>4tile4.gif>5tile5.gif>6tile6.gif>7tile7.gif>>And Here is what I have in the RandomColors file>>[search>db=Random.db&neRandomTagdata=0&RandomTagsort=1&RandomTagdir=ra&max=1]>[foundItems][Interpret][RandomTag][/Interpret][/foundItems][/search]>>>and again heres the code in the page generation template>>>>I'm not sure what is going wrong here, this seems like such an easy process,>its just not turning out the way planned>>>does anyone have any clues about this one???>any info would be gladly appreciated>>Sincerely>Chris
Associated Messages, from the most recent to the oldest:
Try with this one:the randomColor file[search db=random.db&neUNIQUEIDdata=[blank]&raUNIQUEIDsort=1&MAX=1][founditems][RandomTag][/founditems][/search]your body should stay the way it is/Martin>Hey guys, what's going on, I just have to be missing something simple here.>>I am using the [writefile] command to generate an html page for every record>in a particular database. Everything has seemed to work perfect so far, but>the Idea came up to have webcat generate different backgrounds for the pages>so they don't all look the same, so I just made me a database similar to the>standard Ads.db with 7 different tags in it, I'm calling it with>[include RandomColors],(RandomColors being the file that performs the search>on the db of tags) but when I generated the html pages all it would>read is the 2 quotes from the background=imagename. The output of this of>this just produced a black background, which makes since, because the >tag was missing..>Then I tried to have the page generate the body tag and have the>RandomColors just to look for a simple image, like this:>>this just returned>>>>>I've tried many different varieties but just keep coming up with the same>thing>here is what I have for my Random.db>>UniqueIDRandomTag>1tile1.gif>2tile2.gif>3tile3.gif>4tile4.gif>5tile5.gif>6tile6.gif>7tile7.gif>>And Here is what I have in the RandomColors file>>[search>db=Random.db&neRandomTagdata=0&RandomTagsort=1&RandomTagdir=ra&max=1]>[founditems][interpret][RandomTag][/Interpret][/foundItems][/search]>>>and again heres the code in the page generation template>>>>I'm not sure what is going wrong here, this seems like such an easy process,>its just not turning out the way planned>>>does anyone have any clues about this one???>any info would be gladly appreciated>>Sincerely>Chris
Martin Bech
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:
Apache not likeing WebDNA (2008)
2.1 pricing? (1998)
Date format question (1998)
nested ListWords? (2003)
Summary search -- speed (1997)
Suggestions for Topics to be covered in an Advanced (1998)
Help! WebCat2 bug (1997)
Help name our technology! (1997)
Re:Off Topic: Frames Killer? (1998)
removelineitems (2000)
WebCommerce: Folder organization ? (1997)
Format of Required fields error message (1997)
problems with 2 tags (1997)
How do I send a 404 HTTP header ? (2004)
SSL (1998)
Emailer and encryption (1997)
categories and subcategories (2004)
Lookup Notfound (1998)
WebDNA Book? (2003)
Session Number (1998)