User:Strugglers/External Data Test: Difference between revisions

From BitFolk
Jump to navigation Jump to search
Tag: Reverted
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Testing==
==Testing==
In theory the below blockquote should have the contents of the URL https://strugglers.net/~andy/tmp/foo.txt


{{#get_web_data:url=https://strugglers.net/~andy/tmp/foo.txt|cache seconds=0}}
{{#get_web_data:url=https://strugglers.net/~andy/social-stats/irc.yaml
|format=yaml
|data=irc_stats_at=stats_at,irc_last_hour=messages_last_hour,irc_last_day=messages_last_day,irc_last_30day=messages_last_30day
}}


<blockquote>
{| class="wikitable" style="float:right; width:20em"
{{#external_value:__text}}
|+ Stats as of {{#external_value:irc_stats_at}} GMT
</blockquote>
|-
!colspan="3" | Messages in the last…
|-
! Hour || Day || 30 days
|- style="text-align:center"
| {{#external_value:irc_last_hour}}
| {{#external_value:irc_last_day}}
| {{#external_value:irc_last_30day}}
|}

Latest revision as of 21:57, 1 April 2024

Testing

Stats as of 2026-01-18 06:08:03 GMT
Messages in the last…
Hour Day 30 days
Error: no local variable "irc_last_hour" has been set. 0 20