Closed (fixed)
Project:
Amazon associate tools
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2006 at 08:49 UTC
Updated:
11 Mar 2006 at 05:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
eaton commentedAnd this one includes the file if views.module is present.
Comment #2
Prometheus6 commentedThanks. I'll review this quickly.
Comment #3
eaton commentedActually, here's an updated version of the amazon_views.inc file that adds a filter: 'has amazon link.' That allows people to build lists of nodes that include links to amazon items, regardless of the node type.
Comment #4
Prometheus6 commentedSeriously, does that cover integration with the views module? I haven't looked at it yet.
Comment #5
eaton commentedIt certainly seems to. I have a sample view exposed right now on my blog -- http://jeff.viapositiva.net/amazon ... It filters to list only nodes with an associated ASIN, and lists the book title as a clickable link, the price, etc. There might be sneakier tricky bits to add in later, but it does cover all the views bases I can think of.
Also, because it's kept in a separate file and only included if views.module is installed, there's little code bloat for the core amazon module.
Comment #6
Prometheus6 commentedOne patch committed, one include file added.