A method and apparatus for unfolding dynamic web content in a wireless information
gateway for presentation on wireless information devices. The apparatus includes
an unfolding engine that converts dynamic web content to static web pages, and
a wireless markup language translator module that translates static web content
to a format suitable for display by wireless devices. The method includes the steps
of intercepting a request for a web page from a wireless device; determining if
the requested web page is already stored in an interpreted page cache; fetching
the requested web page from an appropriate web server; reading the returned web
page in an unfolding engine to detect any dynamic content embedded in the returned
web page; unfolding any dynamic content into multiple static content pages by simulation
of all possible paths in a dynamic content runtime environment; generating multiple
static web pages from the output of the dynamic content runtime environment; storing
the multiple static web pages in the interpreted page cache; and delivering to
the wireless device one of the stored multiple static web pages appropriate to
each action taken on the dynamic content at the requesting wireless device.