squeg wrote:It appears that you have one parameter that basically includes several details depending on what's available in the feed. It might be nice to have some optional variables for each specific detail so that the user could format/position them however he sees fit.
It was done that way because I didn't have a more dynamic way of optionally including stuff or not
squeg wrote:I can think of two scripting ideas that would be useful for building templates. First some kind of conditional operator, like an "if" and some conditionals. That plus a variable that indicated the "state" of the current item (new/unread/read) would then allow you to format the item differently depending on its state. It would also let the user replace the images that appear next to the item based on state.
It'd be easy to go overboard with this kind of stuff. Maybe I should just hook in a PHP processor
/taka thinks for a second... Maybe that's not such a silly idea
The other suggestions you made for page layout where also pretty good. I'm thinking about offering a more sophisticated way of generating pages (e.g. maybe something like FeedDemon's newspaper feature, taking input from multiple channels) but it will probably be XSLT driven. I went the HTML template way originally because I wanted to make it as easy as possible for non-techies to use. But the PHP thing is intriguing...
squeg wrote:it might be nice to be able request a certain number of characters or words to use for the excerpted item details. I could see useful presentations that only give say the first 15 words
You can tweak the FeedItemDescriptionExcerptMin/MaxWords settings in CONFIG.INI to do this (although it's a global setting). I'll see how hard it will be to make it a parameter to a template parameter.