The story id and RIC links in the RKD news story, how to identify and properly display?
Taking this news story nL6S37E0ES as example, the RKD TOP NEWS & BREAKINGVIEWS > GET NEWS STORY will give the html result:
……
"HtmlContent": "<html xmlns=\http://www.w3.org/1999/xhtml\><head><title>美国股市:创近两周最大百分比涨幅,因债务上限磋商进展和地区银行股飙升</title></head><body>……
提高联邦政府31.4万亿美元的举债上限,以避免出现将给经济造成灾难性影响的债务违约。<span id=\"x1\">nL6S37E0E4</span></p><p><br /></p><p>美国财政部表示,如果不能在6月1日之前达成协议,可能会耗尽资金,无法支付政府账单,从而或将引发经济衰退。</p><p><br /></p><p>地区性银行股上涨提振了市场情绪。Western Alliance Bancorp<span id=\"x3\">WAL.N</span>领涨,涨幅为10.19%。一天前该行表示,在截至5月12日的季度,存款增长超过20亿美元。</p><p><br /></p><p>KBW地区性银行指数<span id=\"x4\">.KRX</span>急升7.28%,录得2021年1月6日以来的最大单日百分比涨幅,且创下5月1日以来最高收盘水平。标普500银行股指数跃升4.46%,录得11月10日以来最大单日百分比涨幅。</p><p><br /></p><p>Cherry Lane Investments合伙人Rick Meckler表示:“这是债务上限方面的乐观情绪。这是对银行业危机已经过去的持续乐观情绪。没出现新问题的每一天,我们都可能越接近将这些事情抛在脑后。“</p><p><br /></p><p>“毫无疑问,催化剂是当拜登和麦卡锡都说已经接近时,我们假设他们可能会达成某种协议。”</p><p><br /></p><p>道琼斯工业指数<span id=\"x5\">.DJI</span>上涨408.63点,或1.24%,至33,420.77点。标普500指数<span id=\"x6\">.SPX</span>上涨48.87点,或1.19%,至4,158.77点。纳斯达克指数<span id=\"x7\">.IXIC</span>上涨157.51点,或1.28%,至12,500.57点。……
The application would like to properly display those links highlighted in the example above. Some of them are for RICs, and the others are story ids. In a programmatic approach, the application need a logic to identify them and replace with “real” link urls. Please help advise how to work on this. Thanks.
Best Answer
-
Hi @Frederic
I'm afraid that the story text does not contain any additional tags that can help you to differentiate between RIC codes and story ids. I would suggest one thing: all the references are put between the <span id> tags. Please note, that there is no single RIC code starting from "n", so you can assume that this is a reference to a story ID where all the others will be RIC codes. I hope that it helps.0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