|
Section Top 10 RSS Feed
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.
|
|