Anzeige - [Hier werben / Mediadaten]
(?) Tags raten (?) (edit)
 
Reply to this topicStart new topicStart Poll
> Contentabhängige Amazon-Werbung
Webi
Geschrieben am: Di 26.04.2005, 15:22
Report PostQuote Post

AyomRank 6
************

Gruppe: Member (aktiv)
Beiträge: 658
Mitglied seit: 28.03.2004


Hallo

Gibt es irgendeine Möglichkeit, contentabhängige Amazon-Banner einzublenden? Also wie bei Adsense... Dass auf einer Seite bei welcher oft "PHP" vorkommt auch Bücher über PHP eingeblendet werden und bei der nächsten wo oft MCP steht, Bücher zu Windows eingeblendet werden?

Danke und Gruss

Roland


--------------------
Top
PMEmail Poster
Top
 
 
Sandro Feuillet
zehnplus GmbH
#2 Geschrieben am: Di 26.04.2005, 15:57 (+00:35)
Report PostQuote Post

AyomRank 7
Group Icon

Gruppe: Moderatoren
Beiträge: 1462
Mitglied seit: 4.05.2004


Da wär ich auch interessiert dran...

gruss sandro


--------------------
Gruss Sandro

--------------------------------------------------------------------------

zehnplus - Wir optimieren Ihre Seite SEO, Online-Kundendienst, Usability
Politik Forum Schweiz Das führende Schweizer Politikforum
Top
PMEmail PosterUsers WebsiteYahooMSN
Top
 
Alain_Aubert
#3 Geschrieben am: Di 26.04.2005, 17:31 (+01:33)
Report PostQuote Post

Ayom Slave
Group Icon

Gruppe: Admin
Beiträge: 4826
Mitglied seit: 25.09.2003


Dazu benötigst Du wenig mehr als Keywörter pro Seite. Wie Du diese definierst ist egal. Ich kenne aber keine fertige Lösung. Ab den Keywords gibt es es fertige Lösungen.
Top
PMEmail PosterUsers Website
Top
 
Rainer
#4 Geschrieben am: Di 26.04.2005, 18:50 (+01:19)
Report PostQuote Post

AyomRank 10
Group Icon

Gruppe: Moderatoren
Beiträge: 5272
Mitglied seit: 5.12.2003


QUOTE
contentabhängige Amazon-Banner


Nicht wirklich, aber du kannst duch diese Top-Seller-Boxen, oder wie die sich nennen, nehmen. Da kann man sich nach Stichwörter oder Produktgruppen Artikel auswählen lassen. Und der Inhalt wird ständig aktualisiert. Gibt es in verschiedenen Größen.


--------------------
Top
PM
Top
 
Metaman
#5 Geschrieben am: Di 26.04.2005, 20:56 (+02:05)
Report PostQuote Post

AyomRank 5
**********

Gruppe: Member (aktiv)
Beiträge: 361
Mitglied seit: 18.10.2004


hier mal was einfaches, das hab ich vor langem mal in einem anderen Forum gefunden...
damit werden Amazon Produkte entsprechend dem Suchbegriff angezeigt, allerdings wird nicht immer das richtig angezeig, je nachdem welchen Wort das das Script übergeben wird..
CODE
<?

$associate_id = "xxxxxx";   //  amazon.de ID
$number = "3";        // Anzahl  Produkte (max. 10)
$emptyterm = "$wort";      // suchbegriff


$news_array = array();

if (!$keywords)
{
$keywords = $emptyterm;
}

$url = "http://xml-eu.amazon.com/onca/xml3?t=$associate_id&dev-t=D1T29HVQ5KNUMF&mode=books&type=heavy&page=1&f=xml&locale=de";
$url .= "&KeywordSearch=$keywords";

$fp = fopen("$url","r");
while (!feof($fp))
{
if (!$fp)
 {
 break;
 }
 
$linie = fgets($fp, 1024);  
if(eregi("<?xml", $linie))      
 {
 while (!feof($fp))
  {
  $linie = fgets($fp, 1024);
  $text .= $linie;
  if(ereg("</ProductInfo>", $linie)) break;    
  }
 }
}
fclose($fp);

$text = str_replace("</Details>","#S#E#P#E#R#A#T#O#R#",$text); //Seperiert die einzelnen News
$text = explode("#S#E#P#E#R#A#T#O#R#",$text);

$TotalResults = explode("<TotalResults>", $text[0]);
$TotalResults = explode("</TotalResults>", $TotalResults[1]);
$TotalResults = $TotalResults[0];

$TotalPages = explode("<TotalPages>", $text[0]);
$TotalPages = explode("</TotalPages>", $TotalPages[1]);
$TotalPages = $TotalPages[0];

