You are here:  » Changing search results

Support Forum



Changing search results

Submitted by wilkins on Wed, 2010-09-01 10:39 in

hi

I am starting a new project where the image is the most important part of the results and wanted to know could the search results be done horizontal rather than vertical similar to how google images look. The description is not as important as the title and price.Would also like it to ajust to the width of the browser rather than a fixee width.

Thanks

brent

Submitted by support on Wed, 2010-09-01 10:59

Hi Brent,

I have a version of html/searchresults.php that displays results in a grid - i'll email it to you now...

Cheers,
David.
--
PriceTapestry.com

Submitted by wilkins on Wed, 2010-09-29 09:00

Hi David

Couple of things, could you please resend this file, I lost all data on my computer at the weekend. Also i am trying to include coupons and offers using a seperate copy of PT and the external search script and icodes which provide a ful list via xml. I set up a test site and tried to import the xml, although there is no price field there are number fields that can be mapped to, seemed to work OK but would only import 1 or 2 items this is the feed I am using,

{link saved}

any ideas why it does not import all the items.

Thanks

Brent

Submitted by support on Wed, 2010-09-29 09:19

Hi Brent,

I've resent the file for you. Regarding the voucher codes feed; if only a small number of items are being imported it is mostly likely the duplication filtering taking effect. Bear in mind that you can use Text After / Text Before filters to combine fields if required - using placeholders such as %FIELDNAME% (where FIELDNAME is exactly as it appears in the sample data on Feed Registration Step 2.

If you're not sure, if you could let me know exactly which fields you are mapping I'll check it out on my test server for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by wilkins on Wed, 2010-09-29 09:37

Hi David

just tried text before with unique number but still get same results just with a number in front, below are the fields and mapping

Merchant -- MERCHANT

Product name - TITLE
Description -- DESCRIPTION
image url -- MERCHANT_LOGO_URL
Buy URL -- AFFILIATE_URL
Price -- MID

Thanks

Brent

Submitted by support on Wed, 2010-09-29 09:45

Hi Brent,

I tried the same registration and imported 502 records correctly - i'll email you an alternative version of the parser that might help if it's down to an encoding issue not handled by the version of the XML library being used by PHP on your server...

Cheers,
David.
--
PriceTapestry.com

Submitted by wilkins on Wed, 2010-09-29 10:16

Hi David

Used the parser you emailed me, works great, with text filter got all 2200 items.

Thanks again

Brent

Submitted by wilkins on Wed, 2010-09-29 10:33

Hi david

just noticed that when i use this new parser the £ sign is not showing in the feed title or desc. I am using iso-8859-1 the same as the feed , any idea how to get it back.

Thanks

Brent

Submitted by wilkins on Wed, 2010-09-29 10:56

Hi David

Not sure this sent the first time.

Just noticed that the £ sign is not showing in the title and desc when i use the new parser. Using iso-8859-1 the same as the feed. Any ideas how to get the £ sign to show.

Brent

Submitted by support on Wed, 2010-09-29 11:01

Hi Brent,

I'll email you the ISO-8859-1 cleansing version to use in place of the ASCII version, that should fix it...

Cheers,
David.
--
PriceTapestry.com

Submitted by wilkins on Wed, 2010-09-29 11:38

Hi David

just tried the iso version, this has only given a couple of results, for some reason it only seems to work with the ASC11 parser, but this seems to take out the £, is there any way round this.

Brent

Submitted by support on Wed, 2010-09-29 11:51

Hi Brent,

These issues tend to take a few iterations, i've sent you another option to try..

Cheers,
David.
--
PriceTapestry.com

Submitted by wilkins on Wed, 2010-09-29 12:42

Hi David

That worked, it put in the £ sign and imported all the items, however it fetched up another issue,

check url below, the issue is  which seem to break the link.

{link saved}

Brent

Submitted by support on Wed, 2010-09-29 12:52

Hi Brent,

I know what's causing that; it's do with special character encoding in the URL. If you could reply to my last email with the the following files from your installation i'll correct that for you...

index.php
search.php
products.php
reviews.php

Cheers,
David.
--
PriceTapestry.com