Posted by emartos on April 22, 2010 at 1:54am
Jump to:
Issue Summary
I was using Tweetmeme module in my site, but I always received a timeout error. My server performance is not the problem.
Now, I've taken the following approach in my node-blog.tpl.php template:
<?php global $base_url; ?>
<script type="text/javascript">
tweetmeme_url = '<?php print $base_url; ?>/<?php print $node_url ?>';
</script>
<div class="node-title">
<?php if ($page == 0): ?>
<div style="float: left"><h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title; ?></a></h2></div><div class="tweetmeme tweetmeme-button"><script type="text/javascript" src="<?php print $base_url; ?>/misc/button.js"></script></div>
<?php elseif ($page != 0): ?>
<h2><span style="float: left"><?php print $title; ?></span></h2><div class="tweetmeme tweetmeme-button"><script type="text/javascript" src="<?php print $base_url; ?>/misc/button.js"></script></div>
<?php endif; ?>
<?php if ($submitted): ?>
<div class="submitted"><?php print $submitted; ?></div>
<?php endif; ?>
</div>You may see it in action here.
What could be the problem?
Thanks in advance!
Comments
#1
I don't use this module, I'm using the direct Tweetmeme code and I get the same program. I haven't been on twitter.com for long but I get over capacity message several times a day when I'm on the website. That could be the problem.
#2
I have the same problem. I was called in to work on a site where they're using both the TweetMeme module and the direct code, and neither work at all. Every time either is clicked they redirect to http://tweetmeme.com/about/fail_timeout.