Result title not complete

michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Result title not complete

Post by michel.weber »

Hi
In the result list, the title is toften truncated. Is there a way to get at the full title, or at leat to specify the length of the returned title?
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Result title not complete

Post by mark »

It's always limited to 60-70 chars. There's no setting to adjust it.
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Result title not complete

Post by michel.weber »

That's a strange limitation.

I would have thought that this should be done via the XSL stylesheet.

Is there a possibility to get this changed? Perhaps via XML?
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Result title not complete

Post by michel.weber »

I found a work-around :

To get the full title :

- Define an additional field : FullTitle
- Populate it from the <title< tag
- modify the XSL accordingly
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Result title not complete

Post by jgdoke »

Since I am not an XML wizard, How do I implement Michel's fix in the standard xml stylesheet??
thanks
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Result title not complete

Post by jason112 »

Do you already have the additional field populated from the title? You can look at the raw XML search results by adding dropXSL=1 to the search URL.

If so, then just edit the stylesheet, search for "ResultTitle", and change it to "FullTitle".
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Result title not complete

Post by jgdoke »

If I add DropXSL=1 and look at the page I do not see FullTitle anywhere.
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Result title not complete

Post by jgdoke »

I do have the latest scripts, and I took new copy of ExampleXSL to test with.
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Result title not complete

Post by jason112 »

You'll need to define an Additional Field manually with the name "FullTitle", and use "data from field" to populate that with the title from the page. Once that's set up, pages will need to be re-walked to get the FullTitle field populated. Let us know if you need details on setting this up.

You can verify the presence of the FullTitle data in the List/Edit URLs interface for any of the URLs. Once FullTitle is there, we can start looking at the XSL to use it.
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

Result title not complete

Post by jgdoke »

The documentation is not complete on the settings for:
Additional Fields
Name ? fulltitle
Type ? text
Searchable ?
Sortable ?
Output ? Guess I need to set this.

Then "Data From Field" I dont get even with the explaination.
Post Reply