blacklist words UI

Aron Novak - April 30, 2007 - 19:13
Project:Yahoo Terms
Version:4.7.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

In some case we don't want to accept all of the words that the Yahoo Terms API returns. The logic of blacklisting is already implemented in the code. The request:
- create user interface for specifiying these words.
Possible places:
- general blacklist at admin/settings/yahoo_terms
- per content-type blacklists (see form_alter)

#1

alex_b - May 15, 2007 - 22:39
Version:5.x-1.x-dev» 4.7.x-1.x-dev

Hi Aron,

I think for the beginning a textarea on admin/yahoo_terms with one blacklisted term per line should be fine.

I just eliminated two undesired terms (quot and nbsp) with a hard coded black list, I attach the patch. It is actually only lacking the UI for editing the blacklist - we could grab it from leech's (or was it url_profile??) blacklisted urls.

I move this issue to 4.7.x, because the attached patch is for that version. This feature should be implemented for both yahoo_terms versions though.

AttachmentSize
html_escapes_blacklist.patch 2.72 KB

#2

designerbrent - April 21, 2008 - 13:14
Status:active» needs review
 
 

Drupal is a registered trademark of Dries Buytaert.