Lists of Links, br VS <ul> <li>

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Lists of Links, br VS <ul> <li>

Post by pete.smith »

We have many pages that are merely lists of links, with syntax:

<a><br>
<a><br>

But I am noticing in the list /edit url results for that page, that they are coming in as one SENTENCE rather than individual items.

**
General Info Directions to MathWorks (Natick) Car Database
**

Would authoring these as ul's and li's help? If I search on Car Database that page doesnt show, but if I do (Natick) Car Database it does.

Pete
Th
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Lists of Links, br VS <ul> <li>

Post by mark »

There's not much in the way of formatting on the match info page. Just paragraph breaks on blank lines. Any adjacent lines will be flowed into one paragraph by the browser. To force separation you'd have to change you <br>'s to <p>'s. Or you could edit the search script and put <pre> </pre> around the text. See the <a name=context> function where it prints $Body.

Also, this post is not about installation. I'm moving this thread to the webinator group.
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Lists of Links, br VS <ul> <li>

Post by pete.smith »

Well its not the display on the match info page Im concerned about, I was concerned that it wasnt searching the word "car database", and that it was not being found without the (Natick) part appended to it. I was thinking that the script was thinking that it doesnt view each separate link as an independent search term, instead of a paragraph or sentence.

Pete
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Lists of Links, br VS <ul> <li>

Post by mark »

I thought that was an aside, not the main problem.

What you see in the Body under list/edit urls is what's searched. How it got there is not relevant.

Do you not see that page because there are many more before it? Or does it just not come up in the results at all? In the default mode of ranked search the best match es will be first. The page you're looking for may not be the best match. Adding the more specific term improves it's rank.
Post Reply