Note that there are some explanatory texts on larger screens.

plurals
  1. POfirefox: bit.ly links in the sidebar of a customised wordpress blog gives a 404 error
    primarykey
    data
    text
    <p>I have twitter status updates showing on the sidebar of the blog which often has the bit.ly or ow.ly links as well. But everytime I click on it in the firefox browser it gives me a 404 error because it tries for the following url: www.domain.com/blog/"<a href="http://bit.ly/uniquenumber" rel="nofollow noreferrer">http://bit.ly/uniquenumber</a>" instead of bit.ly/uniquenumber. </p> <p>I just checked it and it seems to work on google chrome on mac but not on firefox on mac os x. Does anybody else have similar problems. </p> <p>Below is the code of receiving the twitter status updates:</p> <pre><code>/* These prefixes and suffixes will display before and after the entire block of tweets. */ $prefix = ""; // Prefix - some text you want displayed before all your tweets. $suffix = ""; // Suffix - some text you want displayed after all your tweets. $tweetprefix = ""; // Tweet Prefix - some text you want displayed before each tweet. $tweetsuffix = "&lt;br \&gt;&lt;br \&gt;"; // Tweet Suffix - some text you want displayed after each tweet. $feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&amp;rpp=1" . $limit; function parse_feed($feed, $prefix, $tweetprefix, $tweetsuffix, $suffix) { $feed = str_replace("&amp;lt;", "&lt;", $feed); $feed = str_replace("&amp;gt;", "&gt;", $feed); $clean = explode("&lt;content type=\"html\"&gt;", $feed); $amount = count($clean) - 1; echo $prefix; for ($i = 1; $i &lt;= $amount; $i++) { echo $tweetsuffix; $cleaner = explode("&lt;/content&gt;", $clean[$i]); echo $tweetprefix; echo $cleaner[0]; echo $suffix; echo $tweetsuffix; ?&gt; &lt;img src="&lt;?php echo get_bloginfo('template_directory');?&gt;/images/side.png" alt="A line dividing the twitter updates and the open courses listing"&gt; &lt;?php } echo $suffix; } $twitterFeed = file_get_contents($feed); parse_feed($twitterFeed, $prefix, $tweetprefix, $tweetsuffix, $suffix); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload