Project

General

Profile

Task #2583

Feature #2560: Enable link update of a "link updated" book

Update data-source attribute during overwrite ingestion.

Added by Ayush Khandelwal over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Urgent
Target version:
Start date:
08/08/2022
Due date:
08/09/2022
% Done:

100%

Estimated time:
2.00 h

Description

Update source-url attribute and lurl from the newDoc during overwrite (preserve old-internal-link during overwrite).
- If(old-document having internal links):
    - Map<Data-source,Internal-links> map = fetch all internal links.

- for(new-o-url : new-ourl-document-links):
    - if(map.contains(new-o-url)):
        - replace o-url with l-url and also add the data-source.
    - else:
        - do link update for the new-o-url

Also available in: Atom PDF