PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

custom meta in result page.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • custom meta in result page.

    I'm at total loss...
    I can't seem to figure out how to get a meta to display in Results page.
    I've added a custom Meta, and gave it a 'title' for the results page.??
    But I never see it!

    (It happens to me Author so I also tried (in indexing options) to check Author.)
    But that has no affect on the result page.

    So what am I missing that a custom Meta won't show in the results page.?

    thanks

  • #2
    See this tutorial to start with.
    Q. How to create a multi-criteria search function with custom meta fields

    Comment


    • #3
      I've read the tutorial 10 times!
      I've added the custom Meta as instructed...

      name="Author" (with partial search) text field

      2 things happen:

      It shows on the query page, but not on results page.
      a.)If I put anything in the query Author field ________ it returns ZERO
      b.)It never shows on results page, neither the
      "show in Search Resuts as" or the value.

      I can see that the tutorial says:
      The search results returned also display the contents of the the meta fields. Each has a "result_metaname_METANAME" and "result_metavalue_METANAME" CSS class name, with METANAME replaced with the meta tag name as previously entered in the Zoom Indexer (eg "result_metavalue_PRICE"). CSS can then be used to change the format of each meta result or hide them, for the demo we have chosen to show only the PRICE meta tag in the search results and hide the rest.

      However I don't see these CSS class names anywhere?

      Comment


      • #4
        What is the URL for your search function so that we can see the problem.

        Comment


        • #5
          Custom meta, not showing in results???

          http://seab.envmed.rochester.edu/jeab/abstractsearch/search.asp

          I know, i know its something really stupid I'm doing.
          So go easy on me. But darned if I can see it??
          thanks
          -g

          Comment


          • #6
            We had a look at your pages. Several things of note.

            1.) This page seems okay:
            http://seab.envmed.rochester.edu/abstracts/JabaAbstracts/02/2-015.Htm

            And indeed, if I index it from here, with a custom meta field specified for "Author", I was able to create an ASP search page and search for "connor" in the Author field without problem.

            I suspect that there's something wrong with your Custom Meta Fields configuration.

            But first, check that you are not indexing from the cache by clicking on "Configure"->"Spider options" and making sure "Reload all files (do not use cache)" is checked.

            Now if that's not it, under "Configure"->"Custom meta fields", click "Edit" and check what you entered in the "Meta name" field of the "Add/Edit Custom Meta Field" window. Make sure the "Meta name" is exactly:

            Author

            Note: No extra spaces or characters before or after the word. If you still can't solve what's wrong, e-mail us your saved (.zcfg) configuration file.

            2.) You have other pages like this one here which is broken HTML:
            http://seab.envmed.rochester.edu/abstracts/JabaAbstracts/01/1-079.htm

            The title tag is invalid, and the meta title tag is worse:

            <HEAD><TITLE><I>Good-bye, teacher...</I>.</TITLE>
            <meta name="Title" content="<I>Good-bye, teacher...</I>.">
            <meta name="Author" content="Keller, F. S. ">
            The <I> and </I> tags I've marked in red are invalid and breaks the HTML. First of all, they achieve nothing (neither do the ones within the <title>...</title> tags). Second, you can't have "<" and ">" characters in the content= attribute of any tag.
            --Ray
            Wrensoft Web Software
            Sydney, Australia
            Zoom Search Engine

            Comment


            • #7
              Custom meta, not showing in results???

              2.) first...
              Yes I'm aware that a couple pages have incorrect title's and other minor probs...
              There are over 10,000 of these abstracts built up over years and years (by many people) We will fix those few silly ones as we find them.

              1.) I have to wonder if this custom meta field is not working for me, because, I'm doing a Local SCAN not a spider crawl.
              It doesnt' say anywhere that you have to spider, and I can't see a reason, why it shouldn't work..

              Is that the problem?

              Comment


              • #8
                No, Offline Mode is not an issue. In fact, just to confirm this, I downloaded the above HTM file from your website and indexed it locally with the same configuration and again, no problems.

                As I said before, e-mail us the necessary files to look at it if you can't find the problem. But look carefully at the things I've addressed first.
                --Ray
                Wrensoft Web Software
                Sydney, Australia
                Zoom Search Engine

                Comment


                • #9
                  custome meta still fails

                  I'm really sorry, I'm missing something.
                  Attached is my .zcfg. (in seperate email to info@)


                  It puts the Author field in the query.
                  But no meta field shows in results, no CSS for it either.

                  AND even worse, if i put something in the Author query field, it seems to ANDed (all search words)
                  Which means I NEVER get any results with something in that field.

                  http://seab.envmed.rochester.edu/jeab/abstractsearch/search.asp

                  Oh and yes I've checked and it says:
                  "Reload all files (do not use cache)" is checked.

                  with

                  Author

                  as the meta name.
                  at this point, im looking forward to knowing what stupid thing I've done.
                  thanks
                  -g

                  Comment

                  Working...
                  X