Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using the Twitter search in xslt to display tweets. Now I've a query like this:
<xsl:variable name="twitterUrl" select="'http://search.twitter.com/search.atom?rpp=1&q="item1"+OR+"item2"+OR+"item"+OR+from:user1+OR+from:user2+OR+from:user3'"/>
<xsl:variable name="twitterSearchFeed" select="umbraco.library:GetXmlDocumentByUrl($twitterUrl)"/>
Now I want to add an extra search option, like #hastag1, but when I add it like '+OR+#hastag1' it won't display right! What's the code for the hashtag in XSLT??
Thanx!
Hi Sander,
The hash has special meaning in a URL so you need to use the URLEncoded version of it, which is %23:
'+OR+%23hashtag1'
/Chriztian
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Use of hashtag in twitter search
I'm using the Twitter search in xslt to display tweets. Now I've a query like this:
<xsl:variable name="twitterUrl" select="'http://search.twitter.com/search.atom?rpp=1&q="item1"+OR+"item2"+OR+"item"+OR+from:user1+OR+from:user2+OR+from:user3'"/>
<xsl:variable name="twitterSearchFeed" select="umbraco.library:GetXmlDocumentByUrl($twitterUrl)"/>
Now I want to add an extra search option, like #hastag1, but when I add it like '+OR+#hastag1' it won't display right! What's the code for the hashtag in XSLT??
Thanx!
Hi Sander,
The hash has special meaning in a URL so you need to use the URLEncoded version of it, which is %23:
/Chriztian
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.