Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

parser


jQuery SimpleRSS

jQuery SimpleRSS is a jQuery plugin to parse an RSS feed and to display the entries.

Example usage

<ul class="posts"></ul>
<script type="text/javascript>
/* <![CDATA[*/
$('ul.posts').simplerss({url:'/rssfeed'});
/* ]]> */
</script>

Available options

The following options are available:

url: '',
html: '<em><a href="{link}">{title}</a></em><br />{text}',
wrapper: 'li',
dataType: 'xml',
display: 2

url

The URL of the feed. Cross-domain is not (yet?) supported.

html

A simple HTML template used to display each element.

wrapper

The wrapper is the html tag enclosing each entry displayed. The above example uses an unordered list, hence <li>.

Another example:

<div id="feed"></div>
<script type="text/javascript>
/* <![CDATA[*/
$('#feed').simplerss({url:'/rssfeed',wrapper:'span'});
/* ]]> */
</script>

Any+Time™ Datepicker/Timepicker AJAX Calendar Widget with Optional TimeZone Support

The Any+Time™ JavaScript Library includes a highly-customizable, jQuery-compatible datepicker/ timepicker (calendar/ clock widget) and a powerful Date/String parse/format utility. Use it to create a date/time picker with advanced features and options not found in other calendar/clock widgets:

DATE/TIME OPTIONS:

* 12-hour or 24-hour clock
* custom date/time format (countless possibilities, including JSON and XML)
* date-only, time-only, or specific fields!
* date/time range limits
* era-selection (BCE/CE, BC/AD, etc.)
* start week on any day (Sunday, Monday, etc.)
* custom base for 2-digit years (1900, 2000, etc.)
* UTC offsets/time zones

STYLING OPTIONS:

* custom labels/languages
* custom CSS styles
* jQuery UI Theming
* jQuery UI Theme Switcher
* jQuery ThemeRoller
* pop-up or always-present picker
* visible or hidden field

PROGRAMMER-FRIENDLY:

* easy to implement with only one statement
* easy AJAX validation
* easy Date/String conversion, including JSON and XML
* create multiple pickers at once
* easy removal
* easy to extend

USABILITY FEATURES:

* em-based relative-size
* single-click value selection
* WAI-ARIA 1.0 keyboard accessibility
* double-click select-and-dismiss

Use AnyTime.Converter to parse a String into a Date, or convert a Date to a String. Many format options are supported—in fact, most of the fields specified by the MySQL DATE_FORMAT() function!

jquery-dateFormat

If you liked this plugin, please, rate it

jquery-dateFormat it’s a jQuery Plugin that I made for formatting java.util.Date.toString output using JavaScript

http://download.oracle.com/javase/1.4.2/docs/api/java/util/Date.html#toS...
http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFor...

The source code for this plugin is available on http://github.com/phstc/jquery-dateFormat

Formatting using css classes

<span class="shortDateFormat">2009-12-18 10:54:50.546</span>
<span class="longDateFormat">2009-12-18 10:54:50.546</span>

output
#1 18/12/2009
#2 18/12/2009 10:54:50

Formatting using JavaScript

<script>
$.format.date("2009-12-18 10:54:50.546", "dd/MM/yyyy");
</script>

Expected input dates formats
#1 2009-12-18 10:54:50.546
#2 Wed Jan 13 10:43:41 CET 2010

Date and time patterns
yyyy = year
MM = month
dd = day
hh = hour in am/pm (1-12)
HH = hour in day (0-23)
mm = minute

Lumebox

The Lumebox is a Lightbox clone with a few added features. One of the main features is that it can parse RSS feeds just as easily as displaying images. The plugin searches the post or page for all links leading to images and opens them in a popup instead of following them.

The RSS parser that's built into the plugin is compatible with RSS and ATOM feeds and can be used on its own. It takes two parameters, the URL to parse and a function to execute when it has fetched and parsed the feed. Since it uses Ajax the URL must be local or go through a local proxy.

jParse

This plugin allows you to quickly and easily parse XML that has been fetched with the jQuery .ajax method. The plugin gives you custom output options, ability to limit the number of parsed, output a count of the number of in the XML and run a functions before and after parsing.

urlParser

This plugin contains urlParser class and $.urlParser object of this class suitable for parsing URLs.

Properties
* $.urlParser.protocol. Protocol part (i.e. "html:", "file:", "ftp:")
* $.urlParser.host. Host part (i.e. "jquery.com")
* $.urlParser.path. Path (i.e. "/mysection/mypage.html")
* $.urlParser.parameters. Parameters list of type Object
* $.urlParser.anchor. Anchor part (i.e. "#start")

Methods

* $.urlParser.parse(string url). Parses passed URL, changing protocol, host, path, parameters, anchor accordingly. Returns object of urlParser class.
* $.urlParser.assemble(). Assembles URL string from parts and returns it.
* $.urlParser.setBaseUrl(string url). Changes URL base.
* $.urlParser.resetBaseUrl. Reset url base to current document URL.

Examples
* $.urlParser.parse('http://jquery.com/docs/').host will return "jquery.com"
* $.urlParser.parse('/docs/').host will return current host