Publikování příspěvků z Twitteru

Twitter Feed for WordPress…witter-feed/

The WordPress Twitter Feed Plugin lets you simply output any user's tweets into your WordPress page, template or sidebar! You can customise the username, number of tweets, and style of ouput.


Twitter Widget Pro…-widget-pro/

A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It supports displaying profiles images, and even lets you control whether to display the time and date of a tweet or how log ago it happened (about 5 hours ago, etc).

Tweet Blender…eet-blender/

Tweet Blender is tag-aware and has support for multiple authors, lists, hashtags, and keywords all blended together. The plugin can show tweets from just one user or a list of users (as all other Twitter plugins do); however, it can also show tweets for a topic which you can define via Twitter hashtag or keyword. But there is more! It can also show tweets for multiple authors AND multiple lists AND multiple keywords AND multiple hashtags all blended together into a single stream.
Version 3 added a new widget that automatically shows tweets relevant to your blog post by taking post's tags and using them as keywords for Twitter search.

Latest tweets…test-tweets/

This widget displays a defined number of your latest tweets in your blog.

Vložení vlastního kódu do šablony

    // Your twitter username.
    $username = "MarekP";
    $tweetpoc = 10;
    $feed = "" . $username . "&rpp=" . $tweetpoc;
    $dopole = explode("<content type=\"html\">", file_get_contents($feed));

                $i = 0;
    foreach ($dopole as $obsah) {
        $vyhod = stristr($obsah, "</content>");
        $obsah = str_replace($vyhod, "", $obsah);
        $obsah = str_replace("&lt;", "<", $obsah);
        $obsah = str_replace("&gt;", ">", $obsah);
        $obsah = str_replace(" class=\" \"", "", $obsah);
        if ($i > 0)     echo $obsah."<br>\n";