Frames and

mteelen
Posts: 5
Joined: Wed Jul 28, 2004 1:01 pm

Frames and

Post by mteelen »

We are evaluating the free version (5.05). Our website uses frames and dynamic content.
In the search results I only want links to the complete framed version ex: default.asp?pageid=1&ver=?6

Frame settings:
framepage 1: makes 3 framescolumms
framepage 2: makes 2 frame rows in the 2nd columm of 1
framepage 3: makes 2 frame columms in the 2nd row of 2
framepage 4: makes 2 frame rows in the 2nd columm of 3

webinator links the result now directly to the page within the frame, 100.asp?ver=76

What config settings need to be used to get this working?

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

Frames and

Post by mark »

Webinator does not re-include the other frames when following links from a framed page. It just gets the named page. That page could be a complete new frameset or a plain page intended to stay within the existing frameset or be used by itself. So, the initial frameset will include all the subpages as part of the "page" but links from those pages will only include the content from themselves.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Frames and

Post by John »

Do you have links to every complete framed version? Webinator would need to know what the links are to know how to fetch them. If you do, then you could exclude links to the innerframes. Otherwise you could edit the dowalk script to search and replace on the URLs it finds to generate the ones you want.
John Turnbull
Thunderstone Software
mteelen
Posts: 5
Joined: Wed Jul 28, 2004 1:01 pm

Frames and

Post by mteelen »

John,
editing the dowalk script can be an option since the variables (?pageid=1&ver=?6 etc) are the same. so what I need is webintor to change the pagename into default, like var.asp?xxx --> default.asp?xxx
Will that be possible, any hints?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Frames and

Post by John »

In the <proclinks> function you could replace:

<$olinks=$links><!-- remember original unchanged list -->

with

<sandr "var\.asp" "default.asp" $links>
<$olinks=$ret>
John Turnbull
Thunderstone Software
mteelen
Posts: 5
Joined: Wed Jul 28, 2004 1:01 pm

Frames and

Post by mteelen »

John,
the suggested replacement did not work. When I modify this in the "dowalk" file it excludes the "var.asp" page completely in the search.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Frames and

Post by John »

Maybe I misunderstood, I thought you didn't want the var.asp page in the search as it was a page within the frame, and not the complete frameset.
John Turnbull
Thunderstone Software
mteelen
Posts: 5
Joined: Wed Jul 28, 2004 1:01 pm

Frames and

Post by mteelen »

Would it be possible to replace the "var.asp" and other none default pages with "default.asp" when displaying the results ?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Frames and

Post by John »

Yes, you would need to do the sandr in the search script where it displays the result, e.g. result_title.
John Turnbull
Thunderstone Software
mteelen
Posts: 5
Joined: Wed Jul 28, 2004 1:01 pm

Frames and

Post by mteelen »

if I copy this into search it gives me an error:
/Webinator/search:29: No HTML/text allowed outside functions
Post Reply