{"id":7962,"date":"2010-01-29T09:08:49","date_gmt":"2010-01-29T09:08:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ajaxed-twitter-for-wordpress\/"},"modified":"2010-06-07T10:31:38","modified_gmt":"2010-06-07T10:31:38","slug":"ajaxed-twitter-for-wordpress","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/ajaxed-twitter-for-wordpress\/","author":553296,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.1","stable_tag":"0.5.1","tested":"3.0.5","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"AJAXed Twitter for Wordpress","header_author":"Alexander Hofbauer","header_description":"","assets_banners_color":"","last_updated":"2010-06-07 10:31:38","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/derhofbauer.at\/blog\/ajaxed-twitter-plugin-for-wordpress","header_author_uri":"http:\/\/derhofbauer.at\/blog","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5243,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.3.1","0.4","0.5","0.5.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,159],"plugin_category":[56],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-7962","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax","plugin_tags-twitter","plugin_category-social-and-sharing","plugin_committers-alexh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ajaxed-twitter-for-wordpress.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is based on <a href=\"http:\/\/wordpress.org\/extend\/plugins\/twitter-for-wordpress\/\" title=\"Wordpress Plugins\">\"Twitter for Wordpress\"<\/a> 1.9.7 by <a href=\"http:\/\/rick.jinlabs.com\/\" title=\"Ricardos Homepage\">Ricardo Gonz&aacute;lez<\/a>.<\/p>\n\n<p>It supports <a href=\"http:\/\/mootools.net\/\">MooTools<\/a> as well as jQuery which comes with Wordpress and can be used as a widget.<\/p>\n\n<!--section=installation-->\n<p>You can use this plugin as a widget or add it manually to your theme. In widget-mode it depends on jQuery (the one that comes with Wordpress is sufficient).<\/p>\n\n<h4>Widget<\/h4>\n\n<p>Use the management functionality for widgets provided by Wordpress (simply drag and drop, edit the preferences, save).<\/p>\n\n<h4>Manual Installation<\/h4>\n\n<p>First of all tell the plugin (in wp_config.php) which framework to use:<\/p>\n\n<pre><code>define('AJAXED_TWITTER_FRAMEWORK', 'mootools');\n<\/code><\/pre>\n\n<p>You can also use 'both' which will allow you to add a widget and the MooTools version.<\/p>\n\n<p>I did not include a release of MooTools, so you will have to add a script tag <em>before wp_head();<\/em> like this (and of course provide that script there):<\/p>\n\n<pre><code>&lt;script type=\"text\/javascript\" src=\"&lt;?php bloginfo('stylesheet_directory'); ?&gt;\/scripts\/mootools-1.2.4-core-yc.js\"&gt;&lt;\/script&gt;\n<\/code><\/pre>\n\n<p>Then you need a PHP-file that can be called by the JavaScript part, for example you could put a file named \"twitter.php\" with the following content in your theme folder. This is only an example and you can do whatever you like to get the tweets.<\/p>\n\n<pre><code>if (!defined('DB_NAME')) {\n    require_once(\"..\/..\/..\/wp-config.php\");\n}\n\necho AJAXedTwitter::messages(array(\n    'username' =&gt; 'username'\n));\n<\/code><\/pre>\n\n<p>The Twitter-class is easy to configure (and already enqueued by the plugin).<\/p>\n\n<pre><code>var twitter = new Twitter('tweets', {\n    url: '\/blog\/wp-content\/themes\/yourtheme\/twitter.php',\n    retries: 2,\n    animate: true\n});\n<\/code><\/pre>\n\n<p>In this example the element 'tweets' (that could be e.g. in your sidebar) is replaced by a public timeline after the page is loaded.<\/p>\n\n<p>Additionally to the CSS classes provided by \"Twitter for Wordpress\" this plugins provides first\/last for list items.<\/p>\n\n<p>For more details (options, configuration) visit <a href=\"http:\/\/derhofbauer.at\/blog\/ajaxed-twitter-plugin-for-wordpress\/\" title=\"derhofbauer.at\">the plugin hompage<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Escape single quotes in passed options.<\/li>\n<li>Unset not needed options.<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Bugfixed custom title<\/li>\n<li>Implemented WP 2.8 Widget API (allows mupltiple widgets now)<\/li>\n<li>Rewrote to allow multiple instances, even MooTools and jQuery<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Widget does not depend on MooTools any more or require editing of the theme<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Fixed problem with forgotten timeout definition<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Implemented own copy of fetch_rss() for seperated cache handling<\/li>\n<li>Added option \"cache expiry\" (cache-age), defaulting to half an hour<\/li>\n<\/ul>","raw_excerpt":"AJAXed Twitter for Wordpress displays your public timeline in your blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7962"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alexh"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7962"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7962"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7962"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7962"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7962"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}