QR Codes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Adding QRLite extension instructions, demo, & snippets) |
||
| Line 5: | Line 5: | ||
Stick one on a physical object encoding a link to a page that can be configured to 301 to arbitrary URLs (e.g. https://www.noisebridge.net/qr/07A72C23A7), and you get a system for [http://en.wikipedia.org/wiki/Hardlink_(homonymy) hardlinking] physical objects into cyberspace. | Stick one on a physical object encoding a link to a page that can be configured to 301 to arbitrary URLs (e.g. https://www.noisebridge.net/qr/07A72C23A7), and you get a system for [http://en.wikipedia.org/wiki/Hardlink_(homonymy) hardlinking] physical objects into cyberspace. | ||
== Extension:QRLite, on this wiki == | |||
You can embed a QR code for any page on the wiki, of its own URL, by including this snippet on the page: | |||
* <code><nowiki>{{#qrlite:{{fullurl:{{FULLPAGENAME}}#section-fragment}}|format=png|size=5|margin=0}}</nowiki></code>, prefix with a <code><nowiki><br></nowiki></code> to set it on its own line. | |||
* Include the text of the link, <code><nowiki><br>{{fullurl:{{FULLPAGENAME}}}}</nowiki></code>, in text near the image, for the others' clarity when browsing & for printing. | |||
QR codes are generated by the "QRLite" extension on this wiki, | |||
* checkable at the [[Special:Version#mw-version-ext]], | |||
* '''documented at [[mw:Extension:QRLite]]''', | |||
* or in source at [[gh:gesinn-it/QRLite]]. | |||
===QR Code Demo=== | |||
Here's the new QR codes (and also some styling of the URL#fragment link target). Go wild! | |||
<br>{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}|format=png|size=5|margin=0}} | |||
{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}}} | |||
{|class="wikitable" | |||
| PNG | |||
|{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}|format=png|size=5|margin=0}} | |||
| | |||
* Plain & simple, {{fullurl:{{FULLPAGENAME}}}}: | |||
<pre><nowiki> | |||
{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}} | |||
</nowiki></pre> | |||
* With #fragment, {{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}: | |||
<pre><nowiki> | |||
{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}|format=png|size=5|margin=0}} | |||
</nowiki></pre> | |||
|- | |||
| SVG | |||
|{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=svg|size=5|margin=0}} | |||
| | |||
<pre><nowiki> | |||
{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=svg|size=5|margin=0}} | |||
</nowiki></pre> | |||
|- | |||
| View/include the link nearby | |||
| | |||
| | |||
<pre><nowiki> | |||
<br>{{fullurl:{{FULLPAGENAME}}}} | |||
</nowiki></pre> | |||
|} | |||
For external URLs, here's the syntax: | |||
<nowiki>{{#qrlite:https://example.com/|format=svg|size=5|margin=0}}</nowiki> | |||
==Documentation== | ==Documentation== | ||
Revision as of 21:45, 6 December 2023
| Noisebridge | About | Visit | 272 | Manual | Contact | Guilds | Stuff | Events | Projects | Meetings | Donate | E |
| Guilds (Volunteer) | Maintainers | Meta | Code | Electronics | Fabrication | Games | Sewing | Music | AI | Neuro | Philosophy | Funding | Art | Security | Ham | WGs | E |
| MetaGuild | Recruiting Guilds | Volunteer | Documentation | Outreach | Working Groups | CommunityWG | Badges | E |
| Documentation | Wiki | Signage | LED Signage | Posters | Labels | QR Codes | Note-taking | NoiseFacts | NoiseManual | Nb.wtf | V · T · E |
|
QR Codes are two-dimensional barcode graphics that can encode arbitrary binary data and we use QR code stickers to label things at Noisebridge! |
Stick one on a physical object encoding a link to a page that can be configured to 301 to arbitrary URLs (e.g. https://www.noisebridge.net/qr/07A72C23A7), and you get a system for hardlinking physical objects into cyberspace.
Extension:QRLite, on this wiki
You can embed a QR code for any page on the wiki, of its own URL, by including this snippet on the page:
{{#qrlite:{{fullurl:{{FULLPAGENAME}}#section-fragment}}|format=png|size=5|margin=0}}, prefix with a<br>to set it on its own line.
- Include the text of the link,
<br>{{fullurl:{{FULLPAGENAME}}}}, in text near the image, for the others' clarity when browsing & for printing.
QR codes are generated by the "QRLite" extension on this wiki,
- checkable at the Special:Version#mw-version-ext,
- documented at mw:Extension:QRLite,
- or in source at gh:gesinn-it/QRLite.
QR Code Demo
Here's the new QR codes (and also some styling of the URL#fragment link target). Go wild!
| PNG |
{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}
{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}|format=png|size=5|margin=0}}
| |
| SVG |
{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=svg|size=5|margin=0}}
| |
| View/include the link nearby |
<br>{{fullurl:{{FULLPAGENAME}}}}
|
For external URLs, here's the syntax:
{{#qrlite:https://example.com/|format=svg|size=5|margin=0}}
Documentation
- The Wikipedia page on QR Codes is a decent overview.
- The ISO standard (208.00 CHF, ~$180 USD) developed by the original manufacturer, Denso Wave.
- Overview on Denso Wave's site
Generators
- QR Code Generator from the Zxing Project
- Call the Google Chart API with 'cht=qr'.
Software
- Zxing Project appears to be a Google-blessed software library written in Java for processing one-dimensional and two-dimensional barcodes. It is written for use on mobile phones.
- Snappr.net has an image-attched-to-email-to-text type gateway setup. snappr [at] snappr.net More info on their page
Other 2D Encodings
- Xerox PARC Dataglyphs - Embedding binary data inside of image dithering. Neat trick.