Created
February 10, 2012 13:29
-
-
Save rcaetano/1789648 to your computer and use it in GitHub Desktop.
BTC Bounty: 3BTC - Extract links/text from twitter and group by hashtag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bounty: 3BTC | |
Expires: Feb 17, 2012 | |
Submission and questions: [email protected] | |
Notes: Please post your source code using a public github:gist | |
Using Node.js, render links/text as HTML from a twitter feed and group by hashtag in alphabetical order | |
(All solutions submitted and winner will be listed below) | |
1. | |
2. | |
3. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example URL: | |
http://servicename/twittername | |
Results: | |
<html> | |
<body> | |
<div id="screen_name">arsydotorg</div> | |
<div id="hashtags"> | |
<div id="hashtag"> | |
<h1>#somehashtag</h1> | |
<ul> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
</ul> | |
</div> | |
<div id="hashtag"> | |
<h1>#cooking</h1> | |
<ul> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
</ul> | |
</div> | |
<div id="hashtag"> | |
<h1>#development</h1> | |
<ul> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
<li><a href="http://the/extracted/link/from/tweet">Text from the tweet (extracting url and hashtag)</a></li> | |
</ul> | |
</div> | |
</div> | |
</body> | |
</html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment