MarkupBlog API
Blog output
MarkupBlog is the module responsible for outputting your Blog. Using its methods, you have an API that will deliver a Blog suited for your needs and customised just the way you want. Although it outputs some minimal markup, you are free to design the look and feel of your Blog the way you want it. In later topics we will build two example blogs using two different CSS Frameworks. Before that, the next couple of lessons will show you how to use all the methods of MarkupBlog. We will only focus on its native methods, i.e. we will not look at any native ProcessWire method that is part of the module. The following links show you what we will cover.
- renderPosts() - Renders Blog Posts
- renderComments() - Outputs Blog Posts' Comments
- postAuthor() - A Blog Post's Author's Widget
- renderNav() - Renders various navigation
- renderCategories() - Renders Blog Categories
- renderTags() - Renders Blog Tags
- renderAuthors() - Renders Blog Authors
- getArchives() - Fetches Blog Archives
- renderArchives() - Renders Blog Archives
- findComments() - Fetches Blog Comments
- findRecentComments() - Returns a limited number of the most recent Blog Comments
- renderNextPrevPosts() - Renders links to next and previous Blog Posts
- formatDate() - Formats Blog Posts' dates as needed
- renderRSS() - Returns an RSS feed of a limited number of Blog Posts
- renderCommentsRSS() - Renders a limited RSS feed of Blog Comments
- getModuleInfo() - An internal ProcessWire method
- init() - An internal ProcessWire method
- ___install() - An internal ProcessWire method called when installing a module
- ___uninstall() - An internal ProcessWire method called when uninstalling a module