Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Oct 04, 2001, 08:40 PM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Hi All:

I guess that I am seeing the same problem as some of you. POD won't restrict searches to a category. I did the 'change 0 to 1' thing. That restricted the search to the top category. Also it sent the entire sub-category string into the 'Find Books On...' field of the Maxcomm script (very long). Great script though. Is there a fix on the horizon to restrict to categories? Anyone? Anyone at all? Feel free to step up and be heard. I don't bite (I just nibble a little).

Bye All.

__________________
Trust your ad to See My Ad.Com - www.seemyad.com
Thanks for this!
Angelique67

advertisement
  #2  
Old Oct 19, 2001, 05:32 AM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Hi Again:

Anyone find the solution to the POD 'search this category only' problem? I notice people attempting to search the same term 3 or 4 times consecutively. This leaves the impression that they are trying to utilize the category only search function. I'd imagine it would only boost traffic if the feature worked. I am in a UNIX enviornment.

Thanks to BerKa, I am now able to utilize the log more effectively. Thanks to John as well.

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
  #3  
Old Oct 19, 2001, 08:00 PM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
hey freddy,

nice site. did you fix this problem since you posted? i had no problems searching within a category and the entire directory. i compared it with dmoz.org and they seem to be doing the same things. could you give an example of what you mean? thanks.

splash

  #4  
Old Oct 19, 2001, 09:26 PM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Hi Splash:

Thank you for the compliment on the site. The problem is as follows...

If you go to a subcategory, lets choose 'Education', and search 'employment' and choose to search 'only in Reference/Education' the results on my site will be for the entire directory. The results on Dmoz site will say "Restricting Search to Category: Reference/Education" and only search for employment inside the Education subdirectory, not the entire directory. I just tried it again in hopes that some miracle happened but alas, twas but a fruitless glimmer of hope...

If you or anyone has any suggestions I'm all ears. I picked up from several posts back that this problem only occurred in the 1.7 or later versions. Thanks.

freddy

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
  #5  
Old Nov 01, 2001, 01:32 AM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
I know that with all of the brain matter floating around this forum, somebody can make the 'Category Search Restriction' work.

If you need a Boeing 777, 767, or 757 avionics system modified or repaired, I'm your man. If you need an airport Radar or ILS system modified or repaired, I'm still your man. However, when it comes to CGI Perl, I can only follow directions.

John and BerKa are the man!

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
  #6  
Old Nov 06, 2001, 12:40 PM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
It seems to work on my site.
The main difference is that I have set $pod_usequery=0

  #7  
Old Nov 07, 2001, 07:19 AM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Thank you for the tip BerKa.

I tried setting $pod_usequery=0

The results would restrict to the Top Directory -aka- if you try to 'Search only in Travel' it would restrict to 'Recreation' the uppermost heading of the directory.

Also, the Maxcomm script would display the entire string -aka- 'Find Books on: http://www.seemyad.com/cgi-bin/find.cgi?dir=/Recreation/Travel/' This prevented the link from finding anything. However, when I turned it back to $pod_usequery=1 the Maxcomm script would display the word 'Travel' in the above mentioned scenario allowing the link to perform properly.

I'm starting to think that it may have something to do with the way I addressed the $pod_fullpath="/cgi-bin/xxxx hmmmm. Could that have something to do with my problem? I also have $pod_urlpath="/cgi-bin/xxxx Do you have a recommendation on how to address these two lines BerKa or anyone else? Perhaps if I addressed them differently AND turned to $pod_usequery=0, it just may work... Open to suggestions.

freddy

Thanks for your help...

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
  #8  
Old Nov 07, 2001, 12:24 PM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
Thanks! Your comment made me find and repair another bug.
I will try to get some time to post the patch this weekend.

My paths in podvars:
$pod_urlpath="/";
$pod_fullpath="$pod_urlpath$pod_progname";




Thanks for this!
dillpickle1983
  #9  
Old Nov 10, 2001, 05:40 PM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
I tried different combinations and variations of

$pod_fullpath="/cgi-bin/xxxx AND $pod_usequery=0

No change in search restrictions. Still restricts to uppermost subdirectory when usequery=1 . Also usequery=1 still produces search string in the Maxcomm 'Find Books On' link.

Face it. The script hates me (LOL). Just kidding. I'm happy to have it working period. That being said, if anyone finds a solution let me know. Thanks everyone.

freddy

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
  #10  
Old Nov 10, 2001, 11:08 PM
Gordon's Avatar
Gordon Gordon is offline
Junior Member
 
Member Since: Nov 2001
Location: Canada
Posts: 13
I spent a while trying all combinations and had no success.

Would it be possible for you to explain it a tiny bit clearer for us please BeRKA?
Thanks in advance.

  #11  
Old Nov 11, 2001, 09:15 AM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
To use $pod_usequery=0 without getting the searchstring for the amazon searches,
change the lines in pod.cgi that prints this and before that, remove the rubbish from
the searchstring. See it working at www.berka.com

# remove rubbish
@split_top = split(/\&/, $pod_topic);
$pod_topic_top = $split_top[0];

# in call to maxcomm, use $pod_topic_top (don't put this line in script!)
<a href="$pod_maxcomm?keyword=$pod_topic_top&whichamazon=$pod_whichamazon&tag=$pod_amazon_ID">
<b>$pod_topic_top</b></a></b> at $pod_bookstorename.


  #12  
Old Nov 11, 2001, 04:37 PM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Sure Gordon:

I tried

$pod_urlpath="/cgi-bin/"
$pod_fullpath="/cgi-bin/pod.cgi"
$pod_usequery=1 AND $pod_usequery=0

$pod_urlpath="/cgi-bin/"
$pod_fullpath="/usr/www/seemyad/cgi-bin/pod.cgi"
$pod_usequery=1 AND $pod_usequery=0

$pod_urlpath="/cgi-bin/pod.cgi"
$pod_fullpath="$pod_urlpath$pod_progname"
$pod_usequery=1 AND $pod_usequery=0

$pod_urlpath="/cgi-bin/"
$pod_fullpath="$pod_urlpath$pod_progname"
$pod_usequery=1 AND $pod_usequery=0

$pod_urlpath="/cgi-bin/"
$pod_fullpath="$ENV{'pod.cgi'}"
$pod_usequery=1 AND $pod_usequery=0

I think that was it. The ones that worked, worked the same. I don't think that $pod_fullpath="$ENV{'pod.cgi'}" worked at all.

BerKa's fix to the Maxcomm script will allow me to at least restrict searches to the main categories. I would have set the "1" to "0" sooner if not for the Maxcomm link output. It was a toss up between 'partial search restriction' OR 'Maxcomm dynamic hard link'. I opted for the Maxcomm link. Now I have the option for both. Only one thing. I'll have to change all static page links from /pod.cgi?dir=/ TO /pod.cgi/ in order to accomodate the pod_usequery=0

Great work as always BerKa

Let me know if you spot anything if you would Gordon. Thanks.

freddy

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com
Reply
Views: 965

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Job Search! Raynaadi Other Mental Health Discussion 14 Sep 16, 2007 02:09 PM
Should there be a age restriction Miss_A Other Mental Health Discussion 81 Jun 18, 2005 11:30 PM
Did a search but..... angel04 Community Feedback & Technical Support 2 Nov 16, 2004 11:21 PM
Search criteria LMo Community Feedback & Technical Support 1 Nov 09, 2004 01:50 PM
POD Search mkiwi Community Feedback & Technical Support 0 Mar 14, 2003 06:53 PM


All times are GMT -5. The time now is 09:42 AM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.