hastag standards at #warblecamp

Download Hastag Standards at #warblecamp

If you can't read please download the document

Upload: terence-eden

Post on 16-Apr-2017

1.327 views

Category:

Technology


1 download

TRANSCRIPT

You Don't Know #Shit

Everything you know about hashtags is
WRONG!

Why Are You Telling Me This?

What is a hashtag?

Any string which starts with the # symbol?

Exercise

#fish&chips

Vote Bush! #Dont

My dog died #:-(

Einstein #e=mc^2

Im on bus #123

Im giving #110%

#Franais

#web2.0

#a-b

#*.*

#100

#

#TerenceEdenDoesAwesomeWarbleCampPresentations

What is a #?

# or# is U+0023 or # or #
http://en.wikipedia.org/wiki/Hash_symbol

is U+FF03 or or
Fullwidth Number Sign http://www.fileformat.info/info/unicode/char/ff03/index.htm

Letters and Numbers and...

But Not Just Numbers

I'm on bus #168

We're #1

Love the new characters in #90210

Stupid broken websites #404

Why is the answer always #42

...and foreign letters...

#Franais == #Francais

...No Punctuation...

#web2.0

...No Punctuation...

#web2.0

#IsThisTweetTooLong?

#IsThisTweetTooLong?

Where Does It All End?

EOL

Punctuation .,?!

Symbols ()[]{}/*-+:@~#

Space...

Space is big. Really big. You just won't believe how vastly, hugely, mind- bogglingly big it is.
I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space."The Hitchhiker's Guide to the Galaxy
by Douglas Adams

U+0009U+000D (control characters, containing Tab, CR and LF)

U+0020 SPACE

U+0085 NEL (control character next line)

U+00A0 NBSP (NO-BREAK SPACE)

U+1680 OGHAM SPACE MARK

U+180E MONGOLIAN VOWEL SEPARATOR

U+2000U+200A (different sorts of spaces)

U+2028 LS (LINE SEPARATOR)

U+2029 PS (PARAGRAPH SEPARATOR)

U+202F NNBSP (NARROW NO-BREAK SPACE)

U+205F MMSP (MEDIUM MATHEMATICAL SPACE)

U+3000 IDEOGRAPHIC SPACE

http://en.wikipedia.org/wiki/Whitespace_character

http://en.wikipedia.org/wiki/Space_%28punctuation%29#Table_of_spaces

One Regex To Rule Them All

preg_match_all('$(^|[^0-9A-Z&/]+)([#]+)([0-9A-Z_]*[A-Z_]+[a-z0-9_---]*)$i', $tweet, $matches);

http://github.com/mzsanford/twitter-text-php/

...One Regex to find them...

...and in the darkness bind them

But Why Is It Important?

#WarbleCamp#warblecamp#WarbleCamp!#Wrblmp

Disambiguation

#ThankYou!

Resources:http://github.com/mzsanford/twitter-text-php/http://engineering.twitter.com/http://shkspr.mobi/blog/?p=1730 http://shkspr.mobi/blog/?p=1706

Muokkaa otsikon tekstimuotoa napsauttamalla

Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso

Click to edit the title text format

@edent