Filter item info incorrect

drinkypoo - August 17, 2006 - 22:55
Project:Amazon Filter
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If you add the amazon_filter to your input format, in the help it says the following:

Syntax: [amazon title|cover|info asin]

First of all, I have no way to know what this means. It could mean anything. Do I need the word amazon? Or do I just put a title there? Second, there's not even any text that says that this information applies to the amazon filter; it should be pretty clear, but the standard is to explain what you're on about.

If it's supposed to be open bracket, the word amazon, and then title, cover, or info, then the asin, then it would make more sense to say [amazon {title|cover|info} asin] or similar. Those parts of the tag which vary need to be denoted as varying somehow.

#1

Prometheus6 - August 18, 2006 - 10:29
Project:Amazon associate tools» Amazon Filter
Version:4.7.x-1.x-dev» 4.7.x-1.x-dev
Component:Documentation» Code

#2

peterx - February 4, 2007 - 16:28

Here is a readme.txt that explains what I found when using Amazon filter on 5.0 and it appears to be the same for 4.7.

AttachmentSize
readme_1.txt 1.09 KB

#3

peterx - February 5, 2007 - 00:42

The new expanded enhanced supplemented readme.txt.

AttachmentSize
readme_2.txt 1.71 KB

#4

peterx - February 5, 2007 - 00:47

To help beginners, I changed the syntax message on my site from:

<?php
function amazon_filter_filter_tips($delta, $format, $long = FALSE) {
   return
t('Syntax: [amazon title|cover|info asin]');
}
?>

to:
<?php
function amazon_filter_filter_tips($delta, $format, $long = FALSE) {
   return
t('Syntax: [amazon title|cover|info asin] Example: [amazon cover B0007M123K]');
}
?>

petermoulding.com/web_architect

#5

wayland76 - February 9, 2008 - 04:10
Status:active» closed

Improved even more in patch attached to http://drupal.org/node/195618

 
 

Drupal is a registered trademark of Dries Buytaert.