Embeding "Panic Levels"
tsangk wrote on 05 Oct 2009 03:16
Panic Levels were introduced in the sidebar of the Wikidot Blog. I managed to use a variety of modules (RSS and ListPages) to embed the LATEST (as far as the RSS cache refreshes) Panic Level.
Source:
[[module Feed src="http://blog.wikidot.com/feed/pages/category/-nav/tags/red/t/Panic!"]]
[[div style="width:100%; background: red; padding: 2px; font-size:90%; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; color:yellow"]]
= Wikidot.com status: **Red** _
Forecast: **Emergency**
[[/div]]
[[/module]]
[[module Feed src="http://blog.wikidot.com/feed/pages/category/-nav/tags/orange/t/Panic!"]]
[[div style="width:100%; background: orange; padding: 2px; font-size:90%; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; color:red"]]
= Wikidot.com status: **Orange** _
[http://www.wikidot.com/current-problems Forecast:] **Not 100% stable**
[[/div]]
[[/module]]
[[module Feed src="http://blog.wikidot.com/feed/pages/category/-nav/tags/yellow/t/Panic!"]]
[[div style="width:100%; background: #FF6; padding: 2px; font-size:90%; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; color:blue"]]
= Wikidot.com status: **Yellow** _
Forecast: **Some hiccups**
[[/div]]
[[/module]]
[[module Feed src="http://blog.wikidot.com/feed/pages/category/-nav/tags/green/t/Panic!"]]
[[div style="width:100%; background: green; padding: 2px; font-size:90%; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; color:white"]]
= Wikidot.com status: **Green** _
Forecast: **Normal traffic**
[[/div]]
[[/module]]
[[module Feed src="http://blog.wikidot.com/feed/pages/category/-nav/tags/blue/t/Panic!"]]
[[div style="width:100%; background: #36F; padding: 2px; font-size:90%; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; color:white"]]
= Wikidot.com status: **Blue** _
Forecast: **Fast & smooth** _
24h avg: 8.8Mbps, 53% load
[[/div]]
[[/module]]
Which renders this:
Comments: 2
page revision: 1, last edited: 05 Oct 2009 10:06
Nice work tsangk
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Wow.
Cross-site includes would make life a lot simpler, I think.
But nice already. I'm enjoying seeing you develop your _start page; I have an idea and then look at your page and see you're already two steps ahead of me…
Portfolio