Welcome to Squishdot Websites Squishdot How-To Newbies
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Regarding search
How-To Posted by Paul on Thursday January 23, 04:23AM, 2003
from the dept.
Where is the search object present in Squishdot?

When I perform a search over squishdot, the request is submitted to 'search', but I don't find any object with that name. I want to customize my search; need to modify the code for search. But where can I find that? please guide.

<  |  >

 

Related Links
  • Articles on How-To
  • Also by Paul
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Provide a Problem not the solution ;-)
    by Chris Withers on Thursday January 23, 11:23AM, 2003
    'search' is a method of the Squishdot Site object.
    You don't want to be customising that code.

    Tell me what you're trying to achieve and I'll provide you with a solution.

    cheers,

    Chris
    [ Reply to this ]
    • Re: Provide a Problem not the solution ;-)
      by Paul on Thursday January 23, 12:09PM, 2003
      I have squishdot under CMF. I want the CMF's search engine to search for the squishdot postings. Though I have succeded in this, I cannot merge the search results. As of now, I am able to display the results in a single page but as separate groups. Is there any way so that I can throw the search results as a single list with 'next', 'previous' links appropriately?
      [ Reply to this ]
      • :-S
        by Chris Withers on Saturday January 25, 01:26AM, 2003
        Not easily... the problem comes in merging and sorting the two lists of results.

        I'd stick with them in seperate groups if I were you.

        cheers,

        Chris


        [ Reply to this ]
      • Re: Provide a Problem not the solution ;-)
        by Kevin Jardine on Thursday January 30, 10:34PM, 2003
        Squishdot is just an enhanced ZCatalog, so you apply all the ZCatalog functions.

        For example, you can set various ZCatalog search parameters in the REQUEST object, then call searchResults

        Best to do this in Python and then merge your two lists.

        Not difficult if you have some programming experience.

        Kevin Jardine
        Greenpeace International
        [ Reply to this ]
    • Re: Provide a Problem not the solution ;-)
      by Dean on Friday January 24, 09:49PM, 2003
      A recipe for a search box that returns a search on multiple (local) squishdot instances would be very appreciated.

      [ Reply to this ]
      • :-S
        by Chris Withers on Saturday January 25, 01:27AM, 2003
        Also not easy, unless you want one page with a group for each site.

        I'd suggest having only one Squishdot site and using 'subjects' to split the types of posting.

        cheers,

        Chris
        [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.