Difference between revisions of "Extension talk:MarketResearch"

From Organic Design wiki
m (New page: nad- here is my start to the code, ...)
 
m (output)
Line 25: Line 25:
  
 
http://www.marketresearch.com/feed/cart/addtocart.asp?partnerid=951781402&productid=xxxxxxx (from BUY id above)
 
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
 +
 +
--[[User:Phalseid|Phalseid]]

Revision as of 17:48, 10 July 2008

nad-

here is my start to the code,

input

<marketresearch>term-1,term-2,term-n</marketresearch>


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)

process

the parsing needs to give

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


output

simply a link to

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