HTML 5 script for murga forum search

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

HTML 5 script for murga forum search

#1 Post 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.
Attachments
psearch.pet.gz
(100.55 KiB) Downloaded 566 times
Last edited by rockedge on Sat 23 Mar 2019, 21:18, edited 1 time in total.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post by rockedge »

fully responsive page for small screens
Attachments
Screenshot.png
(30.51 KiB) Downloaded 819 times
Screenshot(1).png
(15.62 KiB) Downloaded 795 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Good work, rockedge!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

#4 Post 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
Attachments
puppy_search.png
psearch
(77.61 KiB) Downloaded 830 times

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#5 Post 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.


__

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#6 Post by sc0ttman »

Nice one rockedge, this is great!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#7 Post 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.

__
Last edited by rockedge on Sat 23 Mar 2019, 21:19, edited 2 times in total.

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#8 Post by Burn_IT »

What is wrong with the search that has always been at the top of each page??
"Just think of it as leaving early to avoid the rush" - T Pratchett

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#9 Post by darry19662018 »

Noice:)
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#10 Post 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.

Post Reply