Hi. We are using an XHTML parser and need to pass the results of each search as a parameter to program. Here's an example of what I mean:
The Zoom Search returns this link:
URL: http://www.MyWebSite.com/About_Us/000_About_Us.xhtml
But clicking on that link returns a Page Not Found message.
To make it work correctly, we need to reformat all pages that contain the string ".xhtml" as follows:
http://www.MyWebSite.com/showcontent.aspx?content=~/About_Us/000_About_Us.xhtml
That is, I need to pass the path & page from the search results (/About_Us/000_About_Us.xhtml) as a parameter to another page
(http://www.MyWebSite.com/showcontent.aspx?content=~)
I did a *little* messing around with the generated asp code, but it isn't obvious to me which variable contains the "page found." And even if I do figure out which one it is, I'll have to manually edit the search.asp page each time the site is reindexed!
It's pretty clear to me given how cool and flexible Zoom Search is that there *must* be a better way. I just haven't stumbled across it yet.
Can you give me a clue?
Thanks for your help!
The Zoom Search returns this link:
URL: http://www.MyWebSite.com/About_Us/000_About_Us.xhtml
But clicking on that link returns a Page Not Found message.
To make it work correctly, we need to reformat all pages that contain the string ".xhtml" as follows:
http://www.MyWebSite.com/showcontent.aspx?content=~/About_Us/000_About_Us.xhtml
That is, I need to pass the path & page from the search results (/About_Us/000_About_Us.xhtml) as a parameter to another page
(http://www.MyWebSite.com/showcontent.aspx?content=~)
I did a *little* messing around with the generated asp code, but it isn't obvious to me which variable contains the "page found." And even if I do figure out which one it is, I'll have to manually edit the search.asp page each time the site is reindexed!
It's pretty clear to me given how cool and flexible Zoom Search is that there *must* be a better way. I just haven't stumbled across it yet.
Can you give me a clue?
Thanks for your help!
Comment