Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying spidered data
Message
 
 
À
01/09/2010 17:50:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01479606
Message ID:
01479685
Vues:
76
This message has been marked as the solution to the initial question of the thread.
>This is the simple code I am working with maybe their is a variable here I do not know for sure (I thought this would be easy) I tried the create table and insert to but I do not get it. This code retrieves data but I do not know how to save it.
>
>
>
>LOCAL loSpider
>LOCAL lnSuccess
>LOCAL i
>LOCAL lcUrl
>
>loSpider = CreateObject('Chilkat.Spider')
>
>loSpider.Initialize("directory.google.com")
>loSpider.AddUnspidered("http://directory.google.com/Top/Recreation/Food/Cheese/")
>
>lnSuccess = loSpider.CrawlNext()
>
>
>FOR i = 0 TO loSpider.NumOutboundLinks - 1
>    ? loSpider.GetOutboundLink(i)
>NEXT
>
>
>
>Thanks,
>
>Frank

I don't have this class, so I can not test it, but perhaps:
FOR i = 0 TO loSpider.NumOutboundLinks - 1
*    ? loSpider.GetOutboundLink(i)
   insert into CrawlInfo (URL) values (loSpider.GetOutboundLink(i))
NEXT

select CrawlInfo
browse
CrawlInfo will be your free table.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform