Builds a simple weblog.
The "days" and "startDate" can also be sent in HTTP parameters, and the names are "weblog.days" and "weblog.startDate", respectively.!! Example [{INSERT WeblogPlugin}]!! Example Blog Page
Here's an example blog or "News" page showing both the entry and display plugins in use:
[{WeblogEntryPlugin entrytext='Create a new entry.'}] Note that if your entry starts with a heading it will be used as the title (e.g., "! My Title"). ---- [{WeblogPlugin days='90' allowComments='true'}]!! Questions
And how do I write the blog?? To me it seems that one should also add [{INSERT WeblogEntryPlugin}] to the same page to get the New entry button. Is there a localized version? --BorisFolgmann
Q: My blog entries seem to be dissappearing after a few days whatever the days parameter is set to. I've tried the default 180, and all. I want all the entries to stay forever. Any ideas? -- Chris Harris
Q: I would like to know how to use the pageformat parameter. Thanks. -- ilmazozz
Indeed, how to use this feature? Whatever I do the output stays same. -- juhnu
A: Quick answer: pageformat defines the way the weblog page title is formatted (i.e. Main_blogentry_ddMMYY_N)
Q: Blog entries are never shown. Files are created correctly but then nothing is displayed. I'm obviously doing something wrong. Can anyone shed a light here plz? Thnx. --ncorreia
A: One way is to set the 'days' parameter to 'all.'
A: You need to use the WeblogPlugin to display the pages created by the WeblogEntryPlugin. If the WeblogEntryPlugin is on a different page, then set you must set the page attribute of the WeblogPlugin to that page.
Q: Is it possible to show only a part of the blog-entries... for example just the first 5 lines or something else? -- MartinU :o) Thanks!
A: Unfortunately not, you would need to modify the WeblogPlugin. -- JanneJalkanen
Back to JSPWikiPlugins.