Quote from: jesster444 at Mar 03, 2007, 08:27 AM
@Brian, would it be possible to add the following parameters:
- $maxItems - Limit the amount of items returned to this number.
- $skipItems - Skip this many items and start displaying the one after this number.
- $tplPresetFirst - The TPL for the first item
- $tplPresetLast - The TPL for the last item
- $tplPresetOdd - The TPL for an Odd item
- $tplPresetEven - The TPL for an Even item
I understand that I can template using ITEM array, but these templates parametes would be nice.
Also, if you want to add my templates as an option in your package for GoogleCalendar, feel free.
As stated before, max and skip are both options inside your template. The problem with specifying them as snippet parameters is that it has no way of knowing which items you are referring to. I could make the parameters enforce a hard limit/offset on any child items... but the offset would also include calls like {{RSS->...}} which would end up messing things up. Alternatively I could have the limit set in the config like this:
&maxItems=`ITEM(6),...`
&tplPresetOdd=`ITEM->oddChunk`
Let me know what you think and your recommendations for configuration syntax.
In the future, It would be cool to add item sorting or randomization for repeating elements... I would also like to add a filter parameter of some kind.
Also, I don’t know why your Flickr is showing up as non-RSS2, take a look at my example below...
@Kylej:
I think there will always be a need for a standalone google events system because of the ability to have a calendar view and finely tune the navigation system. You could also combine multiple calendars for collaboration, etc.
@lw-d:
Your template looks good, you could also format it like ITEM(6) since the offset is optional. I’m not sure why it would only be displaying 4, what are you using for your snippet call?
http://brianstanback.com/feedx.html
[!FeedX? &url=`
http://api.flickr.com/services/feeds/photos_public.gne|xq|format|xe|rss2` &cacheTime=`1800` &tplPreset=`flickr` &cacheType=`0` &tplBuilder=`0`!]