hldig icon indicating copy to clipboard operation
hldig copied to clipboard

modernizing html code output by hlsearch

Open andy5995 opened this issue 6 years ago • 4 comments

Coming up soon on the TODO list is modernizing the html code output by htsearch.

Some of that output can be seen by doing a search at http://htdig.dreamhosters.com/

So far I'm heavily leaning toward using @dafky2000's simplectemplate. I think it would be the perfect library for this task.

andy5995 avatar Nov 16 '17 00:11 andy5995

@AlexChristoforides , do you also like to work with HTML and CSS?

andy5995 avatar Nov 18 '17 21:11 andy5995

Looks like htsearch is using templates in the installdir directory. I haven't figured out yet how the templating system works. I'd like to understand it better so that we don't leave behind any unnecessary code when we switch to a different template method.

If it's clear to anyone, feel free to take this ticket.

andy5995 avatar Nov 23 '17 01:11 andy5995

Now that the guts of the new web site are in place (#55), we have a site generator that can be modified a little to make some new pages for the hlsearch results pages. Once I convert the existing pages, they'll be ready for a new design.

Here's an example of what they look now:

screenshot_2017-12-28_22-45-41

andy5995 avatar Dec 29 '17 04:12 andy5995

A recent screenshot when testing locally

image

The html for that is in https://github.com/solbu/hldig/tree/master/installdir

and the css: https://github.com/solbu/hldig/tree/master/docs/assets/css

andy5995 avatar Aug 31 '18 15:08 andy5995