Sandbox
m (→Real deal) |
m (→counting properties) |
||
Line 59: | Line 59: | ||
==counting properties == | ==counting properties == | ||
+ | <pre>{{#ask: [[Mailing-Lists]] | ?Mailing list |format=count}} <br/></pre> | ||
At the moment of writing, this should be 5, and it is: {{#ask: [[Mailing-Lists]] | ?Mailing list |format=count}} <br/> | At the moment of writing, this should be 5, and it is: {{#ask: [[Mailing-Lists]] | ?Mailing list |format=count}} <br/> | ||
Either the query is wrong or SMW is very buggy. | Either the query is wrong or SMW is very buggy. | ||
+ | |||
+ | If we list them, we see that it seems to be 1 page with 5 instances of that property: | ||
+ | {{#ask: [[Mailing-Lists]] | ?Mailing list |format=ol}} <br/> | ||
==tagcloud== | ==tagcloud== |
Revision as of 20:32, 3 March 2010
Contents |
Frontpage Sandbox
Span 2 cols | 1 col | |
1 col | span 2 cols |
Real deal
|
||||||||||
|
counting properties
{{#ask: [[Mailing-Lists]] | ?Mailing list |format=count}} <br/>
At the moment of writing, this should be 5, and it is: 1
Either the query is wrong or SMW is very buggy.
If we list them, we see that it seems to be 1 page with 5 instances of that property:
- Communicate (Mailing list syn2cat-announce, syn2cat-discuss, graffitiresearchlab)
tagcloud
<tagcloud/>
percentage meter
Pledged: € 28 (66.7%) | Missing: € 14 (33.3%) |
Poll
<poll> Do you like this extension? Yes No I don't know yet. </poll>
Today query
Now is 21:58 (Which is Servertime-1) ?!
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)
External Data
asking for events from our wiki
{{#get_external_data:https://www.hackerspace.lu/wiki/Special:Ask?title=Special%3AAsk&q=%0D%0AStartDate::+&po=%3FStartDate&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,|CSV with Header|event=|startdate=StartDate}}
{{#for_external_table: * {{{event}}} starts on {{{startdate}}}
}}
asking for external data from hackerspaces.org
{{#get_external_data:http://hackerspaces.org/wiki/Special:Ask?title=Special%3AAsk&q=%0D%0A&po=%3FStart%20date%0D%0A%3Ftitle%0D%0A&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,%7CCSV with Header|event=title|startdate=Start date}}
{{#for_external_table: * {{{event}}} has {{{startdate}}}
}}
asking for opendoors startdate from our wiki {{#get_external_data:https://www.hackerspace.lu/wiki/Special:Ask/-5B-5BOpenDoors-5D-5D/-3FStartDate/-3FEndDate/format%3Dcsv/sep%3D,%7Ccsv with header|sdate=StartDate|edate=EndDate}}
- Opendoors has StartDate {{#external_value:sdate}} and ends on {{#external_value:edate}}
asking for smw sample data from semanticweb.org: {{#get_external_data:http://semanticweb.org/wiki/Special:Ask/-5B-5BGermany-5D-5D/-3FBorders/-3FPopulation/-3FArea/format%3Dcsv/sep%3D,%7Ccsv with header|bordered countries=borders|population=population|area=area}}
- Germany has area {{#external_value:area}}.
OggHandler
FlashMP3
Howto: http://www.mediawiki.org/wiki/Extension:FlashMP3
-
Error: file
02 - Mineralogique.mp3
not found
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 HackersOlder Sandbox stuff on Sandbox/2
Workshops
Without recurring events:
There are currently no workshops scheduled.
Propose one!
With recurring events: There are currently no workshops scheduled.
Propose one!Improved Calendar
November 2024 Monday Tuesday Wednesday Thursday Friday Saturday Sunday 282930311234567891011121314151617181920212223242526272829301
More sandboxing: Sandbox/2