Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 15 Dec 2019, 02:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
HTML 5 script for murga forum search
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
rockedge


Joined: 11 Apr 2012
Posts: 1365
Location: Connecticut, United States

PostPosted: Fri 22 Mar 2019, 15:34    Post subject:  HTML 5 script for murga forum search
Subject description: custom Google search for Puppy Linux
 

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.
psearch.pet.gz
Description 
gz

 Download 
Filename  psearch.pet.gz 
Filesize  100.55 KB 
Downloaded  274 Time(s) 

Last edited by rockedge on Sat 23 Mar 2019, 17:18; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 1365
Location: Connecticut, United States

PostPosted: Fri 22 Mar 2019, 15:42    Post subject:  

fully responsive page for small screens
Screenshot.png
 Description   
 Filesize   30.51 KB
 Viewed   370 Time(s)

Screenshot.png

Screenshot(1).png
 Description   
 Filesize   15.62 KB
 Viewed   377 Time(s)

Screenshot(1).png

Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Mar 2019, 15:49    Post subject:  

Good work, rockedge!
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
norgo


Joined: 13 Nov 2015
Posts: 354
Location: Germany

PostPosted: Fri 22 Mar 2019, 18:27    Post subject:  

@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
puppy_search.png
 Description   psearch
 Filesize   77.61 KB
 Viewed   368 Time(s)

puppy_search.png

Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 1365
Location: Connecticut, United States

PostPosted: Fri 22 Mar 2019, 20:06    Post subject:  

Quote:
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.

Quote:
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.


__
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2772
Location: UK

PostPosted: Sat 23 Mar 2019, 12:50    Post subject:  

Nice one rockedge, this is great!
_________________
Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1365
Location: Connecticut, United States

PostPosted: Sat 23 Mar 2019, 16:40    Post subject:  

to expand the width of the results open the psearchA.css
change this on or around line 49 ->

Code:
.gs-webResult
{
   width:42em;
   padding:2px 0
 }


to this ->
Code:
.gs-webResult
{
      width:100%;   
      padding:2px 0
 }


This is adjusted in the PET file.

__

Last edited by rockedge on Sat 23 Mar 2019, 17:19; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Burn_IT


Joined: 12 Aug 2006
Posts: 3604
Location: Tamworth UK

PostPosted: Sat 23 Mar 2019, 16:45    Post subject:  

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
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 657
Location: Rakaia

PostPosted: Sat 23 Mar 2019, 16:51    Post subject:  

Noice:)
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 1365
Location: Connecticut, United States

PostPosted: Sat 23 Mar 2019, 17:23    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0510s ][ Queries: 13 (0.0100s) ][ GZIP on ]