Computer Help Forum

Go Back   vBulletin and Computer Help Forum > Site News and Things > FREEBS PHP Amazon Book Store Support

FREEBS PHP Amazon Book Store Support This forum is for downloads and support of the FREEBS Free Amazon Book Store software. FREEBS is a php based book shop that creates content pages for your website that may get listed in the search engines and helps you profit from Amazon book sales.

 
 
Thread Tools Display Modes
Old 05-02-2005   #21
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
Quote:
Originally Posted by rocket98
Hi,

I just installed your script... works great.

? On the initial results page how can I display a image beside book listings. Right now only images I see are on a further detail page and for similiar items. These image URL's are already stored in DB [yes/no] so it could be added?


Works great

Thanks.
The images are URLS, they are not stored. We were trying to keep the outbound links down I think.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline  
Old 10-20-2005   #22
onewhosellsbooks
Junior Member
 
Join Date: Oct 2005
Posts: 2
Know FREEBS doesn't have this capability, but thought you may know of a php script/way to do it..
Want to list our Amazon marketplace books via our website, where they are searchable, with data pulled from Amazon, and our inventory adjusted automatically as books are sold directly on Amazon. In other words, not maintained by a local database but through AWS or a data feed. Amazon Hacks book had an asp example, but I don't use asp. You would think this would be a common need, but have had hard time finding a way to do it.
onewhosellsbooks is offline  
Old 10-20-2005   #23
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
It's in the API to search. I have alot on my plate, but an aws search is a necessity and I'll make that my next project.

The database is meerly to have pages of on topic titles. An SEO thing.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline  
Old 12-12-2005   #24
reDDevil
Junior Member
 
Join Date: Dec 2005
Posts: 7
I think it is a good suggestion to create a "book alphabetic index" automatically according the "bkeys" of items added to a database to prevent empty pages without any book. Or is it easy to make it myself? Sorry for probably stupid question - I am a novice with php
reDDevil is offline  
Old 12-12-2005   #25
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
Quote:
Originally Posted by reDDevil
I think it is a good suggestion to create a "book alphabetic index" automatically according the "bkeys" of items added to a database to prevent empty pages without any book. Or is it easy to make it myself? Sorry for probably stupid question - I am a novice with php
Maybe I don't understand, but the main page is an alpha index. Can you be more specific?
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline  
Old 03-08-2006   #26
minstrel
Junior Member
 
Join Date: May 2005
Posts: 3
Hi, noppid. I finally got around to settting this up (Amazon.ca version complete with changes to the Amazon image and search code) at [url]http://store.psychlinks.ca[/url] - I see a few people have asked about a search feature. What I want is the capability not to search Amazon but to search the "local" bookstore - i.e., just the titles listed in my database.

I suck at SQL queries. How difficult would that be to implement?
minstrel is offline  
Old 03-08-2006   #27
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
Quote:
Originally Posted by minstrel
Hi, noppid. I finally got around to settting this up (Amazon.ca version complete with changes to the Amazon image and search code) at http://store.psychlinks.ca - I see a few people have asked about a search feature. What I want is the capability not to search Amazon but to search the "local" bookstore - i.e., just the titles listed in my database.

I suck at SQL queries. How difficult would that be to implement?

I'll research what it will take to index the title so the query is not a cpu killer or table walking.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline  
Old 03-08-2006   #28
minstrel
Junior Member
 
Join Date: May 2005
Posts: 3
Thanks, noppid
minstrel is offline  
Old 03-08-2006   #29
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
Ok, in the items table, if there is an index on the field 'name', drop it.

Add a Full Text index to the field 'name' in the items table.

You can use phpmyadmin to do this.

Then this query will do your search. Of course this is just the basics. We need an input form, input sanitation, input lenght verification and probably some other stuff I forgot.

And here's the Query.

PHP Code:
// begin full text
// get the titles
$searchWord 'whacko';
$searchs mysql_query("SELECT asin,name 
        FROM "
TABLE_PREFIX ."items 
        WHERE match(name) against('addslashes($searchWord)')"
);
echo 
mysql_error();    

echo 
'<pre>';

while( 
$search mysql_fetch_Array($searchs) )
{
    
print_r($search);
}
echo 
'</pre>';
exit; 
Then using the title and asin you can link to book.php or isbnxxxxxxxxxx.html on your site to display the book.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.

Last edited by Greg; 03-09-2006 at 11:33 AM.
Greg is offline  
Old 03-09-2006   #30
minstrel
Junior Member
 
Join Date: May 2005
Posts: 3
Thanks, noppid - I'll give it a try when I've had some sleep
minstrel is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:35 PM.



vBulletin 3.8.7 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright vB and Computer Help Forum

EZ software products copyright Greg Lynch 2006-2013