Google Answers Logo
View Question
 
Q: php script - text extractor ( No Answer,   1 Comment )
Question  
Subject: php script - text extractor
Category: Computers > Programming
Asked by: alfieruzz-ga
List Price: $15.00
Posted: 01 Aug 2006 15:56 PDT
Expires: 31 Aug 2006 15:56 PDT
Question ID: 751629
Hi,
I would like a php script that load a web page like
http://www.skype.com/intl/it/products/skypeout/rates/all_rates.html
and generate a very simple table with all the country names with a
specific rate, for example:
All country with 0.111Euro/min
Kyrgyzstan - Mobile
Turkey
Turkey-Ankara
...
etc

The script should have a simple method to specify how to find the
needed text in html, for example i would like to specify the starting
string like
'<tr class="r0"> or <tr class="r1">'
the ending string
'&euro; 0.111</span>'
end specify to take the text from the first <td> to the first </td>

So it extract Kyrgyzstan - Mobile from this part of html
<tr class="r0">
<td>Kyrgyzstan - Mobile</td>
<td>&euro; 0.111</td>

These parameter should be customizable to adapt the code to the future
modification of layout.

Thanks
Answer  
There is no answer at this time.

Comments  
Subject: Re: php script - text extractor
From: smikel-ga on 04 Aug 2006 05:38 PDT
 
Here is the full list
http://www.anunt123.com/temp/answer.php

and here:
http://www.anunt123.com/temp/answer.php?money=142
only the country with ? 0.142 in the first row

change the value of money to see the efect.
Say if you want other changes.
Silviu

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy