User Agent Strings

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

3 replies · 875 views · started 18 years ago · 1 min read

3 participants
v1rax Junior · 11 posts #1

anyone have any ideas on how to create a user agent strings. This would be helpful in my new project which is a mobile search engine.. the problem is when crawling pages that redirect according to browser the spider normally goes to the html or web version on the page. I've kinda figured out how to change to user agent string to allow the spider to be redirected to wml content.. but I want xhtml mobile content.

any help or ideas would be greatly appreciated.

Regards

My Mobile Related sites
www.wapmod.com www.wap3.org

ori Lead · 512 posts #2

so u want a xhtml redirect? for mobiles? or pc n mobiles?

v1rax Junior · 11 posts #3

heres a sample user agent : Motorola-T33/1.5.1a UP.Browser/5.0.1.7.c.2 (GUI) (Google WAP Proxy/1.0)

if I change the user agent of my search engine spider to that... it gets redirected to wml content on pages that has auto redirect for browsers. I want a user agent string that can tell the page that the spider is a mobile browser that can handle xhtml and be redirected to xhtml content.

A site that uses this redirection is 2wap.org

My Mobile Related sites
www.wapmod.com www.wap3.org

chatabox Senior · 361 posts #4

its posted in the "small scripts" topic.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close