Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying spidered data
Message
 
 
To
01/09/2010 17:50:12
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01479606
Message ID:
01479685
Views:
75
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform