twitter - Truncate a tweet while leaving links intact using jQuery -


i'm using tweet echo tweets , want truncate tweet character limit possibly keep links intact (if truncated). there way this?

you try doing searching links within tweet (grab between <a> , </a>), extract them, truncate tweet "x characters minus extractedlinklength" sort of thing, add link end of truncated tweet. not sure of code should work theory.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -