Description
This plugin works in combination with the plattform http://www.mytweetmag.com and allows you to integrate rss-feeds from mytweetmag into your wordpress-blog.
There are two ways to integrate the feeds: 1. with a widget on the sidebar 1. with a shortcode in a static -page 1. with php
PHP-USAGE:
Use following code in Templates of the Theme
Example: <?php MyTweetMag(10, "mytweetmag"); ?>
All params with default-values:
$display = 5
$username = ''
$before_desc = '<br/>', $displaydescriptions = 0, $after_desc = ''
$html = 1
$truncatedescchar = 200
$truncatedescstring = ' ... '
$truncatetitlechar = ''
$truncatetitlestring = ' ... '
$before_date = '<br/><small>'
$date = 0
$after_date = '</small>'
$date_format = ''
$before_creator = '<br/><small>'
$creator = 0
$after_creator = '</small>'
$start_items = '<ul class='mtm'>'
$end_items = '</ul>'
$start_item = '<li>'
$end_item = '</li>'
$target = 'self'
$rel = 'follow'
$charsetscan = 0
$debug = 0
$before_noitems = '<p>'
$noitems = 'No items, feed is empty.'
$after_noitems = '</p>'
$before_error = '<p>'
$error = 'Error: Feed has a error or is not valid'
$after_error = '</p>'
$paging = 0
$prev_paging_link = '« Previous'
$next_paging_link = 'Next »'
$prev_paging_title = 'more items'
$next_paging_title = 'more items'
$use_simplepie = 1
$view = 1
SHORTCODE-USAGE:
use the following code in post or pages
Example: [MyTweetMag display=’5′ username=” target=’self’]
All params with default-values:
'display' => 5
'username' => ''
'before_desc' => '<br/>'
'displaydescriptions' => 1
'after_desc' => ''
'html' => 1
'truncatedescchar' => ''
'truncatedescstring' => ' ... '
'truncatetitlechar' => ''
'truncatetitlestring' => ' ... '
'before_meta' => '<br/><small>'
'meta' => 0
'after_meta' => '</small>'
'start_items' => '<ul class='mtm'>'
'end_items' => '</ul>'
'start_item' => '<li>'
'end_item' => '</li>'
'target' => 'self'
'rel' => 'follow'
'charsetscan' => 0
'debug' => 0
'before_noitems' => '<p>'
'noitems' => __('No items, feed is empty.', FB_MTM_TEXTDOMAIN)
'after_noitems' => '</p>'
'before_error' => '<p>'
'error' => __('Error: Feed has a error or is not valid', FB_MTM_TEXTDOMAIN)
'after_error' => '</p>'
'paging' => 0
'prev_paging_link' => __('« Previous', FB_MTM_TEXTDOMAIN)
'next_paging_link' => __('Next »', FB_MTM_TEXTDOMAIN)
'prev_paging_title' => __('more items', FB_MTM_TEXTDOMAIN)
'next_paging_title' => __('more items', FB_MTM_TEXTDOMAIN)
'use_simplepie' => 1
'view' => 0
Screenshots
Installation
- Upload the folder “mytweetmag” to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to the widget-section of WordPress and integrate the MyTweetMag-Widget in your sidebar or
- Create a page and integrate the shortcode using the “MyTweetMag”-button in the edit-bar.
FAQ
How can I integrate a rss-feed of the MyTweetMag-plattform?
To integrate a rss-stream of MyTweetMag please add the TWITTER-NAME of the magazine-editor as username. If you don’t know the twitter-name of the editor, take the last part of the MyTweetMag-URL, e.g. “mytweetmag” of the URL http://www.mytweetmag.com/mytweetmag .
Can I integrate a rss-feed which is not from mytweetmag?
No. The MyTweetMag-Plugin is especially designed for the MyTweetMag-plattform. If you want to integrate other rss-feeds, please use the plugin RSS-Import by Frank Bueltge.
Where can I find a more detailed user-guide of this plugin?
Please go to http://blog.mytweetmag.com and click on plugin. You will find a demo and a How-to-Use for this plugin.
How can I style the output of the plugin?
You can style the plugin with your CSS-stylesheet. You will find detailed descpriptions in the MyTweetMag-Blog mentioned above.
Contributors & Developers
“MyTweetMag” is open source software. The following people have contributed to this plugin.
Translate “MyTweetMag” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.