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 Thu 18 Dec 2014, 05:39
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 Posts_count  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
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_website 
01micko


Joined: 11 Oct 2008
Posts: 7841
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  313 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4423

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

Edited_time_total
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
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_website 
technosaurus


Joined: 18 May 2008
Posts: 4423

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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