Hi there,
I'm using Spie Feed to pull in a series of RSS feeds, however I don't think my problem is specifically related to the plugin.
My Spie template/chunk looks like this:
<div class="feed_item_01 [[+feedClass]]">
<div class="wrp_feed">
<div class="[[+description]]">
<a href="[[+link]]" rel="tooltip" title="[[+title]]"><img src="[[+itemImageThumbnailUrl]]"></a>
</div>
<p><em>[[+date:ago]]</em></p>
<p class="title"><strong><a href="[[+link]]">[[+title]]</a></strong></p>
</div>
</div>
You'll notice at the top of my chunk there is a div called "feed_item_01". Every time the chunk outputs (4 times), I need this number to increase by one.
For example the divs when outputted 4 times from 1 snippet call would be:
"feed_item_
01" "feed_item_
02" "feed_item_
03" ""feed_item_
04"
Would appreciate any thoughts.
[ed. note: jonleverrier last edited this post 14 years, 6 months ago.]