You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 80 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT - Next Gen Amazon [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
davnel
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2005
Posts: 12


PostPosted: Fri Apr 22, 2005 12:30 am Reply with quoteBack to top

We found this script (used on http://www.nukebling.com) for Nuke Amazon. Unfortunately it doesn't appear to tap the search function entirely. Anyone have a different script that works? OR knows how to correct it??

most links work OK i.e. http://www.nukebling.com/amazon-search_BrowseNodeSearch_565118_pc-hardware.html

for the googletap folder create 'GT-Amazon.php.
Code:
<?php

$urlin = array(
"'(?<!/)modules.php\?name=Amazon&amp;asin=([A-Z0-9]*)&PHPSESSID=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;asin=([A-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=AsinSearch&amp;keyword=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=ShowFI&amp;catalog=([a-zA-Z0-9+]*)&amp;AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=ShowFI&amp;catalog=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=(ShowCart|home)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=More&amp;searchmode=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&amp;keyword=([[:punct:](){}a-zA-Z0-9]*)&amp;mode=([a-zA-Z0-9+-]*)&amp;AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&amp;keyword=([[:punct:](){}a-zA-Z0-9]*)&amp;mode=([a-zA-Z0-9+-]*)'"
//"'(?<!/)modules.php\?name=Amazon&amp;op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&amp;keyword=([[:punct:](){}a-zA-Z0-9]*)&amp;mode=([a-zA-Z0-9+-]*)&amp;AMZpage=([0-9]*)'",
);

$urlout = array(
"amazon-buy-\\1-s-\\2.html",
"amazon-buy-\\1.html",
"asin-search-\\1.html",
"amazon-\\1-\\2.html",
"amazon-\\1.html",
"amazon-to-\\1.html",
"amazon-search_\\1_\\2_\\3_\\4.html",
"amazon-search_\\1_\\2_\\3.html",
"amazon-more_\\1_\\2_\\3_\\4.html",
"amazon-more_\\1_\\2_\\3.html"
);

?>


include in .htaccess

Code:
#NukeAmazon
RewriteRule ^asin-([A-Z0-9]*).html modules.php?name=Amazon&asin=$1 
RewriteRule ^amazon-(direct|buy)-([A-Z0-9]*).html modules.php?name=Amazon&asin=$2 
RewriteRule ^amazon-(direct|buy)-([A-Z0-9]*)-s-([a-zA-Z0-9]*).html modules.php?name=Amazon&asin=$2&PHPSESSID=$2 
RewriteRule ^asin-search-([a-zA-Z0-9]*).html modules.php?name=Amazon&op=AsinSearch&keyword=$1 
RewriteRule ^asin-add-([a-zA-Z0-9]*).html modules.php?name=Amazon&op=Add&asin=$1 
RewriteRule ^asin-buy-([a-zA-Z0-9]*).html modules.php?name=Amazon&op=click&asin=$1 
RewriteRule ^amazon-to-(ShowCart|home).html modules.php?name=Amazon&op=$1 
RewriteRule ^amazon-search_(MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)_([[:punct:](){}a-zA-Z0-9]*)_([a-zA-Z0-9+-]*)_([0-9]*).html modules.php?name=Amazon&op=$1&keyword=$2&mode=$3&AMZpage=$4 
RewriteRule ^amazon-search_(MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)_([[:punct:](){}a-zA-Z0-9]*)_([a-zA-Z0-9+-]*).html modules.php?name=Amazon&op=$1&keyword=$2&mode=$3 
RewriteRule ^amazon-more_([a-zA-Z0-9]*)_([+(){}a-zA-Z0-9]*)_([a-zA-Z0-9-]*)_([0-9]*).html modules.php?name=Amazon&op=More&searchmode=$1&keyword=$2&mode=$3&AMZpage=$4 
RewriteRule ^amazon-more_([a-zA-Z0-9]*)_([+(){}a-zA-Z0-9]*)_([a-zA-Z0-9-]*).html modules.php?name=Amazon&op=More&searchmode=$1&keyword=$2&mode=$3 
RewriteRule ^amazon-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Amazon&op=ShowFI&catalog=$1&AMZpage=$2 
RewriteRule ^amazon-([a-zA-Z0-9+]*).html modules.php?name=Amazon&op=ShowFI&catalog=$1 
RewriteRule ^amazon-add-to-cart-([a-zA-Z0-9=:]*)-([0-9]*).html modules.php?name=Amazon&op=AddToCart&asin=$1&cartnode=$2 
RewriteRule ^amazon-search-([a-zA-Z0-9]*)-([+(){}a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Amazon&op=More&searchmode=KeywordSearch&keyword=$1&mode=$2&AMZpage=$3 
RewriteRule ^nukeamazon.html modules.php?name=Amazon

_________________
$$ Nuke Bling ££ | Hot Crawl ~ search | 1nfoweb - Free eLearning | BlogSpot
Find all posts by davnelView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.174 Seconds - 365 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::