OK... das ganze hat sich erledigt...
Ich habs geschafft.
Für diejenigen die es Interresiert:
Der Mambot hat Folgenden Code:
PHP-Code:
<?php
##########################################
# BlankTargetBot - A MOS 4.5 Mambot ! #
# Copyright (C) 2003 by Arthur Konze #
# Homepage : www.mamboportal.com #
# Version : 1.0 beta 1 #
# License : Released under GPL #
##########################################
# Don't allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
# Replace the original links with links including the target _blank and add and external image.
$row->text = preg_replace("#{ISBN:(.*?)}#s", " <A HREF=\"index.php?option=com_amazon&isbn=\\1\">\\1</A>", $row->text);
?>
man sieht worauf er basiert
bei der amazon Komponente habe ich noch ein
PHP-Code:
str_replace("-","",$isbn)
eingefügt, dass die bindestriche entfernt werden.
Immer wenn ich nun {ISBN:[Die nummer]} eingebe wird das ganze automatisch korrekt verlinkt.
Lesezeichen