Miniblog Version 0.3
by svasti
Tested with CMSimple_XH 1.6.2
New in 0.3: easier image use; date and blog ordering can be turned off; alternative headings will be used when set; more configuration possibilities for teaser and keyword generation.
Plugincall: {{{miniblog();}}}
Functionality
- Miniblog regards subpages of the miniblog page as blog articles:
- Subpages one level under the calling page are regarded as blog entries without category
- Subpages two levels under the calling page are regarded as blog entries with the name of the intermediate page as category. The intermediate page will not be regarded as blog entry. Recommanded to turn off "Show in menu" for these pages.
- To make the blog listing more interesting every category can get an image.
New in 0.3: Simply put the Image into the intermediate page (the category page).
- Date: If a Publication date is present in the page data, this date will serve as blog publication date, otherwise the date of the last edit will be taken.
- If the publication date has not yet been reached, the page will not be listed.
- If the date is lower than the archiving date entered in plugin config, the page will be listed in the blog archive.
- If a date for "expires" has been enterend into the page data of a page and this date is past, the page cannot be reached by link any more and will not be listed, not even in the archive.
- The Keyword is taken form the page data meta tag
Keywords
. If that is empty, the keyword (i.e. blog author's name) will be taken from the first h4, h5, or h6 headline, or first bold or italic text or will be left empty as specified in the plugin config. - The teaser text is taken from the pagedata meta tag
Description
. Is that empty, the teaser text will be taken, depending on the copnfig setting, either from the beginning of the text after the headline or from the beginning of the first<p>
paragraph, with teaser character length being set in plugin config.