Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Topic closed
[archived] wm_powells: Powell's Books partner plugins
Notice: This thread is archived, this plugin is no longer available.
**********************************************************
These are two simple plugins to make it easier to link to Powell’s Books if you’re in their partner programs. Both of them are documented on both my website and in the plugins themselves, and I’ve made them available in both the g1.19 and 1.0rc plugin formats.
<txp:wm_powells_link isbn="xxx" />
This will create a “Buy now!” link for the book with the indicated ISBN. You need to edit the plugin to put in your partner ID (or use an optional attribute to specify it). You can also use a “text” attribute to change the link message from its default.
<txp:wm_powells_img isbn="xxx" />
This will create an <img />
tag that links to Powell’s site, that will return the cover image of the book with the given ISBN (presuming they have it on file).
http://www.ranea.org/watts/txp/
Last edited by watts (2005-02-01 00:34:31)
Offline
Re: [archived] wm_powells: Powell's Books partner plugins
thanks, these are great. i’d much rather support powell’s than amazon.
one little thing, you should add ‘txp:’ to the code needed to call your plugins, i.e.
< txp:wm_powells_link isbn=“xxx” / >
and
< txp:wm_powells_img isbn=“xxx” / >
Last edited by andrea (2005-01-31 23:06:32)
Offline
Pages: 1
Topic closed