NP_RSSButtons.php

This plugin inserts a button/link to facilitate subscibing to a number of news reader or page indexing sites.

General Plugin info
Author: Frank Truscott
Current Version: 0.3.01
Download: NP_RSSButtons.zip (including the buttons, 32KB)
Code: Code
Demo: Example
Forum Thread: here

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin at the plugin manager in the Nucleus admin panel
  3. Change your skin appropiate to your wishes.

How to use the plugin

Insert in the skin, where you want the icon button to appear:

<%RSSButtons(buttonname)%>

where buttonname is one of the following:

  • rss
  • xml
  • google
  • delicious
  • yahoo
  • bloglines
  • newsgator
  • msn
  • feedster
  • aol
  • furl
  • rojo

Example:

This is the code used to display all buttons in the sidebar of the default skin:

<%if(skintype,error)%><%else%>
<%if(skintype,member)%><%else%>
<div class="sidebar">
<dl class="sidebardl">
<dt>Subscribe </dt>
<dd><%RSSButtons(rss)%><br />
<%RSSButtons(xml)%><br />
<%RSSButtons(google)%><br />
<%RSSButtons(delicious)%><br />
<%RSSButtons(yahoo)%><br />
<%RSSButtons(bloglines)%><br />
<%RSSButtons(newsgator)%><br />
<%RSSButtons(msn)%><br />
<%RSSButtons(feedster)%><br />
<%RSSButtons(aol)%><br />
<%RSSButtons(furl)%><br />
<%RSSButtons(rojo)%><br /></dd>
</dl>
</div>
<%endif%><%endif%>

Available SkinVars and/or TemplateVars

Options

  • Path to directory containing xml-rss2.php. Should end with slash. Null means use site url (default: '')

Tips and Tricks

Wishlist

Bugs

History

  • Version 0.3.01, 2008-08-28 fix XHTML Compliance bug
  • Version 0.3, 2006-04-26 Fix so doesn't throw fatal error when called from non-blog page (i.e. $blog is not set)
  • Version 0.2, 2006-03-31 Made XHTML Strict 1.0 valid
  • Version 0.1, 2006-03-30
    • initial release
np_rssbuttons.txt · Last modified: 2008/09/26 21:44 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki