Wei_Dai comments on Proposal: all Amazon hyperlinks get Less Wrong's Amazon Associates referral code - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (20)
It's not true that Amazon product URLs must contain "/dp/". According to http://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number , product URLs may have the following formats:
Which is not even a complete list because I've also seen:
Instead of trying to parse all these formats, I suggest just adding "?tag=lesswrong-20" or "&tag=lesswrong" (depending on whether the URL already contains a "?") to the end of every Amazon.com URL. Also, "ref=nosim" is obsolete and can be omitted.