QR Codes: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (adding QR extension instructions to header, checking if visible in mouseover previews)
(→‎QR Code Demo: create with example)
Line 61: Line 61:
For external URLs, here's the syntax:
For external URLs, here's the syntax:
   <nowiki>{{#qrlite:https://example.com/|format=svg|size=5|margin=0}}</nowiki>
   <nowiki>{{#qrlite:https://example.com/|format=svg|size=5|margin=0}}</nowiki>
== QR Code with border ==
{|class="wikitable"
|{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}
|-
|{{fullurl:{{FULLPAGENAME}}}}
|}
<nowiki>{|class="wikitable"
|{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}
|-
|{{fullurl:{{FULLPAGENAME}}}}
|}</nowiki>





Revision as of 21:13, 16 May 2024

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.

You can embed a QR code for any page on the wiki, of its own URL, by including this snippet on the page:

  • QR code embed snippet: {{#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.


QRLite error: QrCode class not found, you may need to run "composer install".

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:

  • QR code embed snippet: {{#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,

QR Code Demo

Here's the new QR codes (and also some styling of the URL#fragment link target). Go wild!


QRLite error: QrCode class not found, you may need to run "composer install".
QRLite error: QrCode class not found, you may need to run "composer install".
PNG
QRLite error: QrCode class not found, you may need to run "composer install".
{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}
{{#qrlite:{{fullurl:{{FULLPAGENAME}}#QR_Code_Demo}}|format=png|size=5|margin=0}}
SVG
QRLite error: QrCode class not found, you may need to run "composer install".
{{#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}}

QR Code with border

QRLite error: QrCode class not found, you may need to run "composer install".
https://replica-wiki.extremist.software/wiki/QR_Codes
{|class="wikitable"
|{{#qrlite:{{fullurl:{{FULLPAGENAME}}}}|format=png|size=5|margin=0}}
|-
|{{fullurl:{{FULLPAGENAME}}}}
|}


Documentation

Generators

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