Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   HTML export (https://www.kinook.com/Forum/showthread.php?t=5776)

Jon Polish 05-09-2022 09:33 AM

HTML export
 
Hi:

Although I have relied on UR for many years, I never had to export to html until now. The items are hierarchical and contain rich text and several attachments. The output is confusing to me and unexpected. I would expect to see the tree in the left pane and the item's contents in the right. However, I am seeing virtually identical trees (left and right panes). Regardless of what I select, the contents never appears. Nor do the attachment links function for me.

I am sure it is me and as I said I have never used this feature. Am I misunderstanding what it supposed to do? Or, am I doing something wrong?

Thank you for your guidance.

Jon

kinook 05-10-2022 08:28 AM

2 Attachment(s)
I have attached the results of exporting HTML from the Intro.urd sample. I am seeing the tree on the left and content on the right when opening index.html in a browser.

Jon Polish 05-11-2022 01:55 PM

The database I am trying to export (my main database) does not export as expected. I will send a screenshot to the support email address so you can see what I mean. My other, smaller and simpler, databases seem to export correctly. I thought the problem might be related to the multiple tabs I had (locked and hoisted) I have open. I disabled all of them with the same results. I also tried a repair and compress with the same result.

Thank you for your assistance.

Jon

Jon Polish 05-16-2022 01:19 PM

Have you received my email with the screenshot?

Jon

kinook 05-16-2022 03:56 PM

Yes, but it doesn't help much. I replied to your message:

Would you be able to send the info from

https://www.kinook.com/Forum/showthread.php?t=3038

(particularly #4 and #5)

Spliff 05-17-2022 05:45 AM

Since I had similar problems with XML export, which then, with Kyle's kind help, worked brilliantly in the end, you might be interested to try XML export, too (in case after reading that thread), then compare the results and infer possible settings errors from that comparison. (And in the end, the rich text is just tagged plain-text in both exports, so it should all be quite similar.)

Jon Polish 05-17-2022 01:01 PM

OK, it is sent.

Jon

Quote:

Originally Posted by kinook (Post 22710)
Yes, but it doesn't help much. I replied to your message:

Would you be able to send the info from

https://www.kinook.com/Forum/showthread.php?t=3038

(particularly #4 and #5)


Jon Polish 05-17-2022 01:02 PM

Thank you for this. I will take a look, although I need html for online training.

Jon

Quote:

Originally Posted by Spliff (Post 22712)
Since I had similar problems with XML export, which then, with Kyle's kind help, worked brilliantly in the end, you might be interested to try XML export, too (in case after reading that thread), then compare the results and infer possible settings errors from that comparison. (And in the end, the rich text is just tagged plain-text in both exports, so it should all be quite similar.)


kinook 05-17-2022 10:23 PM

The difference is that your tree has a lot of folder items. Since a folder item has no content, it does display the tree on the right. To prevent this, you can enter a single space into the detail area of the folder item, so that it has some (blank) content.

If you click on a non-folder item on the left, its detail/content will be displayed on the right.

Jon Polish 05-18-2022 08:22 AM

Thank you for this explanation. This helps considerably. With databases containing many folders, it may be impractical to add a space in the detail area. Could I accomplish what I want by searching for folders then changing the templates to notes or text en masse without having to add a space to each one?

Jon

kinook 05-18-2022 10:16 AM

It won't help to change the template -- if the item has no content, the result will still be the same.

One thing you could do is, after exporting, in toc.html, replace all occurrences of

href=""

with



so that the items with no content are not clickable links.

We'll consider making this change to the export functionality.

Jon Polish 05-18-2022 10:45 AM

Thank you for investigating.

Jon

kinook 06-11-2022 01:23 PM

This is fixed in the latest download.

Jon Polish 06-13-2022 07:39 AM

Thank you so much. Just an observation if I may. In the forum under version information, the most recent release is 6.2.0.4. Shouldn't this be 6.2.0.5?

Jon

kinook 06-13-2022 09:27 AM

No, the .exe did not change, just the file

Export\HTML\convert.xslt


All times are GMT -5. The time now is 11:04 AM.


Copyright © 1999-2023 Kinook Software, Inc.