
Widget Form with default values
It displays a list of feed items from a given feed URL. You can select cache recreation frequency, the number of displayable news and whether you want publication date, time (and in which format), an excerpt and reference to the plugin homepage displayed or not. You can also choose to have a ordered (numbered) or unordered (bullet-point) list and to open a new windows or not, when clicking on the linked items. You can truncate title and/or excerpt to a certain amount of chars and can sort the itmes by date/time or title.
= Usage as a Shortcode =
* In Posts/Pages->Add New or Edit of your wp adminstration, select the HTML tab in the entry form;
* enter either the following (if you want to display a generic feed):
[RSSjb feed=”replace-with-the-rss-or-atom-feed-URL-you-wish-to-display”]
or the following (if you want to display a Google News feed):
[RSSjb location=”replace-with-the-Google-s-location-code-of-the-country-language-you-want-news-from”]
A list of the Google localization codes is here.
Optional attributes for Google News feeds are the following:
* local: city, state/province or zipcode (of Usa or Canada news and in English only)
* gsearch: search-words according to google search syntax. Learn a few Tips about Google search (default: none); (See note 4)
* topic: any of Google’s topic-codes (default: Top Stories). Here is a list of topic codes. (See also notes 3 and 4)
Other Optional attributes:
* filter: enter any keyword which needs to be present or avoided in the titles of the choosen feed’s items. (See Note 1)
* num: max number of items to be displayed, when all present in the feed (default: 5. If you enter 0 all the items in the feed will be displayed) (See Note 2);
* ltime: max age (in hours from publication) of item as a condition for displaying it (default: none)
* list: either “ul” or “ol” to get unordered or ordered lists (default: “ul”);
* target: either “_blank” or “_self” to get links opened in a new or the same window (default: “_blank”);
* pubdate: either true or false to display the publication date/not (default: false);
* pubtime: either true or false to display the publication time/not (default: false);
* dformat: customized date format (default: none. None displays the wp standard date format if pubdate is true);
* tformat: customized time format (default: none. None displays the wp standard time format if pubtime is true);
* pubauthor: true/false whether you allow this plugin homepage to be displayed in the footer or not (please, say yes) (default: true);
* excerpt: either true or false to display the excerpt/not (default: false);
* charex: limit the number of the ecerpt chars to be displayed (default: none = all chars will be displayed);
* chartle: limit the number of the title chars to be displayed (default: none = all chars will be displayed);
* title: title for the items list (default: none);
* link: either true or false if the title is linked to the RSS/Atom feed URL/not (default: false);
* sort: either true to display the list in alphabetic order (by title) or false to display in reverse date/time order (default: false);
* cachefeed: cache refresh for the feed (in seconds) (default: 3600 => 1h);