<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Adding Twitter To Your Site</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 05 Apr 2026 15:17:42 -0000</pubDate>

		<item>
			<title>tobto</title>
			<description><![CDATA[Very nice addition! Thank you!]]></description>
			<pubDate>Mon, 17 May 2010 05:47:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3108&d=0#post24596]]></link>
		</item>
		<item>
			<title>AerialAngel</title>
			<description><![CDATA[It looks like your tweets are not showing. I just checked your sites coding and i found the issue. In your Index.tpl file<br />
<br />
Remember for &quot;id:&quot; you must put in your twitter feed. so it should be <br />
<br />
id:'minoation';]]></description>
			<pubDate>Sun, 02 Aug 2009 00:58:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3108&d=0#post15327]]></link>
		</item>
		<item>
			<title>minoation</title>
			<description><![CDATA[Thanks.]]></description>
			<pubDate>Sun, 02 Aug 2009 00:25:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3108&d=0#post15323]]></link>
		</item>
		<item>
			<title>robotik</title>
			<description><![CDATA[Nice tut, easy to understand!]]></description>
			<pubDate>Sat, 01 Aug 2009 23:51:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3108&d=0#post15320]]></link>
		</item>
		<item>
			<title>AerialAngel</title>
			<description><![CDATA[So here is my tut on how to add Twitter feeds to your cotoni/seditio forum.<br />
<br />
Alternatively you can use this twitter plug in from Cotoni that is adapted for cotonti <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
<a href="http://www.cotonti.com/forums.php?m=posts&amp;q=3270">Linky</a><br />
<br />
You can view a live demo on my site here - <a href="http://fallenangels.host56.com/" rel="nofollow">http://fallenangels.host56.com/</a><br />
<br />
Some of you may have noticed some sites have a small twtter feed on their website and it will retrieve information from their twitter and display it their. Since twitter has become widely popular i think its time to speak up and show peeps how to add it <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/grin.gif" alt=":D" /><br />
<br />
<strong><span style="color:#8AE234">Step 1</span></strong><br />
<a href="http://code.google.com/p/twitterjs/downloads/list" rel="nofollow">Download Twitter 1.12.2</a><br />
Rename the file to twitter.js<br />
<br />
---------------------------------------------<br />
<br />
<strong><span style="color:#8AE234">Step 2</span></strong><br />
Go to your file manager (where your uploaded cotoni files are). Go to &quot;JS&quot; folder. Upload the twitter.js<br />
<br />
---------------------------------------------<br />
<br />
<strong><span style="color:#8AE234">Step 3</span></strong><br />
We dont have to mess with the twitter.js. So now go into your header.tpl file.<br />
<br />
&lt;!-- BEGIN: HEADER --&gt;<br />
{HEADER_DOCTYPE}<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
<strong><span style="color:#75507B">&lt;head&gt;<br />
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;{HEADER_META_CONTENTTYPE}; charset={HEADER_META_CHARSET}&quot; /&gt;</span><br />
&lt;meta name=&quot;description&quot; content=&quot;{HEADER_META_DESCRIPTION}&quot; /&gt;[/color]</strong><br />
<br />
In between what is in purple above. Were going to add a little code for the feed, below here is the code.<br />
Remember to edit the &quot;Yoursite.com&quot; to your site URL. <br />
Add this code in between &lt;HEAD&gt; and &lt;META&gt;<br />
<br />
<strong><span style="color:#75507B">&lt;script src=https://www.cotonti.com/&quot;Yoursite.com/js/twitter.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;<br />
getTwitters('tweet', { <br />
  id: 'MyTwitter', <br />
  count: 5, <br />
  enableLinks: true, <br />
  ignoreReplies: false, <br />
  clearContents: true,<br />
   template: '&lt;span class=&quot;prefix&quot;&gt;&lt;img height=&quot;20&quot; width=&quot;20&quot; src=https://www.cotonti.com/&quot;%user_profile_image_url%&quot; /&gt; - &lt;/span&gt; &lt;span class=&quot;status&quot;&gt;&quot;%text%&quot;&lt;/span&gt; &lt;span class=&quot;time&quot;&gt;&lt;a href=https://www.cotonti.com/&quot;http://twitter.com/%user_screen_name%/statuses/%id%&quot;&gt; - %time%&lt;/a&gt;&lt;/span&gt;'<br />
});<br />
&lt;/script&gt;</span></strong><br />
<br />
---------------------------------------------<br />
<br />
<strong><span style="color:#8AE234">Step 4 (Reference)</span></strong><br />
<br />
id: 'MYTwitter' - This will be your twitter url. So if your Twitter is twitter.com/cotoni. Then you will just place &quot;cotoni&quot; in for the ID.<br />
<br />
count: 5, - Count means how many of your updates will be displayed. 5 will display 5 of the most recent updates, 2 will display 2 of the most recent updates, and so on.<br />
<br />
enableLinks: true - This means that it will display links that you post in your updates. If you post a link such as &quot;cotoni.com&quot; in your tweet. If this code is set to &quot;True&quot; then it will display it. if it is set to &quot;False&quot; it will not display it.<br />
ignoreReplies : false - When you reply to others, It will show up at &quot;@username - hey&quot; If you wish to disable replies to other users. Then set to true, if left at false, then it will display tweets that are replies to other usrs.<br />
<br />
clearContents : true - hmm not sure what this realy means, Just set to true.<br />
<br />
Template : -  will determine how it will look on your forum -Img src will retrieve your twitter avatar. %text% will display your tweets, %time% will post when you posted the tweet.<br />
<br />
---------------------------------------------<br />
<br />
<strong><span style="color:#8AE234">Step 5</span></strong><br />
<br />
Now lets edit the index.tpl <br />
<br />
Now add this code in any block.<br />
<strong><span style="color:#75507B">&lt;div id=&quot;tweet&quot;&gt;<br />
 &lt;p&gt;Please wait while my tweets load &lt;img src=https://www.cotonti.com/&quot;/images/indicator.gif&quot; /&gt;&lt;/p&gt;<br />
 &lt;p&gt;&lt;a href=https://www.cotonti.com/&quot;http://twitter.com/MyTwitter&quot;&gt;If you can't wait - check out what I've been twittering&lt;/a&gt;&lt;/p&gt;<br />
&lt;/div&gt;]</span></strong><br />
<br />
<br />
This is the final step. this will add the twitter to your site. You can edit the &quot;Please wait while..&quot; and &quot;If you cant wait...&quot; if you wish.]]></description>
			<pubDate>Sat, 01 Aug 2009 23:20:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3108&d=0#post15318]]></link>
		</item>
	</channel>
</rss>