Monthly Archiv: December, 2010

Facebook Connect

Package:
Facebook Connect
Summary:
Authenticate Facebook users using Facebook Connect
Groups:
PHP 5, Social Networking, Web services
Author:
Huzoor Bux
Description:
This class can be used to authenticate Facebook users using Facebook Connect.

It displays a Facebook Connect button to let the users click and be lead to a Facebook page on which they may authorize your application to obtain access to the Facebook user accounts.

The user browser is redirected to a configurable page on which applications may access the authorized user account details.


Language System

Package:
Language System
Summary:
Let the user choose the application idiom
Groups:
Localization, PHP 5
Author:
Stanescu Mihai
Description:
This class can be used to let the user choose the application idiom.

It can scan a directory with files with texts to support different idioms and display a form select input to let the user choose the idiom he prefers from a list available idioms.

The chosen idiom can be stored in a cookie to let the class load the respective application idiom texts.


allowHTML

Package:
allowHTML
Summary:
Filter insecure HTML following OWASP AntiSamy
Groups:
HTML, Security, Validation
Author:
Simon Emery
Description:
This class can be used to filter insecure HTML following OWASP AntiSamy rules.

I can parse HTML documents using DOM document objects and then remove unsafe tags, attributes and CSS parameters.

It uses a configurable whitelist to determine which tags, attributes and CSS style parameters are allowed.

The class may also apply filtering rules defined in a separate AntiSamy XML rules file.


WordPress 3.0.3

WordPress 3.0.3 is available and is a security update for all previous WordPress versions.

This release fixes issues in the remote publishing interface, which under certain circumstances allowed Author- and Contributor-level users to improperly edit, publish, or delete posts.

These issues only affect sites that have remote publishing enabled.

Remote publishing is disabled by default, but you may have enabled it to use a remote publishing client such as one of the WordPress mobile apps. You can check these settings on the “Settings → Writing” screen.

Download 3.0.3 or update automatically from the “Dashboard → Updates” screen in your site’s admin area.

Benchmark Class

Example of usage of the class in my S-MVC framework
Package:
Benchmark Class
Summary:
Measure the time elapsed between two moments
Groups:
PHP 5, Testing, Time and Date
Author:
David Constantine
Description:
This class can be used to measure the time elapsed between two moments.

It can take note of a start time and an end time.

The class can return the time that elapsed between the start and end times in seconds.


text2timestamp

Package:
text2timestamp
Summary:
Parses and extract times from text
Groups:
PHP 5, Text processing, Time and Date
Author:
Igor Shevchuk
Description:
This class can be used to parses and extract times of English text.

It takes a text string to analyze and recognizes time based expressions. Currently it recognizes about 20 time format variations.

The class extracts the time mentioned in the text as well the remaining action text that is related to the time expression.

Here few examples
1. 6pm call mom
2. 6:30pm call mom
3. 6:19p call mom
4. 6p call mom
5. 6am call mom
6. 6a call mom
7. 2 hours call mom
8. 2 hrs call mom
9. 30 minutes call mom
10. 30 mins call mom
11. today at 6pm call mom – the next 6pm, if 6pm has already passed.
12. Saturday 6pm call mom – The next Saturday, if Saturday has already passed
13. tomorrow at 6pm – calculates tomorrow regardless if it’s after 6pm or not.


text2timestamp

Package:
text2timestamp
Summary:
Parses and extract times of English text
Groups:
PHP 5, Text processing, Time and Date
Author:
Igor Shevchuk
Description:
This class can be used to parses and extract times of English text.

It takes a text string to analyze and recognizes time based expressions. Currently it recognizes about 20 time format variations.

The class extracts the time mentioned in the text as well the remaining action text that is related to the time expression.


Powered by Gewgley