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 !
Re: Get data from some sites2011-11-01T03:09:24ZThis is the accepted answer. This is the accepted answer.First 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.