Re: Witango-Talk: datasources

2002-09-04 Thread Atrix Wolfe
thanx, that was very informative (: - Original Message - From: "JJ Smith" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 10:00 PM Subject: Re: Witango-Talk: datasources > Hi Atrix, > > Scott Cadillac has a rea

Re: Witango-Talk: datasources

2002-09-04 Thread JJ Smith
Hi Atrix, Scott Cadillac has a really good explanation on how to do this at: http://xml-extra.net/webpage.xmlx?node=41 JJ --- Atrix Wolfe <[EMAIL PROTECTED]> wrote: > Hi, i heard there was a way to define the data > source of a DBMS action at the time the .taf is > being run...like from an arg

Witango-Talk: datasources

2002-09-04 Thread Atrix Wolfe
Hi, i heard there was a way to define the data source of a DBMS action at the time the .taf is being run...like from an arg or something.  Does this sound familiar to anybody?   thanx -Atrix

WiTango-Talk: New StoreFront or additions?

2002-09-04 Thread Garth Penglase
Hi list, While I have done my own ecommerce sites in the past, the first large implementation in 1996, I have recently begun investigating Ritchie Carroll's excellent StoreFront demo from which I am gleaning better ways to develop similar structures. Does anyone have any modified versions or a

RE: Witango-Talk: httpHeader and RTF files - On the Downhill side ;-)

2002-09-04 Thread Ben Johansen
Hi Scott, Side note: When I added the Content-Disposition It worked fine under IE 5.5 Win 98 But under XP Pro and IE 6 it forced a download without open option This could be a setting The below work, This one is without the Content-Disposition <@assign local$encodeResults value="false"><@ass

RE: Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Ben Johansen
So, you get calls directly from M$ ;-) I found the view at http://office.microsoft.com/downloads/2000/wd97vwr32.aspx Works like a champ using the "application/msword" content-type. Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm Late

RE: Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Tom Grimshaw
G'day Ben, Last I heard you could download a free Word viewer from MS. At 15:14 04/09/02 -0700, you wrote: >I was hoping there was a generic RTF output/plugin in IE so that I would >not have to have M$Word on all workstations. > >Is there a plugin out there? Warmest regards, Tom Grimshaw coy:

Re: Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Scott Cadillac
Hi Ben, There is of course WordPad, which is standard with the Windows' install and supports RTF. You could try experimenting with: application/x-mswrite text/richtext Also, it might work that once you have your " application/msword " Content-Type declared, and MS Word is not present on the wo

RE: Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Ben Johansen
Ok, Changed it to application/msword and it worked just fine. I was hoping there was a generic RTF output/plugin in IE so that I would not have to have M$Word on all workstations. Is there a plugin out there? Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.c

Re: Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Scott Cadillac
Hi Ben, I can't recall exactly what Phil showed us the conference, but I can tell you that MSIE (I can't speak for other browsers) doesn't know which client software to launch for " application/rtf " content, so it forces the file to a download by default. You just have to change your local$http

Witango-Talk: httpHeader and RTF files

2002-09-04 Thread Ben Johansen
Hi,   Anyone been able to bring up an .RTF file Using the header technique like the recent one for JPG   At the conference Phil showed a technique for changing a RTF file and have witango replace the value. If anyone remembers it, could you email me off list.   I have attached what

RE: Witango-Talk: auto-backup

2002-09-04 Thread Chuck Lockwood
Atrix   Look at "Active Backup Expert Professional" from OrionsoftLab.   For $45.00 you can automatically zip and FTP unattended, plus it has a slew of other features.   http://www.orionsoftlab.com/abe/ Chuck LockwoodLockData Technologies, Inc.   

RE: Witango-Talk: auto-backup

2002-09-04 Thread Thomas Ferguson
Get one of those Macro Recorder programs, record yourself downloading the files and have your .bat file run that.   There are several Macro Recorders out there; search for "macro recorder" on Google.   HTH -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

