Menu

 Sinh mã QR Code

Ảnh mã QR Code .png
Một số thông tin thêm về QR Code

Specification:

A vCard contains one ore more vCard objects. The content of one vCard object is encompassed within BEGIN:VCARD and END:VCARD. All vCards must contain the VERSION property, directly after the BEGIN tag.

Reference specification for vCard 3.0 is contained in RFC 2425 and RFC 2426.

The content of a vCard contains PROPERTIES and their ATTRIBUTES in the following syntax:

          PROPERTY[;PARAMETER]:attribute[;attribute]

where PROPERTY defines the type of attribute(s) and PARAMETER can give a more specified description of the PROPERTY.

An example vCard 3.0 may look like:

BEGIN:VCARD
VERSION:3.0
N:Lastname;Surname
FN:Displayname
ORG:EVenX
URL:http://qlkhachsan.vn/
EMAIL:info@evenx.com
TEL;TYPE=voice,work,pref:+49 1234 56788
ADR;TYPE=intl,work,postal,parcel:;;Wallstr. 1;Berlin;;12345;Germany
END:VCARD

PROPERTIES

Properties available in vCard version 3.0 are listed below. They have to be separated through line breaks.
Properties can be defined in any order (except BEGIN, END, VERSION).
* = required property

vCard 3.0 Property Description Example
VERSION*: the specification used to format this vCard.The value MUST be “3.0” according to the specifications described here.
(*required)
VERSION:3.0
N*: name (semicolon separated: LASTNAME; FIRSTNAME; ADDITIONAL NAME; NAME PREFIX(Mr.,Mrs.); NAME SUFFIX) (*required)
FN*: formatted name (The way that the name is to be displayed. It can contain desired honorific prefixes, suffixes, titles.)
(*required)
ADR[;TYPE= type*[“,”type]]: (delivery) address (type = dom(domestic), intl(international)(default), postal(default), parcel(default), home, work(default))
(content fields are in order: Post Office Address; Extended Address; Street; Locality; Region; Postal Code; Country)
ADR;TYPE=dom,home,postal,parcel: ;;123 Main Street;Any Town;CA;91921;
BDAY: birthday (YYYY-MM-DD) BDAY:1991-05-15
EMAIL[;TYPE= type*[“,”type]]: eMail address (type = aol, applelink, attmail, cis, eworld, internet(default), ibmmail, mcimail, powershare, prodigy, tlx, x400) EMAIL:info@evenx.com
EMAIL;TYPE=internet:info@evenx.com
GEO: information related to the global position GEO:37.144534;-122.264581
KEY[;TYPE=type]: Public key (type = X509; PGP) KEY;ENCODING=b:SBBIEhvd2VzMS
EwHwYJKoZIhvcNAQ
kBFhJob3dlc0BuZX
LABEL[;TYPE= type*[“,”type]]: To specify formatted text corresponding to delivery address. It allows to use =0D=0A (\n) as line break for individual lines within the vCard.
(type (can be concatenated with “,”) = dom(domestic), intl(international)(default), postal(default), parcel(default), home, work(default))
LABEL;TYPE=work,dom,postal: Wallstr.1\n Berlin\nGermany
LANG: adding a language string as defined in RFC 1766 LANG:en-US
NOTE: supplemental information NOTE:This number is operational 0800 to 1730 EST\, Mon-Fri.
ORG: name and optionally the unit(s) of the organization.
First is Organization Name, remainder are Organization Units.
org-value = *[text-value “;”] text-value
ORG: Company LLC.; Development
REV: last revision , date of last update REV:2012-12-12T22:11:10Z
REV:2012-12-12
ROLE: role, occupation or business category within an organization
TEL[;TYPE= type *[“,”type]]: telephone number and type (type = PREF, WORK,
HOME, VOICE(default), FAX, MSG, CELL, PAGER, BBS, MODEM, CAR, ISDN, VIDEO)
TITLE: Job title, functional position or function TITLE:Area Administrator
TZ: Time zone TZ:-05:00
UID: represents a persistent, globally unique identifier associated with the object UID:20120515-082345- 40000F197843-0352
URL: represents Uniform Resource Locator URL:http://qlkhachsan.vn

A MeCard representation is more compact than a vCard. As a QR Code is growing due to it’s coding content this makes MeCard format more popular for 2D encoding.

 

What’s inside the MeCard?

The first characters (‘MECARD:’) tells the decoding software the type of encrypted data.
Then you can specify your address information. Note, that no field is compulsory, it’s is possible to skip fields or repeat each field. However, your decoding app will be accept more than one phone number but it could cause problems to set multiple names.

 

The data fields are as follows:

Property Description and specification
N: contact name (designated as text string OR if comma separated: LASTNAME, FIRSTNAME)
SOUND: contact name in Japanese(Kana), same specs as N:
TEL: phone number
TEL-AV: videophone number
EMAIL: eMail address
NOTE: memo text
BDAY: birthday (YYYMMDD)
ADR: address (designated as text string OR if comma separated in order: PO BOX, ROOM NO., HOUSE NO., CITY, PREFECTURE, ZIP CODE, COUNTRY)
URL: website
NICKNAME: display name

Full specifications and compatibility information are available at:
http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/addressbook/index.html

Now the data fields are concatenated, each separated with a semicolon.
The resulting MeCard can look like:

    MECARD:
    NICKNAME: EVE;
    TEL:+1111111111;
    TEL:+2222222222;
    EMAIL:kk@EVEnX.com;
    URL:http://qlkhachsan.vn;

If you take the time to look deeper into the code you can see the potential problems with the MeCard format. There is no indication, which type a phone number is, and so the reading app cannot distinguish between WORK, MOBILE, FAX and HOME. That’s why they could be all set as standard numbers and you have to manually set them to the right type after reading.

How to create traceable QR Codes?

QR Codes provide quick and comfortable access to online resources.

But how to measure the success of a QR Code campaign? You have to generate a QR Code, that contains a link with tracking ability to get information about the response.

This embedded link has to be a unique entry to your site. Then you can refer to the origin of the website access. Your clients scan this code and are directed to the specified URL. This allows you to get detailed information on how your QR Code campaign appeals to your audience and helps to measure the success of your click-through campaign.

 
There are 2 approaches to create a traceable link:

1. Use intern redirection

Create a QR Code that contains a link to a campaign name on your website, i.e.

    qlkhachsan.vn/ad/XJx5

The campaign name redirects to a target you want, i.e.

    http://qlkhachsan.vn/?p=1581

This allows you to change the target. As many QR Codes are printed, this variability can save a lot of time and money, if there are changes afterwards.
To track the access and get helpful statistics you can use Google Analytics.

2. Use extern URL-shortener

You can use URL-shortener like http://goo.gl or http://www.bitly.com shorten this URL:

    http://qlkhachsan.vn/?p=1581

and get the shortened URL beyond:

    http://goo.gl/4NSes

Generate a QR Code, that contains this shortened URL.
If someone reaches your site through this URL, you can analyze the access via the built-in analytic tools the URL-shortener provides, i.e.

    http://goo.gl/#analytics/goo.gl/4NSes/all_time

Additionally you can use Google Analytics so see the referrer link stats.
The approach of using URL-shortener can result in a smaller QR Code because of the short URL, that has to be encrypted. But the recipient of your QR Code would be more solicited to open the content, if his reader shows clear, to which website he will be directed.