twittertex v0.2.0 Twittertex

Twittertex formats the raw JSON of a tweet into HTML by reconstructing pretty links and so on from the entities embedded.

Summary

Functions

Formats a classic (non-extended) tweet into HTML

Formats an extended tweet into HTML

Formats a tweet (classic or extended) into HTML

Functions

format_classic_tweet(tweet)

Specs

format_classic_tweet(%{}) :: String.t

Formats a classic (non-extended) tweet into HTML.

Returns a String of HTML.

format_extended_tweet(tweet)

Specs

format_extended_tweet(%{}) :: String.t

Formats an extended tweet into HTML.

Returns a String of HTML.

format_tweet(tweet)

Specs

format_tweet(%{}) :: String.t

Formats a tweet (classic or extended) into HTML.

Returns a String of HTML.