I want to get some data from some sites, then save to my database in Websphere smash.
Anynone can give me some example to do that ? Thankyou so much !
This topic has been locked.
2 replies Latest Post - 2011-11-11T02:25:07Z by SystemAdmin
Pinned topic Get data from some sites
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-11-11T02:25:07Z at 2011-11-11T02:25:07Z by SystemAdmin
Re: Get data from some sites2011-11-01T03:09:24Z in response to SystemAdminFirst problem is getting the data. You might look at the Connection API section of the Developer's Guide for some ideas on fetching the data. You can also use PHP's curl() function. If the data is provided in a feed, you could look at the zero.rss, zero.atom or zero.feed features.
Once you have the data, the next problem is storing it in a database. Several of the samples in the Developers Guide demonstrate use of databases for server-side storage.