What is the order of getting news content?

Options

What is the order of getting news? First get the HeadLine list according to the interface (RetrieveHeadlineML_1), and then call the (RetrieveStoryML_1) interface to get the content information according to the returned id.

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    Yes, you are correct.

    First, the application uses the RetrieveHeadlineML_1 request to retrieve headlines for stories that match specific requirements. RetrieveHeadlineML_1 supports sophisticated search filters (e.g. keywords, companies, products, story time, news provider, and language). In the response, you will get the headlines and StoryIDs.

    Next, the application uses StoryIDs with the RetrieveStoryML_1 request to get stories.The StoryID is a NewsML URN, of the form urn:newsml:[providerid]:[date]:[doc id], e.g., "urn:newsml:reuters.com:20001106:nJIJ6SS016“.

Answers