Witango-Talk: auto-backup

2002-09-04 Thread Atrix Wolfe
hiya,   this isnt directly a tango question but i was wondering how i could setup my computer to download a couple exe files from our server at a specified time every day.   The closest i got is to set up a scheduled task and have it run a .bat file im trying to make.  In the .bat file i hav

RE: Witango-Talk: Spoofing MIME headers - Nailed!

2002-09-04 Thread James MacFarlane
Yeah, that's the one! Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac Sent: Wednesday, September 04, 2002 3:20 PM To: Multiple recipients of list witango-talk Subject: Witango-Talk: Re: Spoofing MIME headers -sorta Hi James, Sorry

RE: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread Ben Johansen
Speaking of httpHeader Has anyone had any success with RTF files? Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm Latest downloads & List Archives @ http://www.witango.ws -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

Re: Witango-Talk: Array filter Question

2002-09-04 Thread Jesse Parker
EXPR=" ! ( #1 beginswith 'Spec' ) " Anything from the <@CALC> tag works in EXPR attributes. On Wed, 4 Sep 2002, Chuck Lockwood wrote: > Mental cramp, need help > > If: > <@assign name=vNewArray value='<@FILTER ARRAY="Resultset" EXPR="#1 > beginswith 'Spec'">'> > creates a new array with those

Witango-Talk: Re: Spoofing MIME headers -sorta

2002-09-04 Thread Scott Cadillac
Hi James, Sorry, I forgot the second set of <@CHAR CODE=13><@CHAR CODE=10> at the end of the <@ASSIGN local$httpHeader ...> All HTTP Headers have to end with two carriage returns to mark where the content starts. For those that are interested in seeing the actual HTTP Response Headers, I might

Witango-Talk: Array filter Question

2002-09-04 Thread Chuck Lockwood
Mental cramp, need help If: <@assign name=vNewArray value='<@FILTER ARRAY="Resultset" EXPR="#1 beginswith 'Spec'">'> creates a new array with those records that have column 1 beginning with "Spec", how do I create an array with records not beginning with "Spec"?? <@assign name=vHotelRates value=

Re: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread Scott Cadillac
Hi James, In your Results Action (Output_Image), you should try: <@ASSIGN local$encodeResults VALUE="false"><@ASSIGN local$httpHeader 'HTTP/1.0 200 OK<@CHAR CODE=13><@CHAR CODE=10>Content-Type: image/gif<@CHAR CODE=13><@CHAR CODE=10>Content-length: <@LENGTH <@VAR local$image>><@CHAR CODE=13><@CH

RE: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread James MacFarlane
Removing the whitespace seemed to improve things a bit (at least ImageDetect.taf outputs a broken image). I've attached the file if anyone wouldn't mind taking a look at it. I'm calling it using the following: - James. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Re: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread Scott Cadillac
Hi James, Likewise, using <@CRLF> can produce the wrong characters depending on your platform. I find that it is sometimes safer to use <@CHAR CODE=13><@CHAR CODE=10> together to replace <@CRLF>. This has been fixed in v5 of course. Do your local$httpHeader assignment before a new Result Action,

RE: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread Jesse Parker
Even though you have assigned encodeResults false, you should still display the image with ENCODING=NONE, as in: <@VAR local$GIF ENCODING=NONE> Also, be sure your TAF doesn't output anything before the GIF. Don't forget that Tango meta tags leave whitespace untouched. On Wed, 4 Sep 2002, James

RE: Witango-Talk: Spoofing MIME headers -sorta

2002-09-04 Thread James MacFarlane
Jon, Here's what I get back on the .taf page. The html page that calls the image displays as broken. Content-Type: image/gif Content-length: 43 HTTP/1.0 200 OK Content-Type: image/gif Content-length: 43 GIF89aoofing MIME headers James, Here's some code... <@ASSIGN local$GIF {whatever}> <@AS

