Topic
  • 2 replies
  • Latest Post - ‏2011-11-11T02:25:07Z by SystemAdmin
SystemAdmin
SystemAdmin
9224 Posts

Pinned topic Get data from some sites

‏2011-10-31T18:55:49Z |
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 !
Updated on 2011-11-11T02:25:07Z at 2011-11-11T02:25:07Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    9224 Posts

    Re: Get data from some sites

    ‏2011-11-01T03:09:24Z  
    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.
  • SystemAdmin
    SystemAdmin
    9224 Posts

    Re: Get data from some sites

    ‏2011-11-11T02:25:07Z  
    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.
    Thank you for your help.