Plugin / RSSPhoto
Spencer KellisInstallation
Installation
RSSPhoto install simply requires creating a writable directory in wp-content/cache
to store thumbnails, and installing/activating the plugin itself:
- If it doesn’t already exist, create the directory
wp-content/cache
and give it permissions of 755 - Upload all files to the
wp-content/plugins/rssphoto
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
To use the widget:
- Navigate to the ‘Widgets’ section of the ‘Appearance’ menu in WordPress
- Drag the widget to the sidebar
- Configure the widget as needed
To use the shortcode:
- Edit the page you want to display the images
-
Add the following text to the page:
[rssphoto url=”http://your.url.com/feed.xml”]
-
Include any of the following attributes (see descriptions of these settings below)
- title=”Title”
- url=”http://your.url.com/feed.xml”
- height=150
- width=185
- img_sel=”Most Recent”
- num_img=1
- item_sel=”Random”
- num_item=10
- show_title=1
- show_img_title=1
- output=”Slideshow2″
- interval=6000
- min_size=10
- max_size=500
To integrate with a theme:
- The plugin needs to be installed and activated.
- Copy and paste the contents of the file
RSSPhotoTheme.functions.php
to the end of the filefunctions.php
in your theme directory. - Declare RSSPhoto settings (multiple instances are supported).
-
Call the function
display_rssphoto()
from your theme (e.g.,sidebar.php
). An example of the last two steps:<?php $settings[0]['title']='RSSPhoto'; $settings[0]['url']='http://photography.spencerkellis.net/rss.php'; $settings[0]['height']=150; $settings[0]['width']=185; $settings[0]['img_sel']='Random'; $settings[0]['num_img']=1; $settings[0]['item_sel']='Random'; $settings[0]['num_item']=10; $settings[0]['show_title']=1; $settings[0]['show_img_title']=1; $settings[0]['output']='Slideshow2'; $settings[0]['interval']=6000; $settings[0]['before_title']='<h2>'; $settings[0]['after_title']='</h2>'; $settings[0]['before_html']='<li>'; $settings[0]['after_html']='</li>'; display_rssphoto($settings[0]); ?>
Here’s a quick description of the settings:
- (title) Title: Text that appears over the RSSPhoto image(s). “String in quotes”
- (url) URL: address of the RSS or Atom feed. “http://your.url.com/feed.xml”
- (height) Height: height of the RSSPhoto images in pixels; or, ‘variable’ to maintain the aspect ratio given the specified width (see #4). [Number]|”variable”
- (width) Width: width of the RSSPhoto images in pixels; or, ‘variable’ to maintain the aspect ratio given the specified height (see #3). [Number]|”variable”
- (img_sel) Image selection: the script can randomly select images or just display the first image in the feed item. “Random”|”Most Recent”
- (num_img) # Images per Item: how many images embedded in each feed item to display. [Number]
- (item_sel) Item Selection: RSSPhoto will choose a random feed item, or the most recent feed item. “Random”|”Most Recent”
- (num_item) # Items: choose how many feed items to display. [Number]
- (show_title) Show Title: whether to display the main RSSPhoto title over the images. 1|0
- (show_img_title) Show Image Titles: whether to display the titles of each displayed thumbnail. 1|0
- (output) Output: images will load as a slideshow or can be displayed statically. “Slideshow2″|”Slideshow”|”Static”
- (interval) Slideshow Interval: the amount of time in milliseconds to wait between image transitions for the slideshows. [Number]
Note that for the height
and width
properties you should only set one or the other to “variable”, since RSSPhoto will use the other integer-valued dimension to fix the aspect ratio.
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
This plugin has been closed.
Languages
The plugin hasn't been transalated in any language other than English.
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.