NP_NucleusNews

General Plugin info
Current Version: v0.1
Download: Download NP_NucleusNews_v01.zip
Code: NP_NucleusNews_code
Demo: Nucleus News on kgblog
Forum Thread: Thread 18680

Makes it possible to embed the Nucleus News feed in the sidebar.

Hint: NP_NucleusNews requires PHP version 5.1.0 or higher.

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin with the plugin manager in the admin area
  3. Change the options

Options

  • Default feed (default setting: http://nucleuscms.org/xml-rss2.php?full=yes)
  • Default amount of items that are shown (default setting: 5)
  • Appendix for shortened item (default setting:'…')
  • Decode utf-8 for output (default setting:'yes')
  • Default amount of charcters shown of an item (default setting: 120)
  • Template Header' (default setting:'<div class=“sidebar”><dl class=“sidebardl”><dt><%feedname%></dt>')
  • Template (default setting:'<dd><strong><a href=”<%link%>”><%title%></a>:&nbsp;</strong><%description%></dd>'.”\n”)
  • Template Footer (default setting: '</dl></div>')

How to use the plugin

Add a the skinvar to your sidebar.inc:

<%NucleusNews%>

Change the options of the plugin.

Available SkinVars

Without parameters:

<%NucleusNews%>

With the url of a RSS 2.0 feed as paramter:

<%NucleusNews(url)%>

With the url of a RSS 2.0 and the amount of entries that should be listed as paramter:

<%NucleusNews(url|amount)%>

Tips and Tricks

Wishlist

Bugs

History

  • Version 0.1 (2009-04-10)
    • initial release (only in the nucleus forum)

Plugin Review

NP_NucleusNews version 0.1 works with Nucleus CMS version 3.32 - 2009-04-11 kg
NP_NucleusNews version 0.1 works with Nucleus CMS version 3.41 - 2009-04-11 kg

nucleusnews.txt · Last modified: 2009/04/12 13:25 (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