OlderSandbox

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (moved Sandbox/2 to OlderSandbox)
Line 1: Line 1:
 
More recent sandbox is at [[Sandbox]]
 
More recent sandbox is at [[Sandbox]]
 +
 +
== Today query ==
 +
 +
Now is {{CURRENTTIME}} (Which is Servertime-1) ?!
 +
 +
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 ==
 +
 +
asking for events from our wiki
 +
{{#get_external_data:https://www.hackerspace.lu/wiki/Special:Ask?title=Special%3AAsk&q=[[Category%3AEvent]]%0D%0A[[StartDate%3A%3A%2B]]&po=%3FStartDate&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,|CSV with Header|event=|startdate=StartDate}}
 +
{{#for_external_table: * {{{event}}} starts on {{{startdate}}} <br/> }}
 +
 +
asking for external data from hackerspaces.org
 +
{{#get_external_data:http://hackerspaces.org/wiki/Special:Ask?title=Special%3AAsk&q=[[Category%3AEvent]]%0D%0A&po=%3FStart%20date%0D%0A%3Ftitle%0D%0A&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,|CSV with Header|event=title|startdate=Start date}}
 +
{{#for_external_table: * {{{event}}} has {{{startdate}}} <br> }}
 +
 +
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,|csv 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,|csv with header|bordered countries=borders|population=population|area=area}}
 +
* Germany has area {{#external_value:area}}.
 +
 +
== 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 ==

Revision as of 16:28, 5 April 2010

More recent sandbox is at Sandbox

Contents

Today query

Now is 12:00 (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 Hackers

Workshops

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}}

Jang deBlannen

{{#ask: [[Category:Event]] | ?Person| format=table}}
 Person
1. Large Hackerspace Convention (LHC)
1st European Summit on the Future Internet
1st anniversary
24 h electro for kids 2
25ième Foire de l'Etudiant
26C3
26C3 Dragons Everywhere
27C3
27C3 Peace Missions
28C3
29C3 - Congress everywhere
30C3 Congress Everywhere
31C3 Congress Everywhere
3d printing 101
6th FrOSCon
ADTrees in the forest
AGFeb2010
Accounting and technical challenges of Bitcoin payments
Ada Lovelace Day
Alt Party
Anno 1900
Apps Foundry Contest
Arduino Soldering
Ars Electronica 2010
ArsElectronica2009
Atari ST Knowhow Workshop 1
Atari ST Knowhow Workshop 2
Atari ST Knowhow Workshop 3
Atari ST Knowhow Workshop 4
Atari ST Knowhow Workshop 5
Atari ST Knowhow Workshop 6
Atari ST Knowhow Workshop 7
BSDCan 2010
Be e-secure: Threats, Vulnerabilities, Impacts
BeNeLux Bioinformatics Conference
Bend til it stands
Bend-a-thon
Bend-and-Blink-a-thon
Bike Workshop for Everyone
Blender 3D Basics
Bootstrap 2012-06
Bootstrap 2012-07
Bootstrap 2012-08
Bootstrap 2012-09
Bootstrap 2012-10
Bootstrap 2012-11
Bootstrap 2012-12
Bootstrap 2013-01
Bootstrap 2013-02
Bootstrap 2013-03
… further results
{{#ask: [[Category:Person]]
  | ?firstname
  | ?lastname
  | ?url = homepage
  | format=vcard 
}}

… further results

Projects debugging

Category:Workshop

{{#ask:[[Category:Workshop||Event]] |mainlabel=Workshop | ? StartDate = When|? Location| 
?Category |format=table|limit=5|outro=see our [[calendar]] for a complete list}}
WorkshopWhenLocationCategory
1. Large Hackerspace Convention (LHC)27 August 2010 00:00:00Conference
Pages with a map rendered by the Maps extension
1st European Summit on the Future Internet2 June 2010 09:30:00Conference
Pages with a map rendered by the Maps extension
1st anniversaryEvent
24 h electro for kids 215 January 2012 11:00:00U19
Event
Pages with a map rendered by the Maps extension
25ième Foire de l'Etudiant10 November 2011 08:30:00Event
Pages with a map rendered by the Maps extension
… further results
see our calendar for a complete list

Events RSS

Semantic Maps

small map


Loading map...


Links

{{#show: Links | ?url | format=rss }}

RSS

 
http://www.ytcracker.com/free-music/
http://www.doctoroctoroc.com/
http://www.chiptune.com
http://chiptunes.back2roots.org/
http://www.gainlad.com/
http://mutecitydmgs.blogspot.com/
http://chipflip.wordpress.com
http://www.schneidersladen.com/


Retrieved from "http://wiki.syn2cat.lu/w/index.php?title=OlderSandbox&oldid=7701"
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools