Thanks!
I will have a look at it. It does not mention the IG_FetchContent()
but the method seems a bit more mature.
On Nov 23, 3:13 am, Glenn <glen...@gmail.com> wrote:
Welcome Swedesf!
Refer to this article for how to fetch remote
content:http://code.google.com/support/bin/answer.py?answer=79663&topic=11366
--Glenn
On Nov 21, 6:02 am, swedesf <magn...@gmail.com> wrote:
I am new to gadgets, so please point me to the right post if I have
missed something obvious.
I am trying to retrieve remote content = a web page with current bus
departures. For this, I use IG_FetchContent(). My problem is that the
web server formats the content differently depending on the type of
"browser" that contacts it. Different pages will be displayed for:
-- very simple devices (pre xhtml phones)
-- small phones supporting at least xhtml
I have no control over the server. I am assuming the web server is
basing its output mode on header fields in the request.
When I use IG_FetchContent, I get output for pre-xhtml = content that
is formated with whitespaces and quite difficult to parse. I would
like to give a parameter to IG_FetchContent() so that it looks like it
is "Mozilla" (or any other more mature browser) that fetch content
because then I would get the second type of output, which is much
easier to parse.
Can I give parameters to IG_FetchContent() to change the header values