Architecture Kata “Long Tweets”
Develop a Twitter service to help sending tweets longer than 140 characters.
If a tweet exceeds 140 chars it will be shortened before posting it on Twitter – and a URL is appended pointing to the full text.
This poem:
In Xanadu did Kubla Khan
A stately pleasure-dome decree:
Where Alph, the sacred river, ran
…
And here were forests ancient as the hills,
Enfolding sunny spots of greenery.
S.T. Coleridge
Enfolding sunny spots of greenery.
S.T. Coleridge would become
In Xanadu did Kubla Khan
A stately pleasure-dome decree:
Where Alph, the sacred river, ran
Through caverns measureless ...
http://bit.ly/10XqH12
The page the URL at the end of the shortened text is pointing to should show the full text, the sender with her Twitter picture and the sending date:
Variation #1
The original text may contain markdown annotations which are suppressed in the shortened version published on Twitter. But the full text page should render it. (Implement at least # (H1), ## (H2), * (bold), _ (italic).
“Ich bin der Gründer von Majer Consulting. In der Welt der SAP bin ich seit 1998 unterwegs, habe in dieser Zeit zahlreiche Projekte als Entwickler, Architekt oder Coach unterstützt und eine große Leidenschaft für Software-Engineering, Software-Test und agilen Entwicklungsmethoden wie TDD entwickelt. Wenn ich nicht im Kundeneinsatz bin oder Seminare halte, spreche ich auf Konferenzen oder schreibe an meinem nächsten Buch.”