Page 1 of 1

HTML 5 script for murga forum search

Posted: Fri 22 Mar 2019, 19:34
by rockedge
I have made a PET for a small web capable utility that uses a Google search customized for Puppy Linux, and is helpful to scan this forum.

The PET file contains several files and a directory that will be installed to /root/Web-Server. To use it, open Rox to ~/Web-Server and open psearch.html in a browser. I can click on it and it opens in the default browser. Also possible to start the Hiawatha web server or PPLOG and open a browser and use the URL http://localhost/psearch.html or use your system's IP.

clicking on the Puppy Linux logo will hide it.

Remove the "false" gz extension.

Posted: Fri 22 Mar 2019, 19:42
by rockedge
fully responsive page for small screens

Posted: Fri 22 Mar 2019, 19:49
by musher0
Good work, rockedge!

Posted: Fri 22 Mar 2019, 22:27
by norgo
@rockedge

actually a good idea but I afraid not everybody will like it because usage of javascript.
First test worked for me, but I've to complain the dimension and alignment.
Maybe the Puppy logo a little bit smaller, the search result area in the middle and the text size a bit bigger would be fine.

thanks

Posted: Sat 23 Mar 2019, 00:06
by rockedge
not everybody will like it because usage of javascript.
That is true and of course those who do not want to use javascript do not have to use the script.
Maybe the Puppy logo a little bit smaller
Click on the logo image and it will disappear. That will save space for using it.

Feel free to modify the CSS or html files to improve or customize it.


__

Posted: Sat 23 Mar 2019, 16:50
by sc0ttman
Nice one rockedge, this is great!

Posted: Sat 23 Mar 2019, 20:40
by rockedge
to expand the width of the results open the psearchA.css
change this on or around line 49 ->

Code: Select all

.gs-webResult
{
	width:42em;
	padding:2px 0
 }
to this ->

Code: Select all

.gs-webResult
{
      width:100%;	
      padding:2px 0
 }
This is adjusted in the PET file.

__

Posted: Sat 23 Mar 2019, 20:45
by Burn_IT
What is wrong with the search that has always been at the top of each page??

Posted: Sat 23 Mar 2019, 20:51
by darry19662018
Noice:)

Posted: Sat 23 Mar 2019, 21:23
by rockedge
Hello Burn_IT

I think the search filter on the forum does not work that great. This forum is packed full of good information and ideas and I found the custom Google search does a much better job of looking through old threads.