ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Searching in weblogs on different sites

August 25, 2008 4:48am

Subscribe [3]
  • #1 / Aug 25, 2008 4:48am

    ayza

    71 posts

    Hi,

    I’m using the MSM. I’m moving the content of my main site (Site#1) to a new domain where I already have had a blog up and running for a year (Site#2). I’ve now combined them for the most part.

    I’ve understood that I can’t move the weblog of Site#1 to Site#2 without a lot of database hacking. I can live with writing the my entries at the CP of Site#1.

    My problem however is that it doesn’t seem like Search is working and able to search other sites in the MSM than on the current domain (Site#2). I have a lot of inbound links to the content of Site#1 and while I won’t remap them, I at least want visitors to be able to search for the content and have it displayed on Site #2.

    I have a simple search form in the sidebar of the site, with this code:

    {exp:search:simple_form  site="lidne|disruptive" weblog="disruptive|disruptive_blogg|bdblog|employees" result_page="search/results" no_result_page="search/noresults" search_in="everywhere" results="20"}
    <fieldset class="search">
    <input type="text" name="keywords" class="input" />
    <input type="image" src="http://www.lidne.com/images/dm/search.gif" alt="search" class="submit" />
    </fieldset>
    {/exp:search:simple_form}

    I’ve used standard code on the result page. That shouldn’t need any information about which sites and what weblogs to display, should it?

    Also, where can allow more searches in a shorter time? Now I get an error page informing me I can only search once every 30 seconds. Where can I change that?

    Best,

    Ayza

  • #2 / Aug 25, 2008 10:21am

    Robin Sowell

    13255 posts

    Currently, the search tag isn’t included in the tags that accept the site parameter, so cross-site searching isn’t possible.  I know there’s a feature request for it, and that may be the best way to approach it for now.  It’s not something that you can easily tweak yourself.  (Though there’s a post about it- and if it’s mission critical, let me know and I’ll search it out.)

    As to the throttle time- it’s set on a member group basis- so edit your member groups (including guest- which is for logged out folks)- for each group, you’ll spot a setting in ‘search preferences’.

  • #3 / Aug 25, 2008 4:32pm

    ayza

    71 posts

    Oh shit!

    I was under the impression when I bought and installed the MSM that you could access weblogs cross-site in all manner of ways, otherwise I would definitely have stayed with my old set up with different template groups for different domains.

    For me this is utterly mission critical. I have 4 years of business blogging which now only is viewable if you click on the right category. I’m already behind time schedule as the old site should have been shut down last week but I can’t do that without being able to transfer people who google for different stuff. And I’m risking to be banned by Google for every day I’m double publishing the same entries on two different sites, desite on a no follow on the new one (since all the inbound links are to the old one).

    And I’m supposed to do an email campaign this week for an event that will point to the new site. And when people search they hardly find anything… Catastrophy!’

    Is there anything that can be done to fix this? Is there somekind of query that can go around this? Can I buy a fourth licence for the MSM, transfer the weblogs from Site#1 and the weblogs and templates from Site#2 to a new domain and then change the domain settings from Site#2 to a Site#4 (yeah, horrible and I’ll only use two MSM sites but I’m panicking here!)?

    I don’t know if I have the time to research and negotioate with, or can afford someone from the Pro network to transfer the critical weblog from Site#1 to Site#2.

    I’m beginning to feel completely stressed out.

    / Ayxa

  • #4 / Aug 25, 2008 7:19pm

    Sue Crocker

    26054 posts

    ayza

    I’ve understood that I can’t move the weblog of Site#1 to Site#2 without a lot of database hacking. I can live with writing the my entries at the CP of Site#1.

    How many items are we talking about?

  • #5 / Aug 25, 2008 7:41pm

    ayza

    71 posts

    Hi Sue,

    roughly 600 posts.

    / Ayza

  • #6 / Aug 25, 2008 7:49pm

    Sue Crocker

    26054 posts

    It would be faster to look at your existing tables to see what sot of work it would take to move weblog#1 from site_1 to site_2.

    Would you mind sending me a copy and refer to this thread? Just click MSG below my avatar.

    It also depends on if you have additional fields, comments, categories, etc.

  • #7 / Oct 22, 2008 3:00am

    Corey Snipes

    34 posts

    We needed to allow cross-site searching in a multisite application, so I created a plugin for it.  It’s completely free, and we’d appreciate any feedback you have via email or forum post.  Here’s the plugin:
    http://www.twomile.com/services/add-on/expression-engine-multi-site-search-helper

    Here’s the announcement in the EE forums:

    http://ellislab.com/forums/viewthread/94549/

  • #8 / Oct 22, 2008 12:33pm

    Robin Sowell

    13255 posts

    Nice one, Corey.  I haven’t had a chance to check it out, but look forward to doing so.  ayza, is that going to be an option for you- or are you still stuck w/an approach?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases