Multiple Keyword Search/preview/database dump

15 posts by 4 authors in: Forums > CMS Builder
Last Post: October 19, 2009   (RSS)

By (Deleted User) - October 7, 2009

Hi,

I am the web designer for Hampton Homes RE. Can someone tell me how to get a multiple keyword search in the menu bar of the listing page? I can get a single keyword search but not multiples even when I put field names followed by commas in section editors>listings>ListPage Fleids.

Also what does the preview button supposed to preview?

Lastly can you tell me where to get database dump- xml feed from?

Any help well appreciated!!!

Respectfully, Randy

Re: [chris] Multiple Keyword Search/preview/database dump

By (Deleted User) - October 9, 2009

Hi Chrsi,

Thank you so much for answering my questions so well! I thhink I got it, I just need to know where to put the

"articleList.php?title,summary,content_keyword=Vancouver "

Re: [randyprod] Multiple Keyword Search/preview/database dump

By Chris - October 11, 2009

Hi Randy,

Having reread your first post, I think I misunderstood you. I originally thought you wanted to allow your visitors to search multiple fields, but now I think you want your CMS Builder users to search multiple fields.

If that's right, you'll simply need to list the fields you want searched in the Search Fields. Admin > Section Editors > MySection > Searching tab.

Does that answer your question? Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Multiple Keyword Search/preview/database dump

By (Deleted User) - October 11, 2009

Hi Again Chris,

Thanks for the reply and clarification. You are correct but unfortunately I previously did what you suggested but it didn't seem to work. When I put multiple keywords separated by a comma and space- i.e.- location, rental time period price, the search returns no records found. It seems to only take one keyword a search not multiples. Any thoughts?

Also is there a way to convert and RSS feed to a xml feed?

Thanks again for your help!

Randy

Re: [randyprod] Multiple Keyword Search/preview/database dump

By Chris - October 11, 2009

location, rental time period price


What exactly are the Field Names of the fields you want to search? Field Names can't have spaces in them (they often have _underscores_ in them instead.) There should be a comma between each Field Name. I'm guessing a bit here, but perhaps you should enter "location, rental_time, period, price"?

Also is there a way to convert and RSS feed to a xml feed?


RSS is XML. By that I mean that RSS feeds are written in XML. ATOM feeds are also written in XML. I'm not sure what you mean by an XML feed.
All the best,
Chris

Re: [chris] Multiple Keyword Search/preview/database dump

By (Deleted User) - October 11, 2009

Hi Chris,

Below is the Field names as they are and exactly how they are entered into the search tab like you said:

title, location, listing_number, internet_number_sales, internet_number_rental, property_type, property_status, price, rental_time_period, rental_period_price, agent_comments, address, city, lot_size, bedrooms, bathrooms, extra_rooms, basement, fireplace, hot_tub, pool, tennis_court, garage, pool_guest_house, pets_ok, air_conditioning, house_style, proximity_to_water, description, owner_last_name.

If I put in a listing number comma and an address it doesn't work.

AS for the RSS question I understand. I guess what I need to know is how to take the feed and turn it into a link that ends in .xml.

Thanks again especially on a Sunday!

Re: [randyprod] Multiple Keyword Search/preview/database dump

By Chris - October 13, 2009

Hi Randy,

Have you tried entering the following into the Search Fields?

"location, rental_time_period, price" (omitting the first and last quote)

I guess what I need to know is how to take the feed and turn it into a link that ends in .xml.


It's usually not important that your filename ends with ".xml". Most people call their XML-generating PHP files "example.xml.php" to make it obvious that you're using PHP to generate XML. You may need to start your file off by setting the correct header and <?xml?> tag, for example:

<?php header('Content-type: application/xml; charset=utf-8'); ?>
<?php echo('<?xml version="1.0" encoding="utf-8"?>'); ?>

All the best,
Chris

Re: [chris] Multiple Keyword Search/preview/database dump

By (Deleted User) - October 13, 2009

Hi Chris,

There seems to be some confusion I am trying to search for information in the records- Lisitings using the field name info. i.e. search for location=East Hampton, rental_time_period= July, price- $5,000.

I read a post last night that said there may be a beta for this type of multiple search engine?

As for the XML feed, I tried your idea about the xml it. Isn't working for me. This is the error message I got.

I made a RSS feed like you said and it works great but I need to make an XML feed to submit real estate listings to other sites. They won't take RSS just XML feeds, so I somehow confused on how to convert it.

Re: [randyprod] Multiple Keyword Search/preview/database dump

By Chris - October 14, 2009

Hi Randy,

Maybe you want something like this in Search Fields?

Location|location|match
Rental Time Period|rental_time_period|match
Price|price|match


Then you can click "advanced search" on the List Page to see your new search fields.

This is the error message I got.


You must have forgotten to paste the error message.

They won't take RSS just XML feeds...


Do they have any documentation on what exactly they mean by that? Can you find any examples of feeds they will accept?
All the best,
Chris