Tag Archive for 'Generator'

Important Update: Google (XML) Sitemaps Generator with qTranslate support (Version 3.1.6.3)

wordpress-logo-notext-rgb[1]

I’ve just released the version 3.1.6.3 of the Google (XML) Sitemaps Generator with qTranslate Support WordPress Plugin.

Two important things have been fixed:

  • Support for blogs without qTranslate (it won’t give fatal errors anymore)
  • Correct naming of the plugin in the WordPress Repository (as “Google XML Sitemaps with qTranslate Support”). The incorrect naming may cause the ones who have downloaded previous versions of the plugins to get updated to the original version (the one that does not support qTranslate).

I really recommend updating since you may not receive the notifications for this version of the plugin but for the original one (which does not support qTranslate).

You can download the latest version from the original post page:

Incoming search terms for the article:

Google (XML) Sitemaps Generator with qTranslate support now available at the WordPress Repository

wordpress-logo-notext-rgb[1]

Just to make the things easier for the ones using the Google (XML) Sitemaps Generator with qTranslate Support WordPress Plugin, I’ve just released it in the WordPress repository as “google-xml-sitemaps-with-qtranslate-support“.

This enables you to get easily notified when a new version is available and to use the automatic updating feature (from the WordPress admin panel).

You can download the latest version from the original post page:

Incoming search terms for the article:

Updated: qTranslate support for the Google (XML) Sitemaps Generator WordPress Plugin 3.1.6 (2nd Release)

wordpress-logo-notext-rgb[1]

Although, as I said in the original post, I had not originally written the code modifications to enable the qTranslate support for the Google (XML) Sitemaps Generator WordPress Plugin, I decided to make some corrections myself to do the following things:

  • Home page now appears in the different languages in the sitemap.
  • Entries not written in the default language do not appear anymore in the sitemap. Now, just the written languages appear. (Thanks Blutarsky for notifying the bug)

The updated code modifications and the new download version are in the original post:

Incoming search terms for the article:

qTranslate support for the Google (XML) Sitemaps Generator WordPress Plugin

wordpress-logo-notext-rgb[1]

Some time ago, Qian Qin, the author of qTranslate, has published what should be modified on the Google (XML) Sitemaps Generator WordPress Plugin to make it support qTranslate.

However, this has never reached any of the releases of this plugin. (Qian Qin says he sent an e-mail to the author and I’ve done it myself, with no response).

So, I’m going to publish what should be modified on the plugin (for the ones who may want to do them themselves) and then, leave the link to download the modified version I prepared. I’ll be updating it for each new release.

Update: I’ve made some code corrections myself to include the different translations of the home page and not to include the entries not written in the default language (just include the written languages). The download and the code snippets have been updated to reflect the changes. If you wish more details, please go to the post of the update.

Update (2009-09-30): I’ve updated the naming of the plugin at the WordPress repository and the support for blogs without qTranslate installed. For releases before the 3.1.6.3, you may get notified for the original version updates (and not for this version supporting qTranslate), so I really recommend updating. If you wish more details, please go to the post of the update.

Keep reading…

Incoming search terms for the article:

PHP random password generator

As a new sequel to the Excel random password generator and the Random password generator, I’ve made a PHP random password generator service…

You can call it this way (if you hover the parameter values, you’ll get an explanation):

http://www.neoegm.com/services/random_password.php?length=8&upper=1&lower=1&numbers=1

So, for example, to generate a 10 characters numeric password you could access:

http://www.neoegm.com/services/random_password.php?length=10&upper=0&lower=0

Want the source code?

Incoming search terms for the article:

Random password generator

As an easy and quick to use alternative to the Excel random password generator, I’ve made this online Javascript adaptation of the random password generation function code… You can watch its source code below…

Characters


Uppercase Lowercase Numbers

Random Password


GNU GPL v3The code is licensed under the GNU GPL v3



Just in case you want to see the function code without looking into the source code:

/*************************************************************************************************
Random Password Generator by NeoEGM

Copyright (C) 2009 Ezequiel Gastón Miravalles

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*************************************************************************************************/

/*************************************************************************************************
Software: Random Password Generator by NeoEGM
Author: Ezequiel Gastón Miravalles
Website: http://www.neoegm.com/software/random-password-generator/
License: GNU GPL v3 (read above)
*************************************************************************************************/

function RandomPassword(Length, Upper, Numbers, Lower)
{
	Upper = typeof(Upper) != 'undefined' ? Upper : true;
	Numbers = typeof(Numbers) != 'undefined' ? Numbers : true;
	Lower = typeof(Lower) != 'undefined' ? Lower : true;
	
    if (!Upper && !Lower && !Numbers)
		return "";

    var Ret = "";
    var Num;
    var Repeat;

    Chars = 26 * 2 + 10;	//26 (a-z) + 26 (A-Z) + 10 (0-9)
	//a-z = 97-122
	//A-Z = 65-90
	//0-9 = 48-57

    for (i = 1; i <= Length; i++)
	{
        Repeat = false;

        Num = Math.floor(Math.random()*Chars);

        if (Num < 26)
            if (Lower)
                Ret = Ret + String.fromCharCode(Num + 97);
            else
                Repeat = true;
        else if (Num < 52)
            if (Upper)
                Ret = Ret + String.fromCharCode(Num - 26 + 65);
            else
                Repeat = true;
        else if (Num < 62)
            if (Numbers)
                Ret = Ret + String.fromCharCode(Num - 52 + 48);
            else
                Repeat = true;

        if (Repeat)
            i--;
	}

    return Ret;
}

Incoming search terms for the article:

Excel random password generator

Sometimes you may have to generate automatically different random passwords. This could be a very easy task if you just had an Excel function like “RandomPassword”, so you could write:

=RandomPassword(8)

And get something like:

e8NwB9Bi

Well, this is exactly the idea of the Add-In I’ve made…

Random Password

If this isn’t what you’re looking for, as an alternative, you can visit the online random password generator.

Keep reading…

Incoming search terms for the article: