View Single Post
 
Old Feb 17, 2002, 07:22 AM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
I have been thinking about doing this for some time, and when I read Your post
I decided to give it a try. It was very simple and took me about 20 minutes of
thinking and coding, and another 20 minutes to get it the way I wanted it.

See the results at http://www.berka.com/

This is how I did it:
1, I divided the amazon subroutine into two. One part that extracts the category name, and one part
prints the amazon stuff.

2, I called the "extraction of the category" subroutine early in the pod program,
before anything goes into the pod_output string.

3, In (some of the) the header files I could now remove the title and metatags.

4, I added a new string in podvars.pm that I put the header and meta in,
and here I could use the extracted category.

5 In the end of the podvars.pm where everything is put together, I start
with the new "header and meta" string.

Send me a mail if You want to see my code for this...