shopping cart
Call us:  800-878-7323 HELP
McAfee SECURE helps keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams.

Find Books


Read the City


Win Free Books!


PowellsBooks.news


Technica


PowellsBooks.kids


Into the Aisles


Section Top 10 RSS Feed

This script will output a page of XML in the RSS style. You can then save this file to your local drive and run a script (of your own creation or use the one we provide) to parse out the information. All links in this file will be partnerized with the partner ID you provide.

Partner ID
Section

If you have trouble viewing the XML, or you get a blob of text, please check your browser version. Mozilla >= 1.3, Netscape >= 7.1, and IE >= 5.5 all have nice methods for displaying XML. Otherwise, you can save the result and view it on your computer with a text editor, should you be so inclined.

If you have questions about RSS click here. For more information about XML click here.

URL:
If you just need the URL (as input into a program you've written or bought) to access the RSS feed, use this:
http://www.powells.com/cgi-bin/partners/top10.rss?sectionkey=XXXXXXX&pid=XXXX

"Sectionkey" is just the name of the section without any spaces or punctuation. A sectionkey is required. Set sectionkey=random to get data for a randomly selected section.
"Pid" is your partner ID. A pid is not required for the link to work.
Please note: A pid is required to receive commission through the program.

Perl Script:
Following is a Perl script which you can save to your server and then include in one of your web pages using a server-side include (SSI). The script is merely a working example of how to gather and display the information from our Top 10 RSS feed.

top10.pl in text format Click the link to the left to view the code of the Perl script. Alternately, right click and "Save Link/Target As..." to put the file directly on your computer. To run this file, you must have Perl 5.6 or greater installed on your system and the file will need to be executable. All other documentation is available within the script itself. Please read through the script as there are options you can set and HTML to format.
end product Click the link to the left to see the end product of this script.
  • back to top

Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and eBooks — here at Powells.com.