By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,451 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

Does the following programming architecture make sense?

P: n/a
regards:

http://www.wretch.cc/album/show.php?...1111993473&p=2
---------------------------------------------------------------------------
following is my program logic
---------------------------------------------------------------------------
Step 1:translate 1th page(user randomly assigned)and deliver the
converted page to mobile client.
Of course,delivered content is xhtml with xhtml mime header.

Step 2:From the delivered page when user click "href",the program from

(1)HTTP request method line
(2)HTTP host-header line

extract the next href absolute address.
Step 3:In my program,take "next href absolute address" into
translation;

Step 4:repeat Step 2 to Step 4
---------------------------------------------------------------------------
Does the above program logic make sense?

Any positive suggestion is welcome.
thank you
May goodness be with you all
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
mike wrote:
http://www.wretch.cc/album/show.php?...1111993473&p=2
---------------------------------------------------------------------------
following is my program logic


Sounds like a simple proxy to me. That is, if your rather puzzling
description of "random" URLs is explained by english not being your
native language (if you really mean random, you'd need to explain).

Your parser could be mod_proxy_html, which you could (optionally)
simplify quite significantly.

--
Nick Kew
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.