I was having a problem with ampersands (& amp;) in the titles not getting send to the twitter status correctly.
To solve this in short n tweet I edited lines 118 and 119 so it would also swap “& amp;” with “% 26” and that seems to do the job
seems the forums are converting the encoded characters. Remove the spaces in “& amp;” and “% 26”
$search = array("‘", "’", "“", "”", "–", "—", "& amp;");
$replace = array("'", "'", '"', '"','-','--', '% 26');
For some reason I can’t seem to get this plugin working.
I’m using PB 2.0.1, Build 20100215
I’ve made sure it’s the PB2.0 compatible version and that it’s in the third party folder with the same name eg:
system/expressionengine/third_party/shortntweet/pi.shortntweet.php
And it’s coming up when I view my plugins in the admin.
However when I try and use it eg:
{exp:shortntweet title="{title}" url="{url_title_path=weblog/item}" short_url="bit.ly"}
<li><a href="http://{twt:twitter_url}{twt:title}">Tweet this thang</a></li>
{/exp:shortntweet}
I keep getting:
Error The following tag has a syntax error: {exp:shortntweet} Please correct the syntax in your template.
Any ideas?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.