How to convert tag-and-username-like text into proper links in a twitter message?
Posted
by Satoru.Logic
on Stack Overflow
See other posts from Stack Overflow
or by Satoru.Logic
Published on 2010-04-03T04:03:39Z
Indexed on
2010/04/03
4:13 UTC
Read the original article
Hit count: 326
Hi, all.
I'm writing a twitter-like note-taking web app.
In a page the latest 20 notes of the user will be listed, and when the user scroll to the bottom of the browser window more items will be loaded and rendered.
The initial 20 notes are part of the generated html of my django template, but the other dynamically loaded items are in json format.
I want to know how do I do the tag-and-username converting consistently.
Thanks in advance.
© Stack Overflow or respective owner