-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensure import routines include glossary #37
Comments
XML will bring in glossary terms if they exist via a641351 Including glossary terms in the cloning operation is being handed off to the PB team. All other import items will bring glossary items if they are represented as html in a page but will not bring in the glossary terms, since they aren't represented anywhere in an epub, docx, or odt file as they are in xml or via the api. Work on using shortcodes to facilitate import has some momentum...pressbooks@330bee8 will discuss with PB team to understand if including @josieg - let's look at this ticket as done for now. Please verify that XML imports do bring in glossary terms. Feel free to verify that other export file import the HTML display of glossary terms, but know that if it's HTML, the answer is likely yes, it works. |
This works. I tested importing via XML, epub, and html files. XML brought in glossary terms. The epub and html brought in the html. A few questions which might not be solvable:
|
Thanks Josie - number 2 is the most relevant. Will look to address that and then provide responses to the others once #2 is complete. |
once PR #47 is merged, it will take care of 2. To address 1 re: glossary terms being imported into a book with glossary terms and their being an ID collision. For xml import anyways, an ID collision will never happen. Similar to how chapters are created on import...it creates a new post for every new glossary term. The act of creating a new post creates a new unique ID, therefore the relationship between the old ID and the new ID is broken. Everything except the id of the old glossary term is carried over is another way of putting it. The above process describes the challenge of number 3. Similar to how images have to be 'scraped and kneaded' during the import process, a similarly aggressive routine might be considered for glossary term reference found as |
@josieg - can be (re)validated |
Looks great! |
With the introduction of a new post type we need to ensure the import routines are capable of bringing over the data.
How do we ensure that a shortcode in the content area in the old book that was referencing a glossary term with id='99 is still referencing a glossary term that exists in the new book?
The text was updated successfully, but these errors were encountered: