S
Stefano
Hi all,
I'm trying to create a browser definition file (.browser) that matches crawlers
user agents. I don't want modify browser files in the Config system folder.
I'd like to use App_Browsers directory, instead.
I don't want to use Request.Browser.Crawler, because I'd like to be able
to use device filtering for crawlers.
So, for example, I would create a browser named "crawler", so I can use
this syntax in webform code:
<asp:Label ... crawler:Text="I'm a crawler" />
It should be an easy task.... but unfortunately it isn't.
Some crawlers put "Mozilla" in the user agent string (for example Googlebot),
and others not.
So, the result is that:
I cannot define my browser id "crawler" with "default" as parentID, because
crawlers that put "mozilla" in the user agent will match with "mozilla" browser.
I cannot define my browser id "crawler" with "mozilla" as parentID, because
crawlers that doesn't put "mozilla" in the user agent will not match.
Any ideas?
Thanks
I'm trying to create a browser definition file (.browser) that matches crawlers
user agents. I don't want modify browser files in the Config system folder.
I'd like to use App_Browsers directory, instead.
I don't want to use Request.Browser.Crawler, because I'd like to be able
to use device filtering for crawlers.
So, for example, I would create a browser named "crawler", so I can use
this syntax in webform code:
<asp:Label ... crawler:Text="I'm a crawler" />
It should be an easy task.... but unfortunately it isn't.
Some crawlers put "Mozilla" in the user agent string (for example Googlebot),
and others not.
So, the result is that:
I cannot define my browser id "crawler" with "default" as parentID, because
crawlers that put "mozilla" in the user agent will match with "mozilla" browser.
I cannot define my browser id "crawler" with "mozilla" as parentID, because
crawlers that doesn't put "mozilla" in the user agent will not match.
Any ideas?
Thanks