Feature #2975
getPurpleLinksInfoExtFull API support for all book types
100%
Description
Currently, there is support for youtube books. going forward, please add support for non-youtube books also. For example, we should be able to support Python library reference.
In youtube books, for any url U, we can have multiple documents with o-url starting with U (U, U&t=ks, U&t=ls etc).
Similarly, in non-youtube books, for any url U, we can have multiple documents with o-url starting with U (U, U#p1, U#p2 etc).
In all cases, we need to get purple links and results for all such documents.
Two changes seem to be required in code:
1. purpleLinkPhrases structure is created only for youtube books during ingestion. please do this for non-youtube books.
2. getPurpleLinksInfoExtFull: instead of looking for U and U&<time>, look for U#<id> also.
Updated by Ram Kordale over 1 year ago
- Subject changed from getPurpleLinksInfoExtFullText API to provide purple links in html part of the document to getPurpleLinksInfoExtFull API support for all book types
- Description updated (diff)
Updated by Venmuhilan B over 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 20
Updated by Venmuhilan B over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Updated by Venmuhilan B over 1 year ago
- Status changed from Resolved to Feedback
- Assignee changed from Venmuhilan B to Ayush Khandelwal
Updated by Ram Kordale over 1 year ago
- Status changed from Feedback to Reopened
- Assignee changed from Ayush Khandelwal to Venmuhilan B
While the o-url stored in our datastore is O, we should handle input that has a string following O. A simplified requirement is:
(1) if site is youtube.com, extract from beginning upto ?v=<videoId>
(2) for other sites, extract (a) url until # excluding # (b) url before '?'; so, this will include upto "#<id>"
Updated by Venmuhilan B over 1 year ago
- Status changed from Resolved to Feedback
- Assignee changed from Venmuhilan B to Ayush Khandelwal
Updated by Ayush Khandelwal over 1 year ago
- Assignee changed from Ayush Khandelwal to Ram Kordale