![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
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 |
![]() Angelique67
|
#2
|
|||
|
|||
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
|
||||
|
||||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
||||
|
||||
It seems to work on my site.
The main difference is that I have set $pod_usequery=0 |
#7
|
|||
|
|||
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
|
||||
|
||||
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"; |
![]() dillpickle1983
|
#9
|
|||
|
|||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
|||
|
|||
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 |
|
![]() |
||||
Thread | Forum | |||
Job Search! | Other Mental Health Discussion | |||
Should there be a age restriction | Other Mental Health Discussion | |||
Did a search but..... | Community Feedback & Technical Support | |||
Search criteria | Community Feedback & Technical Support | |||
POD Search | Community Feedback & Technical Support |