Created
May 4, 2012 10:11
-
-
Save kanduvisla/2593793 to your computer and use it in GitHub Desktop.
Twitter atom feed
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
| <div class="tweets"> | |
| <ul id="tweets_ul"> | |
| <xsl:for-each select="twitter-feed/atom:entry"> | |
| <li> | |
| <a href="{atom:author/atom:uri}" target="_blank"> | |
| <img src="{atom:link[@rel='image']/@href}" title="{substring-before(atom:author/atom:name, ' ')}" alt="tweet van {substring-before(atom:author/atom:name, ' ')}" width="48" height="48" /> | |
| </a> | |
| <div> | |
| <strong><a href="{atom:author/atom:uri}" target="_blank"><xsl:value-of select="substring-before(atom:author/atom:name, ' ')" /></a></strong> | |
| <xsl:text> : </xsl:text> | |
| <xsl:call-template name="linkahashify"> | |
| <xsl:with-param name="tweet" select="atom:title" /> | |
| </xsl:call-template> | |
| <!--<span class="date"><em><xsl:value-of select="@date" /></em> om <em><xsl:value-of select="@time" /></em></span>--> | |
| </div> | |
| </li> | |
| </xsl:for-each> | |
| </ul> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment