BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exchange rates service
Goto page 1, 2  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Hans Galema
Guest





PostPosted: Tue Feb 03, 2004 8:10 am    Post subject: Exchange rates service Reply with quote



http://www.xe.com is an exchange rate and currency converter site.

I did have a look at the source of their pages to see if
it was not to difficult to parse out the rates.

How did they know what I was about to .. ? This I found:

<WARNING>
<!--
// *** LEGAL WARNING! ***
//
// IF YOU ARE READING THIS, YOU MAY BE CONSIDERING EXTRACTING RATE DATA
FROM XE.COM.
// THIS IS A VIOLATION OF THE LEGAL TERMS OF USE. DATA EXCTRACTION IS NOT
PERMITTED.
// REDISTRIBUTION OF THIS DATA IS PROHIBTED, AND ALL USE OF IT IS STRICTLY
GOVERNED

......

Obviously I was not the first with that idea.<g>. So who knows something on
www or on internet where a program could query exchange rates, and parsing,
if needed, is allowed?

Hans.


Back to top
Peter Agricola
Guest





PostPosted: Tue Feb 03, 2004 11:02 am    Post subject: Re: Exchange rates service Reply with quote




"Hans Galema" wrote:
Quote:
Obviously I was not the first with that idea.<g>. So who knows something
on
www or on internet where a program could query exchange rates, and
parsing,
if needed, is allowed?


Do you want to redistribute the rates (or making them public) or do you want
to use them yourself? I don't see a difference from reading a website and
then typeing the figures in from parsing the HTML. As long as it is for own
use.


Peter



Back to top
Peter Agricola
Guest





PostPosted: Tue Feb 03, 2004 11:17 am    Post subject: Re: Exchange rates service Reply with quote




"Peter Agricola" wrote:
Quote:
Do you want to redistribute the rates (or making them public) or do you
want
to use them yourself? I don't see a difference from reading a website and
then typeing the figures in from parsing the HTML. As long as it is for
own
use.

Forget what I wrote. You are not allowed to use the rates in whatever form
without written permission. You are not even allowed to use the rates to
create an invoice. I don't know how difficult it is to get written
permission but the site looks rather superfluous to me.


Peter



Back to top
Hans Galema
Guest





PostPosted: Tue Feb 03, 2004 11:45 am    Post subject: Re: Exchange rates service Reply with quote

Peter Agricola wrote:

Quote:
You are not allowed to use the rates in whatever form
without written permission. You are not even allowed to use the rates to
create an invoice. I don't know how difficult it is to get written
permission but the site looks rather superfluous to me.

Yes, I had discovered that myself. But is there another site somewhere or
a service on the internet that delivers rates ?

Thanks.

Hans.

Back to top
Ed Mulroy [TeamB]
Guest





PostPosted: Tue Feb 03, 2004 1:36 pm    Post subject: Re: Exchange rates service Reply with quote

I use this site: (Euro to $US shown)
http://quote.yahoo.com/m5?a=1&s=EUR&t=USD

However that is a manual entry system. You'd have to get the page and grab
the HTML form and other stuff from it to see how to work it in a program.

.. Ed

Quote:
Hans Galema wrote in message
news:401f88b5 (AT) newsgroups (DOT) borland.com...

Yes, I had discovered that myself. But is there another
site somewhere or a service on the internet that delivers rates ?



Back to top
Hans Galema
Guest





PostPosted: Tue Feb 03, 2004 2:22 pm    Post subject: Re: Exchange rates service Reply with quote

Ed Mulroy [TeamB] wrote:

Quote:
I use this site: (Euro to $US shown)
http://quote.yahoo.com/m5?a=1&s=EUR&t=USD

However that is a manual entry system. You'd have to get the page and grab
the HTML form and other stuff from it to see how to work it in a program.

Yes, TIdHTTP could grab the page with the URL you provided. Then the rate
could be parsed out from one of the <td></td>'s from the diagram. That's not
to difficult. Thanks.

At the bottom of the page one can read:
"Copyright © 2004 Yahoo! Inc. All rights reserved. Terms of Service"

And a little bit further:
"By accessing the Yahoo! site, a user agrees not to redistribute the information
found therein."

I read the Terms of Sevice'. It does not contain the word 'parse'.<g>
So do you think I am allowed to use a rate programmatically grabbed
from that page to use it for a site that displays euro values and
converted usd values ?

And I'm still in for server that just would return the rate alone.

Hans.

Back to top
Ed Mulroy [TeamB]
Guest





PostPosted: Tue Feb 03, 2004 3:10 pm    Post subject: Re: Exchange rates service Reply with quote

Quote:
Yes, TIdHTTP could grab the page with the URL you
provided. Then the rate could be parsed out from one
of the <td></td>'s from the diagram. That's not
to difficult. Thanks.

I have not dug into it but was thinking that you could read the page and
learn how to query the exchange rates the same way that page does instead of
parsing the page itself.

Side note: I have no clue as to what a TldHTTP is. Is that an Indy class?
(You're talking with a dummy Win32 coder here.)

Quote:
And a little bit further:
"By accessing the Yahoo! site, a user agrees not to
redistribute the information found therein."

I read the Terms of Sevice'. It does not contain the word
'parse'.<g> So do you think I am allowed to use a rate
programmatically grabbed from that page to use it for a
site that displays euro values and converted usd values ?

I did not read the page source so did not see that note. I think it does
apply to you but that they most object to the use of their info without
attribution. If you decide to use it then you might display something below
the numbers of of the sort "rates from yahoo" along with a link. However
given the text of the TOS I would be reluctant to use it in the way you
intend.

.. Ed

PS: re: [email]dontusethis (AT) dontusethis (DOT) nl[/email]
different name but same destination as I use
[email]dont_email_me (AT) bitbuc (DOT) ket[/email]
"great thinks mind alike" !! <g>

Quote:
Hans Galema wrote in message
news:401fad5e (AT) newsgroups (DOT) borland.com...

Yes, TIdHTTP could grab the page with the URL you
provided. Then the rate could be parsed out from one
of the <td></td>'s from the diagram. That's not to
difficult. Thanks.

At the bottom of the page one can read:
"Copyright © 2004 Yahoo! Inc. All rights reserved. Terms
of Service"

And a little bit further:
"By accessing the Yahoo! site, a user agrees not to
redistribute the information found therein."

I read the Terms of Sevice'. It does not contain the word
'parse'.<g> So do you think I am allowed to use a rate
programmatically grabbed from that page to use it for a
site that displays euro values and converted usd values ?

And I'm still in for server that just would return the rate
alone.



Back to top
Hans Galema
Guest





PostPosted: Tue Feb 03, 2004 3:50 pm    Post subject: Re: Exchange rates service Reply with quote

Ed Mulroy [TeamB] wrote:

Quote:
I have not dug into it but was thinking that you could read the page and
learn how to query the exchange rates the same way that page does instead of
parsing the page itself.

No, the link you provided is the same as when you manually fill in the
inputbox and choose the selects and then click the 'Convert' submitbutton.
Only a "&c=0" is added to the query. I could not find out what different
values for c did. The result is a page that is the same as the original link.

Quote:
Side note: I have no clue as to what a TldHTTP is. Is that an Indy class?

Yes. Given the URL it would download the html page. Once received one
could parse it.

Quote:
I did not read the page source so did not see that note. I think it does
apply to you but that they most object to the use of their info without
attribution. If you decide to use it then you might display something below
the numbers of of the sort "rates from yahoo" along with a link. However
given the text of the TOS I would be reluctant to use it in the way you
intend.

Your opinion is appreciated.

Quote:
"great thinks mind alike" !! <g

Do they ?
Hans.

Back to top
OBones
Guest





PostPosted: Tue Feb 03, 2004 10:42 pm    Post subject: Re: Exchange rates service Reply with quote

Hans Galema wrote:

Quote:
http://www.xe.com is an exchange rate and currency converter site.

I did have a look at the source of their pages to see if
it was not to difficult to parse out the rates.

There is a developer access for those who want to use the rates in their
commercial programs, provided a fee is paid.
http://www.xe.com/dfs/


Back to top
Hans Galema
Guest





PostPosted: Wed Feb 04, 2004 10:33 am    Post subject: Re: Exchange rates service Reply with quote

OBones wrote:

Quote:
There is a developer access for those who want to use the rates in their
commercial programs, provided a fee is paid.
http://www.xe.com/dfs/

Thanks for the precise link.

They charge a flat annual fee of US$540

The currency converter on http://www.xe.com nicely illustrates a
security problem. They use method=POST to send data to ther cgi, but
it accepts GET as well.

I.E. To see how much US$540 would be in euros, click here:
http://www.xe.com/ucc/convert.cgi?Amount=540&From=USD&To=EUR

Strong Euro!

Think that we will look for something cheaper.

Hans.

Back to top
Dominique Louis
Guest





PostPosted: Thu Feb 05, 2004 2:11 pm    Post subject: Re: Exchange rates service Reply with quote

You may want to look @
http://www.exchangerate.com/data_feeds.html

I have not used it but they offer a range or feed formats.


Dominique
http://www.DelphiGamer.com := go on, write a game instead;

Hans Galema wrote:

Quote:
http://www.xe.com is an exchange rate and currency converter site.

I did have a look at the source of their pages to see if
it was not to difficult to parse out the rates.

How did they know what I was about to .. ? This I found:

WARNING
!--
// *** LEGAL WARNING! ***
//
// IF YOU ARE READING THIS, YOU MAY BE CONSIDERING EXTRACTING RATE DATA
FROM XE.COM.
// THIS IS A VIOLATION OF THE LEGAL TERMS OF USE. DATA EXCTRACTION
IS NOT
PERMITTED.
// REDISTRIBUTION OF THIS DATA IS PROHIBTED, AND ALL USE OF IT IS
STRICTLY
GOVERNED

......
/WARNING

Obviously I was not the first with that idea.<g>. So who knows something on
www or on internet where a program could query exchange rates, and parsing,
if needed, is allowed?

Hans.

Back to top
Hans Galema
Guest





PostPosted: Sat Feb 07, 2004 1:47 pm    Post subject: Re: Exchange rates service Reply with quote

Dominique Louis wrote:

Quote:
You may want to look @
http://www.exchangerate.com/data_feeds.html

I have not used it but they offer a range or feed formats.

After looking at:
http://www.exchangerate.com/world_rates.html?cont=Europe
I doubt if I can trust them.

The page tells that it is "Last Updated: Fri, 02-06-2004 14:51 (+5 GMT)"
but it shows for the Netherlands the Guilder and for Germany the Mark.
Both countries use Euro longer than a year now.

Thanks.

Hans.

Back to top
John B. Breckenridge
Guest





PostPosted: Thu Feb 19, 2004 6:56 pm    Post subject: Re: Exchange rates service Reply with quote

If you just need exchange rates for Euros, the European Central Bank
explicitly publishes rates in a variety of importable formats:

http://www.ecb.int/stats/eurofxref/


Back to top
R.F. Pels
Guest





PostPosted: Thu Feb 19, 2004 8:24 pm    Post subject: Re: Exchange rates service Reply with quote

Hans Galema wrote:

Quote:
http://www.xe.com is an exchange rate and currency converter site.

There is a KDE application called kexchange that does that. It retrieves
currency information from:

http://pacific.commerce.ubc.ca/xr/
http://fx.sauder.ubc.ca/cgi/fxdata
http://fx.sauder.ubc.ca/supplement.html

Peruse the source to see how they are used, the second one needs arguments
to retrieve the data.

--

Ruurd

Back to top
Ed Mulroy [TeamB]
Guest





PostPosted: Thu Feb 19, 2004 8:41 pm    Post subject: Re: Exchange rates service Reply with quote

Good link. I'm bookmarking that one <g>

He might also try to look at whatever the Java is that drives this site:

http://www.uta.fi/~ktmatu/rate-converter.html

.. Ed

Quote:
R.F. Pels wrote in message
news:40351b76 (AT) newsgroups (DOT) borland.com...

http://www.xe.com is an exchange rate and currency converter
site.

There is a KDE application called kexchange that does that.
It retrieves currency information from:

http://pacific.commerce.ubc.ca/xr/
http://fx.sauder.ubc.ca/cgi/fxdata
http://fx.sauder.ubc.ca/supplement.html

Peruse the source to see how they are used, the second one
needs arguments to retrieve the data.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.