Re: [WebDNA] Feature Request: [returnhtml]

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112681
interpreted = N
texte = 264 Awesome! Can I add two more?=20 1) [dumptable table=3Dblah.tab&type=3Dtext/html] Displays the contents of the table in either tab delimited format (handy = inside a [writefile]),=20 or an HTML table (all made by webdna of course) Debugging tables can be a major pain sometimes, we need some help here. 2) Add an optional second line to the .hdr file defining per field in = the same =20 order as the field names, the field type (text/number/date/autonumber) = so =20 that we don't have to spell it out with each and every search sort we = write. Accounts.hdr ID (tab) Adddate (tab) AddTime (tab) Name (tab) email (tab) zipcode autonumber (tab) date (tab) time (tab) text (tab) text (tab) number Thanks! -Brian B. Burton > On Mar 24, 2016, at 1:47 PM, christophe.billiottet@webdna.us wrote: >=20 > We note all the ideas, and implement what we think are the best ideas. >=20 > - chris >=20 >=20 >=20 >=20 >=20 >> On Mar 24, 2016, at 21:09, Brian Burton wrote: >>=20 >> Problem: I have webpages that create a tremendous amount of = whitespace at or near the top of the webpage due to all the webdna stuff = going on.=20 >> Occasionally it bothers me enough that I comment out the carriage = returns, but that is SUPER MESSY code to look at.=20 >> In a function, we have the ability to limit the output with a = [return][/return] pair.=20 >>=20 >> Proposed Solution:=20 >> What would be a great addition to WebDNA would be a = [returnhtml][/returnhtml] tag pair. It would only be allowed once per = rendered page.=20 >> On any page that doesn=E2=80=99t have this pair, everything would = work as it currently does. >> On any page that does have the pair, WebDNA only returns to Apache = what=E2=80=99s between the pair. >>=20 >> Now any amount of webdna code stays nicely safe and hidden, doesn=E2=80= =99t generate any whitespace, and means we can make very clean HTML = output.=20 >>=20 >> (also helps move us a step closer to MVC, but ignore the man behind = that curtain :)=20 >>=20 >> -Brian B. Burton >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  2. Re: [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
  3. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  4. [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
264 Awesome! Can I add two more?=20 1) [dumptable table=3Dblah.tab&type=3Dtext/html] Displays the contents of the table in either tab delimited format (handy = inside a [writefile]),=20 or an HTML table (all made by webdna of course) Debugging tables can be a major pain sometimes, we need some help here. 2) Add an optional second line to the .hdr file defining per field in = the same =20 order as the field names, the field type (text/number/date/autonumber) = so =20 that we don't have to spell it out with each and every search sort we = write. Accounts.hdr ID (tab) Adddate (tab) AddTime (tab) Name (tab) email (tab) zipcode autonumber (tab) date (tab) time (tab) text (tab) text (tab) number Thanks! -Brian B. Burton > On Mar 24, 2016, at 1:47 PM, christophe.billiottet@webdna.us wrote: >=20 > We note all the ideas, and implement what we think are the best ideas. >=20 > - chris >=20 >=20 >=20 >=20 >=20 >> On Mar 24, 2016, at 21:09, Brian Burton wrote: >>=20 >> Problem: I have webpages that create a tremendous amount of = whitespace at or near the top of the webpage due to all the webdna stuff = going on.=20 >> Occasionally it bothers me enough that I comment out the carriage = returns, but that is SUPER MESSY code to look at.=20 >> In a function, we have the ability to limit the output with a = [return][/return] pair.=20 >>=20 >> Proposed Solution:=20 >> What would be a great addition to WebDNA would be a = [returnhtml][/returnhtml] tag pair. It would only be allowed once per = rendered page.=20 >> On any page that doesn=E2=80=99t have this pair, everything would = work as it currently does. >> On any page that does have the pair, WebDNA only returns to Apache = what=E2=80=99s between the pair. >>=20 >> Now any amount of webdna code stays nicely safe and hidden, doesn=E2=80= =99t generate any whitespace, and means we can make very clean HTML = output.=20 >>=20 >> (also helps move us a step closer to MVC, but ignore the man behind = that curtain :)=20 >>=20 >> -Brian B. Burton >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Brian Burton

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:

SKU's (2000) Loops N Variables (1998) RE: Deafness (1998) [WebDNA] Inline email images (2011) Webcat/Webmerchant (1998) encrypted query string trouble on OSX (2001) web delivery (1997) Re:quit command on NT (1997) Bug Report, maybe (1997) MacWEEK article help needed (1996) WebCat2.0 [format thousands .0f] no go (1997) unable to launch acgi in WebCat (1997) writing db to disk (1997) [WebDNA] Listfields in an input environment (2018) Emailer (1997) Press Release hit the NewsWire!!! (1997) Not really WebCat (1997) carriage returns in data (1997) WebCat2 - storing unformatted date data? (1997) WC Database Format (1997)