Coder Social home page Coder Social logo

bengreeley / imodulesevents Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 116 KB

Displays an RSS feed of iModules events in order on a WordPress website. Will also sort any RSS feeds that have descriptions starting with the date and text, which can be specified through this plugin.

PHP 100.00%

imodulesevents's Introduction

=== Plugin Name ===
Contributors: ben.greeley
Tags: events, imodules, rss, sorting
Requires at least: 3.0.1
Tested up to: 4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Displays an RSS feed of iModules events in order on a WordPress website. Will also sort any RSS feeds that have descriptions starting with the date and text, which can be specified through this plugin.

== Description ==
Some RSS feeds that return events sort the returned results as the 'pubdate' value, which results in RSS event feeds being displayed out of order.
This plugin displays an RSS feed of events in order on a WordPress website. It was primarily created to output iModules RSS feeds but will work with
any feeds that have the date that can be pulled out from the first part of the description, eg:

Sample RSS description field:
<span style="font-weight: bold">Date:</span> January 30, 2015 11:30am

Will also sort any RSS feeds that have descriptions starting with the date and text, which can be specified through this plugin.

== Installation ==

1. Upload 'imoduleevents' folder to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place the shortcode [display-sortedrss] in the page, post or widget where you wish to output the events.

Parameters:
- url: (required). URL to RSS feed to read
- count: (optional, default 3). Number of items to output
- title: (optional). If a title is to be shown above the feed output, enter it here.
- rss_item_search (optional, default '<span style="font-weight: bold">Date:</span>'). If the feed you are parsing uses a different identifier for date, specify with this variable.

== Changelog ==

= 1.0 =
* Plugin created

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.