This class can be used to manipulate text and other general purpose functions.
It can perform several types of operations to manipulate text strings and other functionality. Currently it can:
- Crop a text string up to a given limit number of characters
- Clean or replace certain types of characters from a string
- Convert text string between two character sets
- Detect string character set encoding
- Add quotes to a string
- Get an unique text string
- Check if a list of values is an empty string or has only not set values
- Check if a string begins, ends or contains another string
- Check if a string contains a separator of a given list
- Enclose text within HTML tags
- Encode text to display as HTML
- Output text code for executing as JavaScript
- Output headers or HTML tags to redirect users to another page
- Format values as money amounts or floating point numbers
- Output headers to disable browser cache
- Parse an URL
- Create an anchor link
- Validate e-mail addresses
- Send an e-mail message
- List files and directories within a directory
- Format dates
- Convert month numbers to month names
- Parse dates
- Compute the difference between two dates
This class can be used to retrieve weather information from Google.
It can send a request to Google Weather Web services API to retrieve weather information for a given location or for Kosovo if not location was specified
The class can return the current and forecast conditions and temperatures.
This class can be used to Split a file into multiple files with a limited number of lines.
It reads a file and counts its lines. If the file has more than a given limit of lines, the class generates multiple files, each with no more than the limit of lines.
The split files have a different file name prefix that is configurable.
Arm your vuvuzelas: WordPress 3.0, the thirteenth major release of WordPress and the culmination of half a year of work by 218 contributors, is now available for download (or upgrade within your dashboard). Major new features in this release include a sexy new default theme called Twenty Ten. Theme developers have new APIs that allow them to easily implement custom backgrounds, headers, shortlinks, menus (no more file editing), post types, and taxonomies. (Twenty Ten theme shows all of that off.) Developers and network admins will appreciate the long-awaited merge of MU and WordPress, creating the new multi-site functionality which makes it possible to run one blog or ten million from the same installation. As a user, you will love the new lighter interface, the contextual help on every screen, the 1,217 bug fixes and feature enhancements, bulk updates so you can upgrade 15 plugins at once with a single click, and blah blah blah just watch the video. (In HD, if you can, so you can catch the Easter eggs.)
If you’d like to embed the WordPress 3.0 video tour in your blog, copy and paste this code for the high quality version:
For a more comprehensive look at everything that has improved in 3.0 check out 3.0′s Codex page or the long list of issues in Trac. (We’re trying to keep these announcement posts shorter.) Whew! That’s a lot packed into one release. I can’t think of a better way to kick off the 3.X cycle we’ll be in for the next two and a half years.
The Future
Normally this is where I’d say we’re about to start work on 3.1, but we’re actually not. We’re going to take a release cycle off to focus on all of the things around WordPress. The growth of the community has been breathtaking, including over 10.3 million downloads of version 2.9, but so much of our effort has been focused on the core software it hasn’t left much time for anything else. Over the next three months we’re going to split into ninja/pirate teams focused on different areas of the around-WordPress experience, including the showcase, Codex, forums, profiles, update and compatibility APIs, theme directory, plugin directory, mailing lists, core plugins, wordcamp.org… the possibilities are endless. The goal of the teams isn’t going to be to make things perfect all at once, just better than they are today. We think this investment of time will give us a much stronger infrastructure to grow WordPress.org for the many tens of millions of users that will join us during the 3.X release cycle.
It Takes a Village
I’m proud to acknowledge the contributions of the following 218 people to the 3.0 release cycle. These are the folks that make WordPress what it is, whose collaboration and hard work enable us to build something greater than the sum of our parts. In alphabetical order, of course.
If you’ve made it this far, check out my 2010 State of the Word speech at WordCamp San Francisco, it’s jam-packed with information on the growth of WordPress, 3.0, what we’re planning for the future, and the philosophy of WordPress.