Modified Date for "ThunderstoneLinks" XML result entries

andrea.schneider
Posts: 21
Joined: Fri Dec 04, 2009 8:38 am

Modified Date for "ThunderstoneLinks" XML result entries

Post by andrea.schneider »

We are using the option dropXSL=yes.
How can I get out of the XML the modified date for results which are delivered as <ThunderstoneLinks>?
The <Modified> tag is empty for such results if I'm getting <ThunderstoneResults> the <Modified> tag has the last modified date of the page.

Thanks for your help
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by jason112 »

Note to readers: This question addresses a pre-release version of Webinator that has XML output, which the current Webinator release doesn't have.

It looks like this was an oversight for the <ThunderstoneLinks> output, missed because the default UI for it doesn't use that fields (and a few others). This will be fixed in the next release, and as a Webinator user you can edit the script to add it in easily. If you open the search script and look for "find all urls", you should find some lines like this:


<!-- find all urls with a parent of the selected url -->
<$selFldsSql = "html.Url Url, Depth, Title, Body, Size,
refs.Url Parent, html.id id">

Add ", Modified, Visited, Charset" to the end of that list to get the missing fields, so it looks like this:


<!-- find all urls with a parent of the selected url -->
<$selFldsSql = "html.Url Url, Depth, Title, Body, Size,
refs.Url Parent, html.id id, Modified, Visited, Charset">

and you should be good to go.
andrea.schneider
Posts: 21
Joined: Fri Dec 04, 2009 8:38 am

Modified Date for "ThunderstoneLinks" XML result entries

Post by andrea.schneider »

Hi Jason
It works perfectly, thanks.
But your statement that the current Webinator release doesn't support XML anymore scared me. I'm right now doing rewrites of all our search sites to XML/XSL, I'm using the search script version
5.1.87.
$Id: search4.src,v 2.685 2010/02/05 20:01:58 kai Exp $

Which Webinator version are you talking about?
Is it really the truth you won't support XML output anymore?

thanks...
andrea.schneider
Posts: 21
Joined: Fri Dec 04, 2009 8:38 am

Modified Date for "ThunderstoneLinks" XML result entries

Post by andrea.schneider »

Hi Jason
It works perfectly, thanks.
But your statement that the current Webinator release doesn't support XML anymore scared me. I'm right now doing rewrites of all our search sites to XML/XSL, I'm using the search script version
5.1.87.
$Id: search4.src,v 2.685 2010/02/05 20:01:58 kai Exp $

Which Webinator version are you talking about?
Is it really the truth you won't support XML output anymore?

thanks...
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by jason112 »

Nothing to worry about! XML isn't being removed from stock Webinator, it's not there yet.

"current" refers to stuff behind you, not ahead of you. A normal Webinator 5 right now doesn't have XML support. Your Webinator installation has some features that will be part of Webinator 6 when it's released, for now you're a special Webinator 5 + XML & some other things.

Didn't mean to scare!
andrea.schneider
Posts: 21
Joined: Fri Dec 04, 2009 8:38 am

Modified Date for "ThunderstoneLinks" XML result entries

Post by andrea.schneider »

Hi Jason
Thanks for this!
We were already thinking we have to look for another search engine supplier....

Have a nice day...
Andrea
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by michel.weber »

Hi

We are also using the 'special' version of Webinator V5.1.88 acually.

We are very keen on getting the XML/XSL support up and running so we can get rid of our old appliance, but with webinator V5.1.88 we get an empty page when we try to use it (we got it to work on the pre-release version).

Starting from which version is the XML/XSL support supposed to work
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by jason112 »

> with webinator V5.1.88 we get an empty page
> when we try to use it

At that empty page, if you do a View->Source, do you see HTML source listed?

If so, that's a problem with the XSL transformation, where it isn't respecting the HTML rules for <script src="foo.js"></script> tags. It would collapse them down to <script src="foo.js"/>, which causes browsers to stop rendering the page there.

As a temporary workaround, if you open your XSL file, and replace any script calls like this:

<script src="myjavscript.js"></script>

and add a space in, like this:

<script src="myjavscript.js"> </script>

That should allow the pages to display until there's a binary update that fixes the <script> issue.
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by michel.weber »

Hi

No when i do a view source in firefox, i don't get anything.

I tested with the the default.xsl V 1.26

NB.: The test was under Windows.
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Modified Date for "ThunderstoneLinks" XML result entries

Post by jason112 »

> No when i do a view source in firefox, i don't get
> anything.

Ok, if you set "dropXSL=no" in the query (replacing it if it already exists), what shows for the page? What shows when you view source?
Post Reply