/*
* NewsArchive by Mark Kaplan (October 2005)
* Displays an archive of posts with full support for pagination (paging of content in increments)
*
* Version 1.5
*
* Updates:
* October 30th 2005 - 1 - FURL detection and support added.
* October 30th 2005 - 2 - Increment support added.
* November 1st 2005 - 3 - Trunctuate variable now defaults to false.
* November 2nd 2005 - 4 - Multicall support added.
* November 2nd 2005 - 5 - Trunctuate option bug fixed.
*
* Based on NewsListing
*
* Always call uncached like so: [!NewsArchive!]
*
* Use the following placeholders for locating the prev/next buttons and other info
* [+buttons+] - the previous/next text links
* [+start+] - the # of the first item shown
* [+limit+] - the # of the last item shown
* [+resourcecount+] - the total # of items
*
* Example:
*
* Showing <strong>[+start+]</strong> - <strong>[+limit+]</strong> of <strong>[+resourcecount+]</strong>
[+buttons+]
*
* Snippet parameters [default] :
* &startID - the folder containing the posts [the document called from]
* &total - max number of posts to retrieve [100]
*
* &increment - # of items to advance by each time the previous or next links are clicked [10]
* &trunc - truncate to summary posts? if set to false, shows entire post [true]
* &truncSplit - use the special "splitter" format to truncate for summary posts [true]
* &truncAt - the split-point splitter itself [<!-- splitter -->]
* &truncText - text for the summary "show more" link
*
*
* &tpl - name of the chunk to use for the summary view template
* &dateformat - the format for the summary date (see http://php.net/strftime ) [%d-%b-%y %H:%M]
* &pubOnly - only show Published posts [true]
* &emptytext - text to use when no news items are found
* &commentschunk - if you’re using comments, the name of the chunk used to format them
*
*/
- 1 - FURL detection and support added.
- 2 - Increment support added