Difference between revisions of "Extension talk:MarketResearch"

From Organic Design wiki
m (process: need the title in there)
(multiple is done in the form foo+bar)
Line 6: Line 6:
  
 
  <marketresearch>term-1,term-2,term-n</marketresearch>
 
  <marketresearch>term-1,term-2,term-n</marketresearch>
 
+
:might want to do
 +
<marketresearch>term-1+term-2+term-n</marketresearch>
 +
:to make it neater.
  
 
which will give formatted data from  
 
which will give formatted data from  
Line 12: Line 14:
 
http://www.marketresearch.com/feed/search_results.asp?bquery=computers&partnerid=951781402
 
http://www.marketresearch.com/feed/search_results.asp?bquery=computers&partnerid=951781402
 
:just one term is fine for now, have a call in to see how they handle multiple.... --[[User:Phalseid|Phalseid]] 05:47, 11 July 2008 (NZST)
 
:just one term is fine for now, have a call in to see how they handle multiple.... --[[User:Phalseid|Phalseid]] 05:47, 11 July 2008 (NZST)
 +
 +
::multiple is done in the form foo+bar:
 +
 +
http://www.marketresearch.com/feed/search_results.asp?bquery=computers+m
 +
onitor&partnerid=951781402
 +
 +
--[[User:Phalseid|Phalseid]] 02:52, 12 July 2008 (NZST)
  
 
==process==
 
==process==

Revision as of 14:52, 11 July 2008

nad-

here is my start to the code,

input

<marketresearch>term-1,term-2,term-n</marketresearch>
might want to do
<marketresearch>term-1+term-2+term-n</marketresearch>
to make it neater.

which will give formatted data from

http://www.marketresearch.com/feed/search_results.asp?bquery=computers&partnerid=951781402

just one term is fine for now, have a call in to see how they handle multiple.... --Phalseid 05:47, 11 July 2008 (NZST)
multiple is done in the form foo+bar:
http://www.marketresearch.com/feed/search_results.asp?bquery=computers+m

onitor&partnerid=951781402

--Phalseid 02:52, 12 July 2008 (NZST)

process

the parsing needs to give

  • the <TITLE>
  • a snippet of the article(s)<DESCRIPTION></DESCRIPTION>
  • the product id which is BUY id from the resultant XML file... (<BUY id=xxxxx)

output

  • an iframe to the output from the process above, shows the title, description, and a link to buy it...

http://www.marketresearch.com/feed/cart/addtocart.asp?partnerid=951781402&productid=xxxxxxx (from BUY id above)

example:

http://www.marketresearch.com/feed/cart/addtocart.asp?partnerid=951781402&productid=1115927

--Phalseid