Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TRKD /
avatar image
Question by dhruvpatel25811 · Sep 16, 2020 at 12:42 AM · trkd apinews storyresponsetrkd news

How to customise News Story response text(HTML) of TRKD API?

I got a news story using storyid of a news headline. I got the full story from "TE" and I am displaying that story on my WordPress website. But there are multiple HTML tag inside response like <pre>,<origin>,\n. When I rendered the story on a web page, it is not showing properly. The link and images are also not working so I am just wondering is there any easy way to customise this content on a web page.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by wasin.waeosri · Sep 16, 2020 at 03:46 AM

Hello @dhruvpatel25811

The HTML tag inside full story text is part of the news content that published from the data source. The RKD API just provides a full story text "as is" for consumer application. The consumer application needs to manual handle (parse, remove, etc) those HTML tag in the application level.

For more information, please refer to RKD API Retrieve Story API document page.



tags.png (35.7 KiB)
characters.png (21.0 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

News story response contains new line "\n" and white space irregularly. How can I customise it to display the news story in proper formate on the web page?

I need to access country specific news feed on commodities along with their prices. Do i need to create a separate trial account for the direct API or can I access the data through code without any account.

TRKD api: how can I get a chart in Get INTRADAY? I can get the data table in Get intraday but I'm failing to get the chart. I'm using php to extract the data.

TRKD API Throttle limits

Regarding proxy setting in TRKD Knowledge direct API

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges