OlderSandbox
(Created page with '== SMW == Trying to find the correct date format for SMW, the following data are properties scheduled for::2008-11-08 published on::2008-10-10 held on:=2009-03-17 […') |
(→External Data) |
||
(12 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | More recent sandbox is at [[Sandbox]] | ||
+ | |||
+ | == Today query == | ||
+ | |||
+ | Now is {{CURRENTTIME}} (Which is Servertime-2) during DST! <nowiki>using {{CURRENTIME}}</nowiki><br/> | ||
+ | Now is {{#time: H:i }} <nowiki>using {{#time: H:i }}</nowiki> | ||
+ | |||
+ | Let the weirdness begin: | ||
+ | |||
+ | <pre> | ||
+ | * This page was last modified on 20 November 2009, at 18:31. | ||
+ | * This page has been accessed 1,758 times. | ||
+ | * Content is available under Attribution-Share Alike 3.0 Unported. | ||
+ | * Privacy policy | ||
+ | * About syn2cat - HackerSpace.lu | ||
+ | * Disclaimers | ||
+ | |||
+ | Powered by MediaWiki 1.15.1 | ||
+ | </pre> | ||
+ | |||
+ | A date that has a time is > than one that does not. :(<br/> | ||
+ | This should be a workable workaround: | ||
+ | |||
+ | <pre> | ||
+ | {{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] | ||
+ | [[Is Recurring::no]] | ||
+ | [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] | ||
+ | [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 23:59]] | ||
+ | | ?StartDate= | ||
+ | | intro='''TODAY''':_ | ||
+ | | searchlabel= | ||
+ | | sort=StartDate | ||
+ | | limit=1 | ||
+ | | format=list | ||
+ | }} | ||
+ | </pre> | ||
+ | {{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] | ||
+ | [[Is Recurring::no]] | ||
+ | [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] | ||
+ | [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 23:59]] | ||
+ | | ?StartDate= | ||
+ | | intro='''TODAY''':_ | ||
+ | | searchlabel= | ||
+ | | sort=StartDate | ||
+ | | limit=3 | ||
+ | | format=list | ||
+ | }} | ||
+ | |||
+ | And with Currenttime instead of 00:00: (which isn't really what the TODAY query is all about.) | ||
+ | {{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] | ||
+ | [[Is Recurring::no]] | ||
+ | [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}} ]] | ||
+ | [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 23:59]] | ||
+ | | ?StartDate= | ||
+ | | intro='''TODAY''':_ | ||
+ | | searchlabel= | ||
+ | | sort=StartDate | ||
+ | | limit=1 | ||
+ | | format=list | ||
+ | }} | ||
+ | |||
+ | As well as a NOW query: | ||
+ | {{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] | ||
+ | [[Is Recurring::no]] | ||
+ | [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}} ]] | ||
+ | [[EndDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}} ]] | ||
+ | | ?StartDate= | ||
+ | | intro='''NOW''':_ | ||
+ | | searchlabel= | ||
+ | | sort=StartDate | ||
+ | | limit=1 | ||
+ | | format=list | ||
+ | }} | ||
+ | |||
+ | ==External Data == | ||
+ | |||
+ | See dev.hacker.lu | ||
+ | |||
+ | == OggHandler == | ||
+ | * [[File:Episode One.bis.ogg|noicon]] | ||
+ | * [[File:Episode One.bis.ogg|noplayer]] | ||
+ | * [[File:Episode One.bis.ogg|Download]] | ||
+ | * [[Media:Episode One.bis.ogg]] | ||
+ | |||
+ | == FlashMP3 == | ||
+ | |||
+ | Howto: http://www.mediawiki.org/wiki/Extension:FlashMP3 | ||
+ | |||
+ | * <flashmp3>02 - Mineralogique.mp3</flashmp3> | ||
+ | |||
+ | == amazon == | ||
+ | Note: if you don't see anything, maybe try turning Adblock off :D<br/> | ||
+ | Single box: <amazon type="single" asin="0764588877">Circuit Bending</amazon><br/> | ||
+ | Single direkt link without preview: <amazon type="link" asin="0141000511">Hackers</amazon><br/> | ||
+ | Single direkt link with preview: <amazon type="link" preview="true" asin="0764588877">Circuit Bending</amazon><br/> | ||
+ | Single search link: <amazon type="link" keywords="hacker, hacking" limitto="english-books">Books for Hackers</amazon> | ||
+ | |||
+ | == Workshops == | ||
+ | Without recurring events: | ||
+ | |||
+ | {{#ask: [[Category:Workshop]] [[Is Recurring::no]] | ||
+ | [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] | ||
+ | [[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}]] | ||
+ | | mainlabel=Workshop | ||
+ | | sort=StartDate | ||
+ | | order=asc | ||
+ | | format=broadtable | ||
+ | | default=There are currently no workshops scheduled.<br/>[[Form:Workshop|Propose one]]! | ||
+ | | limit=99 | ||
+ | | ? StartDate = From | ||
+ | | ? EndDate = Till | ||
+ | | ? Location | ||
+ | | ? Has Contact=Contact | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | With recurring events: | ||
+ | {{#ask: [[Category:Workshop]] | ||
+ | [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] | ||
+ | [[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}]] | ||
+ | | mainlabel=Workshop | ||
+ | | sort=StartDate | ||
+ | | order=asc | ||
+ | | format=broadtable | ||
+ | | default=There are currently no workshops scheduled.<br/>[[Form:Workshop|Propose one]]! | ||
+ | | limit=99 | ||
+ | | ? StartDate = From | ||
+ | | ? EndDate = Till | ||
+ | | ? Location | ||
+ | | ? Has Contact=Contact | ||
+ | }} | ||
+ | |||
+ | |||
== SMW == | == SMW == | ||
Line 59: | Line 192: | ||
==Category:Workshop== | ==Category:Workshop== | ||
− | <pre>{{#ask:[[Category:Workshop||Event]] |mainlabel=Workshop | ? StartDate = When|? | + | <pre>{{#ask:[[Category:Workshop||Event]] |mainlabel=Workshop | ? StartDate = When|? Has location| |
?Category |format=table|limit=5|outro=see our [[calendar]] for a complete list}}</pre> | ?Category |format=table|limit=5|outro=see our [[calendar]] for a complete list}}</pre> | ||
{{#ask:[[Category:Workshop||Event]] |mainlabel = Workshop | ? StartDate = When | {{#ask:[[Category:Workshop||Event]] |mainlabel = Workshop | ? StartDate = When | ||
− | |? | + | |? Has location| ?Category| format=table| headers=show|limit=5|outro=see our [[calendar]] for a complete list}} |
==Events RSS== | ==Events RSS== | ||
Line 97: | Line 230: | ||
<!-- amazon context links experiment --> | <!-- amazon context links experiment --> | ||
<amazon type="context"></amazon> | <amazon type="context"></amazon> | ||
+ | |||
+ | [[Category:Sandbox]] |
Latest revision as of 17:36, 22 October 2010
More recent sandbox is at Sandbox
Contents |
[edit] Today query
Now is 11:12 (Which is Servertime-2) during DST! using {{CURRENTIME}}
Now is 11:12 using {{#time: H:i }}
Let the weirdness begin:
* This page was last modified on 20 November 2009, at 18:31. * This page has been accessed 1,758 times. * Content is available under Attribution-Share Alike 3.0 Unported. * Privacy policy * About syn2cat - HackerSpace.lu * Disclaimers Powered by MediaWiki 1.15.1
A date that has a time is > than one that does not. :(
This should be a workable workaround:
{{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] [[Is Recurring::no]] [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 23:59]] | ?StartDate= | intro='''TODAY''':_ | searchlabel= | sort=StartDate | limit=1 | format=list }}
And with Currenttime instead of 00:00: (which isn't really what the TODAY query is all about.)
As well as a NOW query:
NOW: Arduino Soldering (15 March 2009 15:00:00)
[edit] External Data
See dev.hacker.lu
[edit] OggHandler
- File:Episode One.bis.ogg
- File:Episode One.bis.ogg
- File:Episode One.bis.ogg
- Media:Episode One.bis.ogg
[edit] FlashMP3
Howto: http://www.mediawiki.org/wiki/Extension:FlashMP3
-
Error: file
02 - Mineralogique.mp3
not found
[edit] amazon
Note: if you don't see anything, maybe try turning Adblock off :D
Single box:
Single direkt link without preview: Hackers
Single direkt link with preview: Circuit Bending
Single search link: Books for Hackers[edit] Workshops
Without recurring events:
There are currently no workshops scheduled.
Propose one!
With recurring events: There are currently no workshops scheduled.
Propose one!
[edit] SMW
Trying to find the correct date format for SMW, the following data are properties
2008-11-08 2008-10-10 2009-03-17 Jang deBlannen
[edit] Gallery Test
[edit] Modified at
{{#show: Sandbox | ?Modified at|?published on|?scheduled for| format=table}}
[edit] Persons
{{#show: Sandbox | ?Person| format=table}}
{{#show: {{PAGENAME}} | ?Person| format=plain}}
{{#ask: [[Category:Event]] | ?Person| format=table}}
{{#ask: [[Category:Person]] | ?firstname | ?lastname | ?url = homepage | format=vcard }}
[edit] Projects debugging
[edit] Category:Workshop
{{#ask:[[Category:Workshop||Event]] |mainlabel=Workshop | ? StartDate = When|? Has location| ?Category |format=table|limit=5|outro=see our [[calendar]] for a complete list}}
calendar for a complete list[edit] Events RSS
[edit] Semantic Maps
small map
Loading map...
[edit] Links
{{#show: Links | ?url | format=rss }}