RE: Witango-Talk: Parse CVS file

2002-09-04 Thread Jon Grieve
Actually, this did give me an idea, which was to: <@REPLACE STR="..." FINDSTR="<@DQ>,<@DQ>" REPLACESTR="<@DQ>|<@DQ>"> ...then tokenize on |, which gives all the columns (including empty ones) and finally remove the quotes. Ta, Jon -Original Message- From: Alexander Zatko [mailto:[E

RE: Witango-Talk: Parse CVS file

2002-09-04 Thread Jon Grieve
[sigh] -Original Message- From: Alexander Zatko [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 4:15 To: Multiple recipients of list witango-talk Subject: RE: Witango-Talk: Parse CVS file A quick and dirty solution - do replacestring first, to replace "," with say | and then tokeniz

RE: Witango-Talk: Parse CVS file

2002-09-04 Thread Alexander Zatko
A quick and dirty solution - do replacestring first, to replace "," with say | and then tokenize on |. A. > -Original Message- > From: Jon Grieve [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 10:32 AM > To: Multiple recipients of list witango-talk > Subject: Witango-Ta

Witango-Talk: Parse CVS file

2002-09-04 Thread Jon Grieve
All, I'm trying to parse a comma-delimited string, which is nothing unusual... however, the problem I'm seeing is that I can't use <@TOKENIZE ... CHARS=","> because some of the string data contains commas. Every field is enclosed in quotes. An example might look like: "1","Some","Text","that,

RE: Witango-Talk: Spoofing MIME headers

2002-09-04 Thread Simon Boddy
Can I add to this... Browsers can prefer the file extension in the request URL over the Content-type http header when deciding how to handle content. IE is the worst offender, and versions behave differently. You may need to make copies of your taf file, give them .gif and .jpeg extensions, and se

RE: Witango-Talk: Spoofing MIME headers

2002-09-04 Thread Jon Grieve
James, Here's some code... <@ASSIGN local$GIF {whatever}> <@ASSIGN local$encodeResults VALUE="false"> <@ASSIGN local$httpHeader 'HTTP/1.0 200 OK<@CRLF> Content-Type: image/gif<@CRLF> Content-length: <@LENGTH <@VAR local$GIF>><@CRLF> <@SETCOOKIES><@USERREFERENCECOOKIE><@CRLF>'> <@VAR local$GIF>

Witango-Talk: Spoofing MIME headers

2002-09-04 Thread James MacFarlane
I have an application where the source of an image points to a .taf file. I want to log the fact that the image has been viewed and then send out the MIME header and the contents of the image. I've done this with asp using <% Response.ContentType = "image/gif" %> but I don't know what the Tango

RE: Witango-Talk: URL *De*coding in Tango 2000

2002-09-04 Thread Simon Boddy
<@urldecode str=""> Documented in what's new pdf for T2K SP1. ;-) -Original Message- From: WiTango_Talk [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 10:45 To: Multiple recipients of list witango-talk Subject: Witango-Talk: URL *De*coding in Tango 2000 Erm, maybe a simple over

Re:Witango-Talk: URL *De*coding in Tango 2000

2002-09-04 Thread Søren Christian Rix
Like this: <@URLDECODE STR="My%5FName"> :-) SC -- - Søren Christian Rix[EMAIL PROTECTED] - - Unlimited Aps tlf +45 97123300 - - Rønnebærvej 8 fax +45 97123365 - - DK-7400 Herninggsm +45 20734220 - - Denmark

Witango-Talk: URL *De*coding in Tango 2000

2002-09-04 Thread WiTango_Talk
Erm, maybe a simple oversight, maybe not: Anyone know how to DEcode a URL-encoded string in Tango2000 (on Win2K) For example, if I have "My%5FName" in a variable to get out "My_Name"... but for all possible encodings (as doing individual search-and-replaces on each possible encoded character is