PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

.desc display output in 2 colors...??

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

  • .desc display output in 2 colors...??

    Hi!

    I have a zip file with settinggs not to decompress it and indes it.

    I created a .desc file

    I configures the ZIP extension to read .desc

    The output is like this:


    1. Seventy Royalty Free Music Loops [Internet Audio]
    If you need free music loops for your site, this file is for you!
    ... If you need free music loops for your site, this file is for you! ..

    First line ok - link in blue
    Second Line In green
    Third Line In Black repeated - same a second line

    I have this in the desc:

    <title>Seventy Royalty Free Music Loops</title>
    <meta name="description" content="If you need free music loops for your site, this file is for you! ">

    Question:

    How can I avoid the line number 3 (repeated from line 2)?

    Or is there any code I could add to have Line number 3 becoming useful like having a long description for example?

    What I am missing here?

    Thanks

    Roger Pilon

  • #2
    The third line is the Context Description. This returns an extract of the text where the searched word was found.

    The second line, is the meta description for the page.

    In this case, since the words you searched for were only found within the meta description, the context shows the same text as the meta description.

    You can disable either the context description from displaying via "Configure"->"Results Layout". You will need to re-index for it to take effect.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Will the rest of the indexing work normally?

      In other words, if I disable the context, will it affects just the result with the .desc file or will it affects the display of everything else (normal PDF)?

      Roger

      Comment


      • #4
        It will affect all files. There's currently no way to change what to display for specific file types.

        I can see it's less than ideal for your situation. But it is rare to index a file without any actual content except for the meta description and title specified in the .desc file. In most cases, some other content is available.

        We'll look into what we can do in V7 to address the issue of context description repeating the meta description.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment

        Working...
        X