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 Wed 20 Aug 2014, 20:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Puppy Search
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 07 Nov 2009, 00:33    Post subject:  Puppy Search  



Simple Search facility for Puppy Info if anyone 'pets the script'
let us know . . . Smile
http://www.murga-linux.com/puppy/viewtopic.php?p=359019#359019

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sat 07 Nov 2009, 01:01    Post subject:  

Here you go Lobster..

Handy little tool.

I packaged with a menu item and icon (stock of course) and it resides in /root/my-applications/bin, even gave it a version number (good practise) ... is there a reason no body puts stuff there? It is in the executable path, I think it's ideal for simple one script apps such as this.

Cheers
Puppysearch-0.01.pet
Description 
pet

 Download 
Filename  Puppysearch-0.01.pet 
Filesize  1.34 KB 
Downloaded  294 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4334

PostPosted: Sat 07 Nov 2009, 01:08    Post subject:  

Code:
defaultbrowser http://www.google.com/search?q=SEARCH_STRING_GOES_HERE+site:WEBSITE_GOES_HERE

SEARCH_STRING_GOES_HERE (what you want to search for)
WEBSITE_GOES_HERE (for example murga-linux.com, but using puppylinux.* will search puppylinux.com, puppylinux.ca, puppylinux.asia... .net, .tv...)

compare this to the wellminded search

amazing what you would be able to get from 2 simple edit boxes
(or a list)

Add this for I'm Feeling Lucky (takes you to the first page)
Code:
&btnI=I%27m+Feeling+Lucky


- this feature used to be good until google started basing ranking on things other than relevance but still ok for finding most open source stuff)

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Sat 07 Nov 2009, 01:22; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 07 Nov 2009, 01:14    Post subject:  

Many thanks Smile
/root/my-applications/bin
may be a newer location for our veterans - it is the ideal place
Yep the code is very simple technosaurus, so makes a good template
- in fact I just modified the 'Growl' security program Smile
http://www.murga-linux.com/puppy/viewtopic.php?p=335216&search_id=1591648845#335216

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4334

PostPosted: Sat 07 Nov 2009, 01:26    Post subject:  

I wasn't expecting such a quick response I edited my post to add the "I'm Feeling Lucky" string
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0543s ][ Queries: 13 (0.0091s) ][ GZIP on ]