Nixdoc is gone
#25
RE: Nixdoc is gone
HI Raion,

I may have saved you some money/time on programming effort ;-)

I have been testing with "sh" man page and it is rendering quite nicely with "dummy" URL links (as I have not got driver programming going yet).
This is a good test case, as it long entry and has a lot of links which are presented in different ways.

To get "nice" output I used, pretty standard tools (on FreeBSD):
- ul - underline cleanup
- aha - ANSI HTML Adaptor
- xstlproc - to do a little bit of XML/HTML style sheet cleaning up
- sed - to add HTML links into the page.

The result is a page that renders on par with original SGI Infosearch: https://www.graphica.com.au/sh.ul.aha.xslt.sed.html

I have put code here: https://github.com/zebity/freebsd-doc/tree/main/IRIX

What needs to be done is:
1. Write a driver script that:

Code:
- Looks to see if it has pre-rendered HTML page and
    if so serve it up
  Otherwise
    Find requested page in IRIX cat/man directories
    Run through HTML rendering pipeline
    Save result to cached pages
    Go back to start ...


Now that all the futzing around with the IRIX formating is solved this should be pretty easy.
Would you be able to host pages ?

Cheers from Oz,


John.
(This post was last modified: 09-01-2023, 11:25 PM by jwhat.)
jwhat
Octane/O350/Fuel User

Trade Count: (0)
Posts: 513
Threads: 29
Joined: Jul 2018
Location: Australia
Find Reply
08-26-2023, 05:31 PM


Messages In This Thread
Nixdoc is gone - by Raion - 12-17-2022, 06:30 AM
RE: Nixdoc is gone - by Noguri - 12-17-2022, 01:57 PM
RE: Nixdoc is gone - by jirka - 12-17-2022, 04:38 PM
RE: Nixdoc is gone - by Raion - 12-17-2022, 05:25 PM
RE: Nixdoc is gone - by Raion - 12-17-2022, 07:23 PM
RE: Nixdoc is gone - by Raion - 12-22-2022, 09:31 PM
RE: Nixdoc is gone - by Raion - 12-30-2022, 04:52 AM
RE: Nixdoc is gone - by markh - 12-30-2022, 11:31 PM
RE: Nixdoc is gone - by Raion - 12-31-2022, 03:19 AM
RE: Nixdoc is gone - by vishnu - 12-31-2022, 05:29 PM
RE: Nixdoc is gone - by robespierre - 12-31-2022, 05:50 PM
RE: Nixdoc is gone - by vishnu - 12-31-2022, 06:50 PM
RE: Nixdoc is gone - by robespierre - 12-31-2022, 07:00 PM
RE: Nixdoc is gone - by Raion - 12-31-2022, 07:38 PM
RE: Nixdoc is gone - by vishnu - 01-02-2023, 10:42 PM
RE: Nixdoc is gone - by Raion - 01-03-2023, 03:06 AM
RE: Nixdoc is gone - by markh - 01-09-2023, 10:02 PM
RE: Nixdoc is gone - by Raion - 01-09-2023, 11:46 PM
RE: Nixdoc is gone - by jwhat - 08-22-2023, 08:57 AM
RE: Nixdoc is gone - by jpstewart - 08-23-2023, 12:18 AM
RE: Nixdoc is gone - by Raion - 08-23-2023, 01:00 AM
RE: Nixdoc is gone - by jwhat - 08-23-2023, 09:12 AM
RE: Nixdoc is gone - by Raion - 08-23-2023, 10:22 AM
RE: Nixdoc is gone - by jwhat - 08-23-2023, 10:48 AM
RE: Nixdoc is gone - by jwhat - 08-26-2023, 05:31 PM
RE: Nixdoc is gone - by Raion - 08-26-2023, 06:09 PM
RE: Nixdoc is gone - by Raion - 08-28-2023, 09:05 PM
RE: Nixdoc is gone - by Raion - 08-30-2023, 01:14 AM
RE: Nixdoc is gone - by jwhat - 08-31-2023, 08:17 AM
RE: Nixdoc is gone - by Raion - 08-31-2023, 11:38 AM
RE: Nixdoc is gone - by jpstewart - 08-31-2023, 11:37 PM
RE: Nixdoc is gone - by jwhat - 09-01-2023, 03:33 AM
RE: Nixdoc is gone - by jwhat - 09-07-2023, 05:01 AM
RE: Nixdoc is gone - by jpstewart - 09-08-2023, 12:21 AM
RE: Nixdoc is gone - by jwhat - 09-08-2023, 07:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)