How frappe/blog works
This Frappe app supports authoring and publishing blog posts, organizing them by category, and presenting posts on the website. The main workflow is to configure blog behavior, create a post with a blogger and category, publish it, then serve listings, individual post pages, and an RSS feed. Post pages also expose comments, likes, sharing, and calls to action; blogger records and settings provide supporting domain data. Source excerpts show the post, settings, category, like, and RSS behavior, but not all templates or comment implementation, so those subsystem links are limited to documented or visible wiring.
Main entry points: blog_post.py Blog posts · blog_settings.py Blog settings · rss.py RSS feed · hooks.py Frappe web hooks
Components 15
Blog authoring
- Post editor
blog/blog/doctype/blog_post/blog_post.js - Blog posts
blog/blog/doctype/blog_post/blog_post.py - Categories
blog/blog/doctype/blog_category/blog_category.py - Blogger profiles
blog/blog/doctype/blogger/blogger.py
Website publishing
- Blog listing
blog/blog/doctype/blog_post/blog_post.py - Post page
blog/blog/doctype/blog_post/blog_post.py - Category page
blog/blog/doctype/blog_category/blog_category.py - RSS feed
blog/www/rss.py
Reader engagement
Blog configuration
- Blog settings
blog/blog/doctype/blog_settings/blog_settings.py - App access
blog/__init__.py - Frappe web hooks
blog/hooks.py
Other components
- Blog reader
- Frappe platform
Connections 15
- Blog reader → Blog listing: browses
README.md - Post editor → Blog posts: updates
blog/blog/doctype/blog_post/blog_post.js - Blog posts → Categories: resolves category
blog/blog/doctype/blog_post/blog_post.py - Blog posts → Blogger profiles: loads profile
blog/blog/doctype/blog_post/blog_post.py - Blog listing → Blog posts: queries published
blog/blog/doctype/blog_post/blog_post.py - Post page → Blog settings: reads options
blog/blog/doctype/blog_post/blog_post.py - Post page → Comments: loads comments
blog/blog/doctype/blog_post/blog_post.py - Post page → Likes: loads likes
blog/blog/doctype/blog_post/blog_post.py - Category page → Blog posts: lists posts
- RSS feed → Blog posts: queries published
blog/www/rss.py - RSS feed → Blog settings: reads feed text
blog/www/rss.py - Likes → Blog settings: gets rate limit
blog/templates/includes/likes/likes.py - Frappe web hooks → Comments: registers comment event
blog/hooks.py - Frappe web hooks → Blog settings: configures permissions
blog/hooks.py - Frappe platform → App access: checks access