PDA

View Full Version : Custom code help (external feed)


webgomer
04-15-2008, 05:58 PM
I hope you can help. I am trying to add a custom feed from to bring in listings that I need to display that are targeted to the category title. I am trying to set this up to be in a right-hand block but am failing miserably. Can someone help me implement this?

This is the code I need to use and it must key off of the category title. The "web+hosting" is the area that must change dynamically for the targeted feed to work.

<script type="text/javascript"

src="http://xml.exactseek.com/cgi-bin/js-feed.cgi?id=16999&term=web+hosting&l=10">

</script>

Example that does not work:
<script type="text/javascript"

src="http://xml.exactseek.com/cgi-bin/js-feed.cgi?id=16999&{$category.title|escape:"html"}&l=10">

</script>

webgomer
04-16-2008, 07:01 PM
For anyone who needs to know:

Since I needed to use this smarty tag to call the current category title{$category.title} I used the Manage Blocks feature in the Admin and selected "smarty" as the type - Duh %).

Even though I was using a javascript - it contained a smarty tag, so I had to use the smarty type for the Block or else it would not work.

Once again, my hat's off to the eSyndicat team; you have taken so many things into consideration, it makes it easier for us to manage the script without wading through tons of code. :good:

Nikita B.
04-17-2008, 09:56 AM
Hi webgomer
I'm glad you have sorted out the problem.
And thanks for positive feedback about esyndicat. :)