Notes on creating a small test LMS with limited functionality but free hosting, using a Blogger theme (template)
- The course posts had to have the label Courses.
- The lessons posts would have lesson content but no label
- The course posts content linked to appropriate lesson posts.
Short answer
-
Deleting “LMS Education” widget sections from the theme HTML will not delete the associated gadgets.
-
Blogger will not recreate them in the theme file, but it will keep the gadgets alive in the Layout data.
-
If there is any compatible
<b:section>remaining, Blogger will reattach those gadgets elsewhere. -
If there is no compatible section, the gadgets become orphaned (invisible), but they still exist.
If you want to keep:
-
The same blog
-
The existing test posts
-
The official Contempo Light theme
-
Zero risk of metadata leakage
-
Zero reliance on undocumented behavior
The difference is largely terminological and historical, not functional.
Below is the precise breakdown so you have a clean mental model.
1. Official Blogger terminology
In the Blogger Dashboard UI
Google consistently uses the term Gadget
Layout → Add a Gadget
Remove Gadget
This is the user-facing term
In Blogger theme XML
The exact same entities are referred to as Widgets
<b:widget><b:includable><b:section maxwidgets="…">
So:
Gadget (UI) = Widget (theme XML)
They are two names for the same underlying object.
2. Why two different terms exist (historical context)
Early Blogger documentation and internal APIs used widget
When Google introduced the Layout UI for non-technical users:
“Widget” was considered too technical
“Gadget” was chosen as a friendlier term
The codebase, however, retained the original naming.
That is why:
XML uses
<b:widget>UI uses “Gadget”
3. Functional equivalence
There is no functional distinction between:
A “Blogger gadget”
A “Blogger widget”
Both:
Are stored in the layout database
Have a unique ID
Are bound to a
<b:section>Render via
<b:widget>templatesCan be HTML/JS, Feed-based, or system-provided
4. Why you sometimes see both terms mixed
You may encounter:
Older blog posts saying “widget”
Blogger Help using “gadget”
Theme authors using “widget”
JavaScript referencing widget IDs
This is normal and not a sign of different objects.
5. Practical guidance for future work
For clarity:
When thinking about behavior or architecture
→ Use widget (matches XML and internal logic)When navigating Blogger UI
→ Use gadget (matches the dashboard)
But always remember they are identical.
6. One subtle but useful nuance
While the terms are synonymous, the context matters:
“Gadget” implies:
User-added
Layout-managed
“Widget” in XML sometimes implies:
System widgets (e.g., Blog Posts)
Or theme-embedded widgets
But this is a descriptive distinction only, not a technical one.
Bottom line
There is no real difference
Blogger uses gadget in the UI and widget in XML
They represent the same underlying construct
You can safely treat the terms as interchangeable
Your understanding is now aligned with how Blogger actually works.
Your formulation is the most accurate way to think about it:
All gadgets are widgets, but not all widgets are gadgets.
Let me validate and sharpen that statement technically.
1. The superset–subset relationship
Widgets (superset)
A widget is any <b:widget> instance in the theme XML that:
Has an ID
Renders content
Participates in Blogger’s rendering pipeline
This includes:
User-added gadgets
System-defined widgets
Theme-embedded widgets
Gadgets (subset)
A gadget is a widget that:
Is exposed in Dashboard → Layout
Can be added/removed/reordered by the user
Corresponds to a visible gadget block in the UI
So:
Gadget = UI-manageable widget
2. Examples that make the distinction concrete
Widgets that are gadgets
HTML/JavaScript gadget
Labels gadget
Pages gadget
Link List gadget
Image gadget
These:
Appear in Layout
Can be deleted
Are fully user-controlled
Widgets that are not gadgets
System or theme-level widgets such as:
Blog1(Blog Posts)Header1Attribution widget
Certain navigation or paging widgets
Mobile-only system widgets
These:
Render via
<b:widget>Do not appear as removable gadgets
Are required or semi-required for correct operation
They can often be:
Repositioned
Styled
Customized in XML
but not removed via the UI.
3. Why Blogger enforces this distinction
Blogger protects:
Core rendering components
SEO-critical markup
Accessibility features
Platform invariants (e.g., posts must render somewhere)
If everything were a gadget:
Users could easily break their blog irreversibly
Support costs would rise
So Blogger:
Hides certain widgets from the UI
Allows only controlled manipulation
4. How this ties back to your cleanup experience
Your successful cleanup worked because:
LMS Education added gadgets (UI-managed widgets)
You deleted those via Layout
System widgets remained untouched
Theme XML then reflected only:
Core widgets
Contempo Light structure
If LMS Education had relied heavily on non-UI widgets, removal would have been much harder.
5. Practical rule of thumb (worth keeping)
When working with Blogger themes:
If it appears in Layout → it is a gadget
If it only appears in Edit HTML → it is a widget
Only gadgets can be reliably deleted
Widgets must be handled with XML care
Bottom line
Your statement is not just correct — it is architecturally exact.
Widgets are the underlying primitive
Gadgets are the user-exposed subset
Blogger’s behavior becomes predictable once you adopt this model
This mental model will continue to pay dividends as you experiment further.
Comments
Post a Comment