OlderSandbox
m (→External Data) |
m (→External Data: removed width) |
||
Line 99: | Line 99: | ||
#display_points: | #display_points: | ||
{{#for_external_table:{{{coordinate}}}~{{{hackerspace}}}; }} | {{#for_external_table:{{{coordinate}}}~{{{hackerspace}}}; }} | ||
− | |||
− | |||
}} | }} | ||
Revision as of 16:55, 22 October 2010
More recent sandbox is at Sandbox
Contents |
Today query
Now is 22:24 (Which is Servertime-2) during DST! using {{CURRENTIME}}
Now is 22:24 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)
External Data
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}}.
trying to get hackerspaces and their coordinates: {{#get_web_data: | url=http://hackerspaces.org/wiki/Special:Ask/-5B-5BCategory:Hackerspace-5D-5D-0A-5B-5BHas-20coordinates::%2B-5D-5D/-3FHas-20coordinates/format%3Dcsv/sep%3D,/mainlabel%3Dhackerspace/headers%3Dshow/limit%3D600 |format=csv with header |data=hackerspace=hackerspace,coordinate=Has coordinates }}
OggHandler
- File:Episode One.bis.ogg
- File:Episode One.bis.ogg
- File:Episode One.bis.ogg
- Media:Episode One.bis.ogg
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 HackersWorkshops
Without recurring events:
There are currently no workshops scheduled.
Propose one!
With recurring events: There are currently no workshops scheduled.
Propose one!
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
Gallery Test
Modified at
{{#show: Sandbox | ?Modified at|?published on|?scheduled for| format=table}}
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 }}
Projects debugging
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 listEvents RSS
Semantic Maps
small map
Loading map...
Links
{{#show: Links | ?url | format=rss }}