cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpogue <>
Subject [GitHub] cordova-lib pull request #453: Support a display name via config.xml
Date Sun, 05 Jun 2016 04:29:32 GMT
GitHub user dpogue opened a pull request:

    Support a display name via config.xml

    The W3C Widgets spec allows for a `short` attribute on the `<name>` element in config.xml,
which is to be used for a display name:
    This adds a new `shortName` function to ConfigParser, which will return the value of that
attribute, falling back to returning the content of the `<name>` element.
    The `setShortName` function will attempt to set the attribute on the `<name>` element
to the specified value. If the `<name>` element does not exist, it will be created with
both the text content and the `short` attribute having the specified value.
    I've updated the legacy/compat project metadata helpers here, and will open pull requests
against the  Platform API projects. I'm not entirely sure how to best approach that given
the API addition to ConfigParser. Maybe it's best to test for the existence of the `shortName`
function before calling it?

You can merge this pull request into a Git repository by running:

    $ git pull short-name

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #453
commit 785c3caafdd09cc5f0a9022d78663c8399575862
Author: Darryl Pogue <>
Date:   2016-06-05T03:34:51Z

    [CB-11120] Allow short/display name in config.xml
    This adds support for a "short" display name to be specified as an
    attribute of the `name` element in config.xml.
    This attribute is defined in the W3C Widgets spec, on which config.xml
    is loosely based:

commit 83f1a01b22d9e68130613d53a4a28eadc0d32a24
Author: Darryl Pogue <>
Date:   2016-06-05T04:20:11Z

    [CB-10916] Support display name for iOS & Android


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message