Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
oakview_60
Joined: Jan 29, 2005
# Posts: 2
|
Posted: 2006-Nov-29 20:24
We have 40,000 books on our web site. Working with our host's tools, we currently predetermine a catalog a book will appear in. That field is part of the required fields uploaded. But as a consequence Each item can ONLY GO IN ONE CATALOG. So a book titled ABE LINCOLN OUR PRESIDENT DURING THE CIVIL WAR can only be in our Abraham Lincoln catalog, our U.S. Presidents catalog or our American Civil War catalog BUT NOT ALL THREE.
Because we list at other book selling sites that create catalogs in the same way, creating that field has not been a problem.
But I recently realized that I don’t have to use their template and can have catalogs with preset titles (like Abe Lincoln) whose content would be created at the time of the search. To achieve that goal, I created some kw fields for book entrees and a hidden comment tag made up of those kw fields - where kw appears at the head of each keywork or phrase (to distingush them from KEYWORDS which appears to the viewer on our site..
now I want to expand the catalogs at our site. I realized that we could create catalogs dynamically by putting key words in a hidden comment tag and then create a search link - so on a simple level, if a person goes to browse our catalogs and links to Abe Lincoln, the link would actually search for every book that has abe lincoln in the comment tag and list them all as the catalog.
If a book is about the American Civil War, then we put American History and Civil War into the hidden search fields each with kw in front of them. The hidden tag would look like:
<!--kwAmerican History, kwCivil War, kw, kw-->
SO WHEN A SEARCH FOR CIVIL WAR under American history is clicked, the result will not include a book with the code:
<!--kwChina, kwcivil war, 1934, kw, kw-->
to show up.
THE PERSON BROWSING WILL ONLY SEE "CIVIL WAR" in the catalog under American history. The link code would be:
.........com/shop/?keywords=kwAmerican History+kwCivil War&match_criteria=all
I'm looking at art right now and I think that catalogs like
design would need kwart+kwdesign
fantasy would be kwart+kwfantasy
But the results are mixed. It seems like the search goes outside the comment tag. Should I be leaving no spaces between kws or use a hyphen of am I totally missing something here and there is an easier way.
BTW - you can do a keyword search on our site where the search searches for all matches. But this doesn’t work for catalogs because - say we had a book called, I HAD A CAT I NAMED ABE LINCOLN, we wouldn’t want that book to come up in any of the 3 example catalogs above. so while a keyword search might be okay for what it is, it isn’t tight enough to create good catalogs.
Obviously I’d be thrilled if anyone can help me.
[ Message was edited by: bhartzer 11/29/2006 01:48 pm ]
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1795
|
Posted: 2006-Dec-01 09:41
Welcome aboard oakview_60.
It all depends on the PHP search script. Generally, a "normal" search will parse all the contents of the page. So it would read your comments as well as the rest of the content. Some advanced search scripts will have some kind of weighting factor thrown in. Any phrase appearing between bold tags will have a higher 'weight' than others, which in this case can't be used. So try adding more density to the phrase by repeating them.
Strictly speaking this would be frowned upon by search engines as an attempt to spam them. But unless you are prepared to modify the search script,(which is probably a better alternative) you will have to try some combinations and see which works for you.
|
 |
oakview_60
Joined: Jan 29, 2005
# Posts: 2
|
Posted: 2006-Dec-01 15:54
Thanks for replying. I'm not married to the search script. I am still working on keywords and have been moving too slowly because I wasn't certain I understood what I was doing and as a consequence would get bad results.
Are you talking about having a more rstrictive kw in the comment field? Like an underscore: art_ancient_history; or no spaces: artancienthistory
I will google "search scripts" and see if I can learn more about them - I never thought about changing that.
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1795
|
Posted: 2006-Dec-05 06:35
'Search' is a serious business. Googling about search scripts will indicate that there are thousands of search scripts out there, written in all server side languages. You will be better off with a dedicated programmer to handle the search functionality.
>>Are you talking about having a more rstrictive kw in the comment field? Like an underscore: art_ancient_history; or no spaces: artancienthistory
keywords with no spaces would not serve the purpose here as the script will parse the phrase as-is which means no one will look for "artancienthistory" and hence will never return the page in which this is embedded.
You might have to use either space separated keywords or hyphen separated phrases.
Try out in one page and verify the results as you go along. In case the results are not what you expected, you can roll back easily if you modify one page alone.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|