Re: Falsifying [BROWSERNAME]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18721
interpreted = N
texte = On 7/7/1998 2:26 pm, Michael Winston so noted...>One of the things that the header script is supposed to do is assign>NEWCART=1 if the browser if from Lycos. I use the following code:>>[SHOWIF [url][BROWSERNAME][/url]^[url]Lycos[/url]][MATH>SHOW=F]NEWCART=1[/MATH][/SHOWIF]>>However, when Lycos starts indexing my pages, I watch the Web* window.>Lycos is browser using CARTs other than 1. It's like [BROSWERNAME] isn't>recognizing the Lycos browser. I'd like to test this, but I can't because>I don't have a Lycos browser.Does it *ever* properly assign the cart number for the Lycos spider? I don't know if it'd affect the matching in this case, but the [url] tags are not necessary (especially for something like [url]Lycos[/url]). Browserwatch also lists a couple Microsoft browsers that contain LycosIT1 and LycosUK1, so you may want to change the comparison to:[SHOWIF [BROWSERNAME]^Lycos_][MATH SHOW=F]NEWCART=1[/MATH][/SHOWIF]for safety's sake.>So, does anyone know a way that I can force a browser to send a string>different than its normal one? Can I make Netscape send out Lycos_Spider>(T-Rex) instead of Mozilla x.x?If you want to do it for your internal testing, you can open a copy of Navigator with ResEdit and change the third string of Str# resource 210 from Mozilla to Lycos_Spider_(T-Rex)Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 7/7/1998 2:26 pm, Michael Winston so noted...>One of the things that the header script is supposed to do is assign>NEWCART=1 if the browser if from Lycos. I use the following code:>>[SHOWIF
[url][browsername][/url]^
[url]Lycos[/url]][MATH>SHOW=F]NEWCART=1[/MATH][/SHOWIF]>>However, when Lycos starts indexing my pages, I watch the Web* window.>Lycos is browser using CARTs other than 1. It's like [BROSWERNAME] isn't>recognizing the Lycos browser. I'd like to test this, but I can't because>I don't have a Lycos browser.Does it *ever* properly assign the cart number for the Lycos spider? I don't know if it'd affect the matching in this case, but the
[url] tags are not necessary (especially for something like
[url]Lycos[/url]). Browserwatch also lists a couple Microsoft browsers that contain LycosIT1 and LycosUK1, so you may want to change the comparison to:[SHOWIF
[browsername]^Lycos_][MATH SHOW=F]NEWCART=1[/MATH][/SHOWIF]for safety's sake.>So, does anyone know a way that I can force a browser to send a string>different than its normal one? Can I make Netscape send out Lycos_Spider>(T-Rex) instead of Mozilla x.x?If you want to do it for your internal testing, you can open a copy of Navigator with ResEdit and change the third string of Str# resource 210 from Mozilla to Lycos_Spider_(T-Rex)Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
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:
View order not right (1997)
Am I going senile? (Price recalc based on quantity) (1997)
international time (1997)
A Couple Photos from the SmithMicro Booth at MacWorld (2000)
WCS Newbie question (1997)
List Archives? (2005)
[WebDNA] I got v7 running on 64-bit Ubuntu 11.04 ... (2012)
WebCatalog 4.0.1 has been released! (2000)
Databases inside [SHOWIF] (1998)
Pricing (1998)
Extra Text Fields (was Another question) (1997)
WebCatalog for guestbook ? (1997)
Add more fields to an existent data base (1997)
Extended [ConvertChars] (1997)
Cyberstudio and WebDNA (1997)
Multiple catalog databases and showcart (1997)
Online reference (1997)
Filemaker Pro and [convertchars] (2000)
Emailer help....! (1997)
Search the same field twice? (2004)