$anzahl = count($text);
for($a=0;$a<$anzahl;$a++)
{
$ProductName = explode("<ProductName>", $text[$a]);
$ProductName = explode("</ProductName>", $ProductName[1]);
$ProductName = utf8_decode($ProductName[0]);

$OurPrice = explode("<OurPrice>", $text[$a]);
$OurPrice = explode("</OurPrice>", $OurPrice[1]);
$OurPrice = $OurPrice[0];
$OurPrice = str_replace(".", "", $OurPrice);
$OurPrice = str_replace(",", ".", $OurPrice);
$OurPrice = str_replace("EUR", "", $OurPrice);
$OurPrice = trim($OurPrice);

$OldPrice = "";

$DeepLink = explode("<Details url=\"", $text[$a]);
$DeepLink = explode("\">", $DeepLink[1]);
$DeepLink = $DeepLink[0];

$Isbn = explode("<Isbn>", $text[$a]);
$Isbn = explode("</Isbn>", $Isbn[1]);
$Isbn = utf8_decode($Isbn[0]);

$ImageUrlSmall = explode("<ImageUrlSmall>", $text[$a]);
$ImageUrlSmall = explode("</ImageUrlSmall>", $ImageUrlSmall[1]);
$ImageUrlSmall = $ImageUrlSmall[0];

$ImageUrlMedium = explode("<ImageUrlMedium>", $text[$a]);
$ImageUrlMedium = explode("</ImageUrlMedium>", $ImageUrlMedium[1]);
$ImageUrlMedium = $ImageUrlMedium[0];

$ImageUrlLarge = explode("<ImageUrlLarge>", $text[$a]);
$ImageUrlLarge = explode("</ImageUrlLarge>", $ImageUrlLarge[1]);
$ImageUrlLarge = $ImageUrlLarge[0];  

$Authors = explode("<Authors>", $text[$a]);
$Authors = explode("</Authors>", $Authors[1]);
$Authors = $Authors[0];

$t = substr_count($Authors, "<Author>");
if ($t > "1")
 {
 $Authors =str_replace("</Author>", ", ", $Authors);
 $Authors = strip_tags($Authors);
 $Authors = trim($Authors);
 $Authors = substr($Authors, 0, -2);
 $Authors = utf8_decode($Authors);
 }
else
 {
 $Authors = strip_tags($Authors);
 $Authors = utf8_decode($Authors);
 }


if (strlen($OurPrice)> 1 && strlen($ProductName)> 1)
{
$newsitem_array = array($ProductName, $OurPrice, $OldPrice, $DeepLink, $Isbn, $ImageUrlSmall, $Authors);
array_push($news_array, $newsitem_array);
}
}

?>
<br />
<br />
<table width="100%" border="0" class="tabelle" cellspacing="4" cellpadding="3">
 <tr>
   <td><br />
     <?
$anzahl = count($newsitem_array);
If ($anzahl <= $number)
{
$number = $anzahl;
}

for($x=0;$x<$number;$x++)
{
list($ProductName, $OurPrice, $OldPrice, $DeepLink, $Isbn, $ImageUrlSmall, $Authors) = $news_array[$x];
?>
    <font size="2"> <div align=center><a href='<? echo($DeepLink); ?>' target="new"><img src='<? echo ($ImageUrlSmall); ?>' border='0' /></a></div><br />
     <a href="<? echo($DeepLink) ?>" target="new">
        <? echo($ProductName) ?> </a><br>
     <a href="<? echo($DeepLink) ?>" target="new">
       <? if ($Authors != "") { echo("von " . $Authors); } ?>
       </a><br>
     <? echo($OurPrice) ?> ¤ </font><br /> <br>
     <?php
 }
?>
   </td>
 </tr>
</table>
<br>




--------------------
Top
PMEmail PosterUsers WebsiteICQ
Top
 
Kooistra
#6 Geschrieben am: Mi 27.04.2005, 00:41 (+03:45)
Report PostQuote Post

AyomRank 4
********

Gruppe: Member (aktiv)
Beiträge: 85
Mitglied seit: 25.04.2005


Vielen Dank für das tolle Listing!

Hast du noch mehr Informationen zur Amazon API? Ist ein interessantes Thema.

Danke.
Top
PMEmail Poster
Top
 
Thema wird von 0 Benutzer(n) gelesen (0 Gäste und 0 anonyme Benutzer)
0 Mitglieder:
Trackback-Url: http://www.ayom.com/track/t/6858

Topic Options Reply to this topicStart new topicStart Poll

 


> Ähnliche Themen
Werbung MadeG 39 1 Mo 1.12.2008, 17:32
[Werbung] trigami Partnerprogramm Remo Uherek 1334 11 So 30.11.2008, 19:40
Jahreskalender mit eigener Werbung MarcoCH 336 7 So 30.11.2008, 01:09
Linktausch und Werbung Enclave 95 2 Fr 28.11.2008, 13:37
Web.2.0 - Finanzierung durch Werbung? jAuer 660 20 Do 27.11.2008, 10:27
Werbung auf Blog Christian 173 9 Do 20.11.2008, 12:52
Biete: Werbung in Blogs WebEbene 141 0 Di 18.11.2008, 09:46
Werbung für ein Forum sparcjoe 353 7 Mo 10.11.2008, 18:16
Online / Offline Werbung Nur-Lag 502 17 So 2.11.2008, 15:13
Job gegen (amazon)werbung Christian 118 0 Mo 27.10.2008, 06:22




Anzeige - [Hier werben / Mediadaten]



Anzeigen


[Hier werben / Mediadaten]