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.