[Mtamazon] Problem with Power search
"Gail Lucas" <[email protected]> Mon, 7 Jun 2004 22:40:55 -0500
| Newsgroups | gmane.comp.web.mtamazon.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C44CE0.7F627240 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi! I hope this isn't too simple of a question, b ut I looked through the archives and couldn't find anything. I've been attempting to do a Power search, where I get all knitting books published in June of 2004. This syntax works in the Power Search window on Amazon: pubdate: during 06-2004 and subject: knitting It returns four entries. I have MTMacros working within entries with a simple ASIN search. But, I couldn't get a power search to work on my side bar either, without the MTMacros. Here is what I have for my macro: <MTMacroDefine name="monthknitrelease" ctag="monthknitrelease"> <MTIfNotEmpty expr="[MTMacroAttr name='date']"> <MTAmazon search="[MTMacroAttr name='date'] and subject:'knitting'" method="Power"> <a href="<MTAmazonLink>"><MTAmazonSmallImage><MTMacroContent default="[MTAmazonTitle]"></a><p><MTAmazonTitle>,<MTAmazonAuthor><p>Publ isher:<MTAmazonManufacturer><p> Amazon's Price:<MTAmazonSalePrice><p> Release Date:<MTAmazonReleaseDate><p></MTAmazon></MTIfNotEmpty></MTMacroDefine> I'm calling it with this: <monthknitrelease date="pubdate: during 06-2004"></monthknitrelease> The cache file is created with a likely file name, but then I get the "no exact matches" error in the XML file. Any help is much appreciated. Also, does anyone happen to know if there is a way to do a date range in a Power search? Thanks! Gail ------=_NextPart_000_0001_01C44CE0.7F627240 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.0.4630.0"> <TITLE>Problem with Power search</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Hi! I hope = this isn't too simple of a question, b ut I looked through the archives = and couldn't find anything.</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">I've been = attempting to do a Power search, where I get all knitting books = published in June of 2004. This syntax works in the Power = Search window on Amazon:</FONT></P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">pubdate: during = 06-2004 and subject: knitting</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">It returns four = entries.</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">I have MTMacros = working within entries with a simple ASIN search. But, I = couldn't get a power search to work on my side bar either, without the = MTMacros. Here is what I have for my macro:</FONT></P> <BR> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana"><MTMacroDefine = name=3D"monthknitrelease" = ctag=3D"monthknitrelease"></FONT> <BR><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana"><MTIfNotEmpty = expr=3D"[MTMacroAttr name=3D'date']"></FONT> <BR><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana"><MTAmazon = search=3D"[MTMacroAttr name=3D'date'] and subject:'knitting'" = method=3D"Power"></FONT> <BR><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana"><a = href=3D"<MTAmazonLink>"><MTAmazonSmallImage><= MTMacroContent = default=3D"[MTAmazonTitle]"></a><p><MTAmazonT= itle>,<MTAmazonAuthor><p>Publisher:<MTAmazonManufacture= r><p></FONT></P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Amazon's = Price:<MTAmazonSalePrice><p></FONT> <BR><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Release = Date:<MTAmazonReleaseDate><p></MTAmazon></MTIfNotEmp= ty></MTMacroDefine></FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">I'm calling it with = this:</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 = FACE=3D"Verdana"><monthknitrelease date=3D"pubdate: during = 06-2004"></monthknitrelease></FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">The cache file is = created with a likely file name, but then I get the "no exact = matches" error in the XML file.</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Any help is much = appreciated. Also, does anyone happen to know if there is a = way to do a date range in a Power search? </FONT></P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Thanks!</FONT> </P> <P><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Verdana">Gail</FONT> </P> </BODY> </HTML> ------=_NextPart_000_0001_01C44CE0.7F627240-- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ You received this email because you have subscribed to Mtamazon-users. To subscribe, unsubscribe, or change your subscription options, please visit https://lists.sourceforge.net/lists/listinfo/mtamazon-users