What is McJiffy EASy good for?
- Adding a Store to Your Site
- Domain Parking
- Stand Alone Site
What is McJiffy EASy good for?
|
How much does McJiffy EASy Cost?Absolutely nothing. McJiffy is released as an open source project under the LGPL license. |
What if I have questions about McJiffy EASy?The easiest way to get your questions answered is to use the McJiffy Forum. There you can ask question and hopefully get answers. |
NavigationActive forum topicsUser login |
No related searches or similar topics v.1.3
Submitted by rquill on Thu, 07/17/2008 - 22:04.
Hey Matt first of all great script! I love the new features in version 1.3 however I have noticed a bug when using a specific ebay category id. The related searches and similar topics do not show up for my main keywords. If I remove the category id from the default.php file they work fine. Any ideas? I don't know php well enough to debug it myself, but I know it is not related to the keyword text feature as I put that code in the old index.php file and that function works fine. perhaps something with the changes to the keyword caching?? |
If you don't mind, try
If you don't mind, try making a slight change to your code and let's see if this makes any difference.
In index.php, look for line 358:
if (!empty($site['ebaycat'])) {$apicall .= '&CategoryID='.$site['ebaycat'];
}
Change this to:
if (!empty($site['ebaycat'])) {$apicall .= '&CategoryID='.$site['ebaycat'].'&IncludeChildCategories=true';
}
Clear your keyword cache and see if anything changes.
Nope that didn't change
Nope that didn't change anything.
I thought maybe it had to do with the changes in this section:
$dir = ROOT_DIR.'cache/keywords/';
$xmlFile = $dir.urlencode($query);
if (!empty($site['ebaycat'])) {
$xmlFile .= '-'.$site['ebaycat'];
}
$xmlFile .= '.xml';
But replacing that segment with the previous version didn't help either.
It seems to be this section around line 358:
if (!empty($site['ebaycat'])) {
$apicall .= '&CategoryID='.$site['ebaycat'];
}
Removing that segment allowed it to work again.
The cache code you mentioned
The cache code you mentioned doesn't affect anything. That just make a different filename. You are correct that the issue is around line 358. Basically that line tells ebay to only return related keywords for that particular category. As the categories get more focused, the number of related terms decreases. I'm not sure how ebay has setup the related terms, but I guess that they aren't making a list of related keyword searches for each keyword in each category.
I am using the general
I am using the general category 6001 for all of ebay motors so there is definitely plenty of related searches and terms for the main keywords I have selected (ie.. VW bus, porsche 356...) - so perhaps it is a problem with the way the ebay motors returns results because there are plenty of related terms within the whole automotive category. (I know there is a problem with using ebay motors as the "most watched" category in their editor kit)
That's too bad since it would be nice to use that section of code to only gets results from ebay motors categories in the related terms section, rather than titanium golf clubs or neon Wonderbras.
For the most part the related terms I get without that code in it are fine - only a few extraneous terms so I guess I can't complain too much.
Thanks again for a mighty fine script.