I am using webinator 4. Some of the results are for pages that have no <title> tag. Is there a way to specifiy a default page title to display in the search results?
Untitled Results
Untitled Results
You must have particularly old scripts. Later version 4 searches display --No Title-- for those. You can modify the search script where it outputs $Title to print something else if it's empty. Or download the last version 4 script from the website.
-
- Posts: 13
- Joined: Mon May 23, 2005 3:27 pm
Untitled Results
Are there instructions (or a link) to how I can modify the scripts?
Untitled Results
Use your favorite editor that can save in the original ascii format of the script file. Vortex (the scripting language) docs are online under tech support. Precise instructions would depend on the exact version of your script. But basically you'll find $Title being output somewhere. Put an <if> around it. Maybe something like
<if $Title eq "">
--No Title--
<else>
$Title
</if>
<if $Title eq "">
--No Title--
<else>
$Title
</if>
-
- Posts: 13
- Joined: Mon May 23, 2005 3:27 pm
Untitled Results
cool, one last question...what is the name of the script that I need to edit? (and where would the location be (on a unix server))
Untitled Results
"search"
The default location would be under the webinator subdirectory of your webserver's document root.
The default location would be under the webinator subdirectory of your webserver's document root.
-
- Posts: 13
- Joined: Mon May 23, 2005 3:27 pm
Untitled Results
EXCELLENT! It worked!
I found this...
<IF $Title eq ""><!-- no page title, give something to click on -->
<$Title="Untitled">
</IF>
I just changed "Untitled" to "Web Article"
Thanks for your help!
I found this...
<IF $Title eq ""><!-- no page title, give something to click on -->
<$Title="Untitled">
</IF>
I just changed "Untitled" to "Web Article"
Thanks for your help!