Re: Getting information from some site via Basic IDE – possible? How?

Andrew Douglas Pitonyak <[email protected]> Mon, 18 Jul 2011 00:12:22 -0400
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Wow Johnny, you sure do get around :-)

On 07/16/2011 11:34 AM, Johnny Rosenberg wrote:
> Is it possible with the OpenOffice.org BASIC IDE to access a web site,
> login, copy some text to the clipboard, and then logout?
> Any hints?

I have seen examples using Calc using tricks similar to these:

http://www.openofficetips.com/blog/archives/2004/11/webquery_scrapi.html
http://www.oooforum.org/forum/viewtopic.phtml?t=3D4103

In these examples, there was no need to login. The important point is=20
that they simply loaded the page. I am not aware of a simple way to get=20
the web contents without loading it into a document.

My fear is that the login step will fail unless you are able to pass the=20
credentials as part of the initial http request.

I expect that the rest of the task is easy if you can solve the first par=
t.

Interested in seeing any solutions that you find or create.

>
> Kind regards
>
> Johnny Rosenberg
> =E3=82=B8=E3=83=A7=E3=83=8B=E3=83=BC=E3=83=BB=E3=83=AD=E3=83=BC=E3=82=BC=
=E3=83=B3=E3=83=90=E3=83=BC=E3=82=B0

--=20
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php

--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help