Wordpress Category external feed plugin

This wordpress plugin is for show custom external rss feed in category page.

For example if you want a category page list rss feed from another site category page, this is for you.

It is my first wordpress plugin (ok, maybe not exactly the very first hello world like ;)

It use simplepie because I like it. (it is included in package and license is almost compatible)

License: GPL
From an idea of: IM Evolution a SEO/SEM Company

Simplepie and CodeIgniter

yes, found: http://www.haughin.com/code/simplepie/
and tried with php 5.3 installation ... simply do not work

I recalled there was a problem in simplepie for assign new by reference, just downloaded newer code from http://simplepie.org/ ... still same problem.

So

{syntaxhighlighter brush:bash}
sed 's/=&\ new/=\ new/' simplepie.inc > Simplepie.php
{/syntaxhighlighter}

jquery Form Hint plugin (mine)

This is my view of form hint plugin: show a div over with the title content inside, instead of replace text in input elements and match it with placeholder
simply run $(selector).formHint() on all form element and title is used as hint


See also http://code.google.com/p/jquery-watermark/

shuffle db table order

simple code to shuffle a table ... with php shuffle:

$result = $mysql->query("SELECT id FROM $table ORDER BY id");
$rows = $result->num_rows;
$order = shuffle(range(1,$rows));
while($row=$result->fetch_row()) {
  $num=array_shift($order);
  $mysql->query("UPDATE $table SET rand_sort=$num WHERE id=".$row[0]);
}

added:
with MySQL RAND():

Ajax frontend for my backoffice in jQuery and PHP

This is my way to organize php for a simple jQuery frontend ajax based:

1.in a administration page include the php that generate html for each box
2.for each box setup behavior in Javascript
3.let each php manage POST request (for change/update) and GET request for show content


So in admin.php we could have something like that