Codecanyon plugins and scripts

WP-Smartdate

WP-Smartdate looks for relative date expressions in your blog posts, such as “tomorrow,” “this coming Monday,” “last Friday,” looks at the current date, and computes what day you were referencing in plain old English. WP-Smartdate then puts a machine readable reference (like “2007-11-26”) in an abbr tag microformat.

Why Smartdate?

WP-Smartdate was created for three simple audiences:

  1. For the machine: While many professional information retrieval algorithms go far beyond the scope of this program, smartdate helps the process along by adding machine-readable tags to relative date expressions. In addition, these machine tags, in turn, help the human: a search on Google for “November 7th, 2007,” for example, will not pull up a document talking about “yesterday,” written on the 8th, but it will pull up the smartdate output of 2007-11-07.
  2. For the human reader: Blog posts are often written in the “now,” using relative time expressions without concern for how the text will be read in the future. WP-Smartdate makes such posts easier to read and comprehend temporally.
  3. For me: Because I think this sort of thing is fun!

Smartdate-compatible expressions

The following types of expressions are resolved with respect to the speech time–in WP-Smartdate’s case, the blog post date.

  1. simple references: “yesterday,” “today,” “tomorrow”
  2. next/last day of the week expressions: “this Friday,” “this past Saturday,” “this Monday”

For the future

  • static dates: “January 1st, 2007”
  • duration shift expressions: “5 days ago,” “fourscore and seven years ago”
  • day of the week shifts: “2 Fridays ago”
  • clean up the code!

Free Download: Download this wp-plugin

Codecanyon plugins

Best (wordpress) plugins and scripts for your site!

Visit codecanyon.net


Themeforest wordpress

Best (wordpress) themes and templates for your site!

Visit themeforest.net




Leave a Comment

Codecanyon plugins and scripts
3d tv's, ledtv's, plasmatv's en smarttv's Filmposters, muurposters, posters kopen Websites om te kopen en vergelijken