Tradedoubler filter

This plugin simply filters words of your choice with links. Initially I’ve called the plugin Tradedoubler filter, because I wanted catch all words i said about MacBook, iPod, and Ebay trasforming into payed links to Tradedoubler account.

But just after some rows of code, I added my girlfriend’s url and some friend’s url, to get linked only by naming they in articles and pages.

Installation

  1. Download the plugin
  2. Edit the words, and the related link directly in the source file
  3. Upload into your plugin directory by ftp connection

How it’s works?

Just write posts and page as you did before. When you’ll activate the plugin in the plugin page it will convert into links the words you configured in it.

The links are written with class="tradedoubler" so you can easily manage the appeal of advertising instead of normal links. this is my css code:

.tradedoubler {
	border-bottom: 3px double #9f9;
}

So this plugin must be “yet another” filter… We’re only at 0.1 version, and all could happen in future. So if some of you has some marketing ideas to put in it, I’ll be pleased to develop.

I’m not so a marketer as geek… Fagiano

Download Tradedoubler filter

commenti

[...]

[…]   Tradedoubler filter自劚蜬换预先讟眮过的词䞺盞库的铟接。 link […]

[...]

[…] 插件页面: 点击进入 […]

Scusami, ma penso che la

Scusami, ma penso che la regex “|(\W)’.$word.’(\W)|i” sia sbagliata: che succede, infatti, se provo a postare un link come
fullo & friends

La regex matcha il segno di maggiore che è un nonword character così come lo spazio, e sostituisce tutto, scombinando l’HTML.

Che ne dici, invece, di un bel
"([^\\w\\]|^)"+$word+"(?![\\w\\])"
? Fammi sapere cosa ne pensi

Pardon, l'ultima regex

Pardon, l’ultima regex era
"([^\\w\\<\\>]|^)"+$word+"(?![\\w\\<\\>])"

Provo subito, grazie per la

Provo subito, grazie per la dritta. Purtroppo con le regex sono una schiappa. gha!

La regola dà questo errore:

preg_replace(): Delimiter must not be alphanumeric or backslash

Pure io, come avrai notato

Pure io, come avrai notato Cry!
Ho capito qual è l’errore.. la mia regex funziona con lo javascript, non con il preg_replace, e non saprei proprio come convertirla.. gha!

[...]

[…] 插件页面: 点击进入 […]

[...] Tradedoubler filter

[…] Tradedoubler filter Ú un semplice plugin che permette facilmente di trasformare le parole di tua scelta in links. È utile da utilizzare ad esempio con Tradedoubler, o semplicemente per linkare automaticamente ad un determinato sito parole particolari, tipo il nome della tua ragazza al suo sito in modo che sia sempre raggiungibile. […]

[...]

[…] 插件页面: 点击进入 […]

Invia nuovo commento

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente.

Ultime da @tassoman su Twitter ...

  • e il cliente segnala via email al fornitore di aver incluso due volte l'header della pagina web del server in produzione #testing #fail 11 ore 50 min fa
  • RT: @drupal_modules: Chuck Norris: Chuck Norris ordered a Big Mac at Burger King, and got one. http://bit.ly/bQgkvQ 12 ore 35 min fa
  • @Daria_Blast #nelmulinochevorrei c'è Daria che twitta minchiate mentre fa la cacca 12 ore 42 min fa
  • Ho impostato un video di YouTube come preferito -- Boris Renè Ferretti Sbrocca http://youtu.be/RQpvYO_6qQ4?a 23 ore 27 min fa
  • RT: @RegioneER: Banda larga 80mila cittadini in più, cala il digital divide con l'accordo tra Regione, Lepida e Telecom http://bit.ly/aK9A8V 1 giorno 7 ore fa